Fix i386/x86_64 log10l (sNaN) (bug 20228).
[glibc.git] / ChangeLog
blob42d296c93e3956f17a19ceb09152bcbf3b43ee3f
1 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #20228]
4         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
5         itself.
6         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7         * math/libm-test.inc (log10_test_data): Add sNaN tests.
9         [BZ #20227]
10         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
11         itself.
12         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14         * math/libm-test.inc (log_test_data): Add sNaN tests.
16         [BZ #20226]
17         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
18         itself.
19         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20         * math/libm-test.inc (exp_test_data): Add sNaN tests.
21         (exp10_test_data): Likewise.
22         (expm1_test_data): Likewise.
24         [BZ #20225]
25         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
26         itself.
27         * math/s_ldexpf.c (__ldexpf): Likewise.
28         * math/s_ldexpl.c (__ldexpl): Likewise.
29         * math/w_scalbln.c (__w_scalbln): Likewise.
30         * math/w_scalblnf.c (__w_scalblnf): Likewise.
31         * math/w_scalblnl.c (__w_scalblnl): Likewise.
32         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
33         (scalbln_test_data): Likewise.
35         [BZ #20224]
36         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
37         argument to itself.
38         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
40 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
42         [BZ #19776]
43         * sysdeps/x86_64/memcpy.S: Make it dummy.
44         * sysdeps/x86_64/mempcpy.S: Likewise.
45         * sysdeps/x86_64/memmove.S: New file.
46         * sysdeps/x86_64/memmove_chk.S: Likewise.
47         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
48         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
49         * sysdeps/x86_64/memmove.c: Removed.
50         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
51         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
52         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
53         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
54         Likewise.
55         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
56         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
58         memcpy-sse2-unaligned, memmove-avx-unaligned,
59         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
60         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
61         (__libc_ifunc_impl_list): Replace
62         __memmove_chk_avx512_unaligned_2 with
63         __memmove_chk_avx512_unaligned.  Remove
64         __memmove_chk_avx_unaligned_2.  Replace
65         __memmove_chk_sse2_unaligned_2 with
66         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
67         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
68         with __memmove_avx512_unaligned.  Replace
69         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
70         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
71         with __memcpy_chk_avx512_unaligned.  Remove
72         __memcpy_chk_avx_unaligned_2.  Replace
73         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
74         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
75         Replace __memcpy_avx512_unaligned_2 with
76         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
77         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
78         with __mempcpy_chk_avx512_unaligned.  Remove
79         __mempcpy_chk_avx_unaligned_2.  Replace
80         __mempcpy_chk_sse2_unaligned_2 with
81         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
82         Replace __mempcpy_avx512_unaligned_2 with
83         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
84         Replace __mempcpy_sse2_unaligned_2 with
85         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
86         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
87         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
88         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
89         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
90         (ENTRY): Removed.
91         (END): Likewise.
92         (ENTRY_CHK): Likewise.
93         (libc_hidden_builtin_def): Likewise.
94         Don't include ../memcpy.S.
95         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
96         __memcpy_chk_avx512_unaligned_erms and
97         __memcpy_chk_avx512_unaligned.  Use
98         __memcpy_chk_avx_unaligned_erms and
99         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
100         Default to __memcpy_chk_sse2_unaligned.
101         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
102         Change function suffix from unaligned_2 to unaligned.
103         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
104         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
105         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
106         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
107         (ENTRY): Removed.
108         (END): Likewise.
109         (ENTRY_CHK): Likewise.
110         (libc_hidden_builtin_def): Likewise.
111         Don't include ../mempcpy.S.
112         (mempcpy): New.  Add a weak alias.
113         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
114         __mempcpy_chk_avx512_unaligned_erms and
115         __mempcpy_chk_avx512_unaligned.  Use
116         __mempcpy_chk_avx_unaligned_erms and
117         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
118         Default to __mempcpy_chk_sse2_unaligned.
120 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
122         [BZ #19881]
123         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
124         into ...
125         * sysdeps/x86_64/memset.S: This.
126         (__bzero): Removed.
127         (__memset_tail): Likewise.
128         (__memset_chk): Likewise.
129         (memset): Likewise.
130         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
131         defined.
132         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
133         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
134         (__memset_zero_constant_len_parameter): Check SHARED instead of
135         PIC.
136         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
137         memset-avx2 and memset-sse2-unaligned-erms.
138         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
139         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
140         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
141         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
142         (__bzero): Enabled.
143         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
144         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
145         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
146         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
147         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
148         (memset): Removed.
149         (__memset_chk): Likewise.
150         (MEMSET_SYMBOL): New.
151         (libc_hidden_builtin_def): Replace __memset_sse2 with
152         __memset_sse2_unaligned.
153         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
154         __memset_chk_sse2 and __memset_chk_avx2 with
155         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
156         Use __memset_chk_sse2_unaligned_erms or
157         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
158         __memset_chk_avx512_unaligned_erms and
159         __memset_chk_avx512_unaligned.
161 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
163         * math/gen-auto-libm-test.c (fp_format_desc): remove
164         suffix member.
165         (output_generic_value): Remove usage of suffix member,
166         and the resulting unuse of the fp_format argument.
167         (output_for_one_input_case): Remove unused fp_format
168         parameter.
170         * math/auto-libm-test-out: Regenerate.
172         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
173         usage with TEST_COND_ibm128.
174         (TEST_COND_flt_32): Remove.
175         (TEST_COND_dbl_64): Remove.
176         (TEST_COND_ldbl_96_intel): Remove.
177         (TEST_COND_ldbl_96_m68k): Remove.
178         (TEST_COND_ldbl_128): Remove.
180 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
182         * auto-libm-test-in:
183         Replace flt-32 usage with binary32.
184         Replace dbl-64 usage with binary64.
185         Replace ldbl-intel-96 usage with intel96.
186         Replace ldbl-m68k-96 usage with m68k96.
187         Replace ldbl-128ibm usage with ibm128.
188         Replace ldbl-128 usage with binary128.
190         * auto-libm-test-out: Regenerate.
192 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
194         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
195         (parse_ulps): Dynamically generate type name matching
196         string from all_floats.
197         (get_ulps): Generate the ulps as an array instead.
198         (output_ulps): Dynamically compose the type based
199         on the number of supported formats, and print
200         the indices as type specific helper macros.
202         * math/libm-test.inc: Remove comment about CHOOSE.
203         (ulp_data): Generate the type in libm-test-ulps.h.
204         (ULP_IDX): New macro.
205         (find_ulps): Update usage of max_ulp.
207         * math/test-double-vlen2.h (CHOOSE): Remove.
208         * math/test-double-vlen4.h (CHOOSE): Likewise.
209         * math/test-double-vlen8.h (CHOOSE): Likewise.
210         * math/test-float.c (CHOOSE): Likewise.
211         * math/test-float-finite.c (CHOOSE): Likewise.
212         * math/test-double.c (CHOOSE): Likewise.
213         * math/test-double-finite.c (CHOOSE): Likewise.
214         * math/test-idouble.c (CHOOSE): Likewise.
215         * math/test-ifloat.c (CHOOSE): Likewise.
216         * math/test-ildoubl.c (CHOOSE): Likewise.
217         * math/test-ldouble-finite.c (CHOOSE): Likewise.
218         * math/test-ldouble.c (CHOOSE): Likewise.
220         * math/test-float.h (TEST_FLOAT): Remove.
221         * math/test-double.h (TEST_DOUBLE): Likewise.
222         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
224 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
226         * math/gen-libm-test.pl: (apply_lit): New subroutine.
227         (parse_args): Strip C suffix from floating point literals
228         typed with 'f' and wrap them with LIT().
230         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
231         (test_ff_f_data_nexttoward): Rename to
232         (test_fj_f_data): New struct.
233         (nexttoward_test_data): Relabel tests as
234         TEST_fj_f instead of TEST_ff_f.
236 2016-06-08  Florian Weimer  <fweimer@redhat.com>
238         Emacs bug 23726.
239         * malloc/malloc.c (dumped_main_arena_start): Update comment.
240         (__libc_realloc): Correct size computation for dumped fake mmapped
241         chunks.
243 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
245         [BZ #20219]
246         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
247         to itself.
248         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
250         [BZ #20218]
251         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
252         to itself.
253         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
255 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
257         [BZ #20195]
258         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
259         check to ...
260         (init_cpu_features): Here.
262 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
264         [BZ #20214]
265         * sysdeps/unix/sysv/linux/bits/in.h
266         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
267          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
268         Define to 1.
269         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
270          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
271         Define to 0.
272         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
273         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
275 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
277         [BZ #20198]
278         * stdlib/Makefile (tests): Add tst-quick_exit, and
279         tst-thread-quick_exit.
280         [ifeq ($(have-cxx-thread_local),yes)]
281         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
282         (CFLAGS-tst-thread-quick_exit.o): Likewise.
283         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
284         (LDLIBS-tst-thread-quick_exit): Likewise.
285         [ifneq ($(have-cxx-thread_local),yes)]
286         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
287         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
288         If run_dtors is true call __call_tls_dtors.
289         (exit): Call __run_exit_handlers with run_dtors set to true.
290         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
291         definition.
292         * stdlib/quick_exit.c (quick_exit): Remove function.
293         (__new_quick_exit): New function.
294         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
295         function.
296         * stdlib/tst-quick_exit.cc: New file.
297         * stdlib/tst-thread-quick_exit.cc: New file.
298         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
299         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
300         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
301         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
302         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
303         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
304         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
305         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
306         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
307         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
308         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
309         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
310         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
311         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
312         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
313         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
318         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
319         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
320         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
321         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
322         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
325         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
326         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
327         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
329 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
331         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
332         a typo in comments.
334 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
336         [BZ #20213]
337         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
338         argument to itself.
339         * math/libm-test.inc (asin_test_data): Add sNaN tests.
341 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
343         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
344         required flags.
345         (CFLAGS-pwritev64.c): Likewise.
346         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
347         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
348         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
349         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
350         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
351         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
352         syscall from auto-generation.
353         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
354         [WORDSIZE == 64] (pwritev64): Remove macro.
355         [!PWRITEV] (PWRITEV): Likewise.
356         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
357         [!PWRITEV] (PWRITE): Likewise.
358         [!PWRITEV] (OFF_T): Likewise.
359         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
360         (LO_HI_LONG): Remove macro.
361         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
362         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
363         (PWRITEV): Remove macro.
364         (PWRITEV_REPLACEMENTE): Likewise.
365         (PWRITE): Likewise.
366         (OFF_T): Likewise.
367         (pwritev64): New function.
368         * nptl/tst-cancel4.c (tf_writev): Add test.
370         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
371         required flags.
372         (CFLAGS-preadv64.c): Likewise.
373         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
374         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
375         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
376         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
377         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
378         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
379         syscall from auto-generation.
380         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
381         [WORDSIZE == 64] (preadv64): Remove macro.
382         [!PREADV] (PREADV): Likewise.
383         [!PREADV] (PREADV_REPLACEMENT): Likewise.
384         [!PREADV] (PREAD): Likewise.
385         [!PREADV] (OFF_T): Likewise.
386         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
387         (LO_HI_LONG): Remove macro.
388         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
389         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
390         (PREADV): Remove macro.
391         (PREADV_REPLACEMENTE): Likewise.
392         (PREAD): Likewise.
393         (OFF_T): Likewise.
394         (preadv64): New function.
395         * nptl/tst-cancel4.c (tf_preadv): Add test.
397 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
399         [BZ #20212]
400         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
401         argument to itself.
402         * math/libm-test.inc (acos_test_data): Add sNaN tests.
404 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
406         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
407         New symbol defined as libc_hidden_def.
408         (strcasestr): Became a weak alias to __strcasestr.
409         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
410         according to multi-arch support.  Move __stpncpy hidden
411         definition from here to...
412         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
413         symbol stpncpy.
414         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
415         libc_hidden_builtin_def.
416         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
417         memset symbol to use when multi-arch support is available.
419 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
421         * dlfcn/tst-rec-dlopen.c: Include string.h.
423 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
425         * manual/install.texi: Remove mention of --without-tls
426         * INSTALL: Regenerate.
428 2016-06-05  Florian Weimer  <fweimer@redhat.com>
430         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
431         Remove.
432         (call_function, interposed_malloc_called): New variables.
433         (malloc): New function.
434         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
435         and clear call_function as needed.
437 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
439         * include/wchar.h (__wmemset): Use __typeof.
441 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
443         * include/wchar.h (__wmemset): Declare function without typeof.
445 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
447         [BZ #20205]
448         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
449         exponent when incrementing negative subnormal with low mantissa
450         word zero.
451         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
452         Add another test.
454 2016-06-03  Florian Weimer  <fweimer@redhat.com>
456         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
457         __wmemset instead of wmemset.
459 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
461         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
462         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
463         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
464         __USE_KERNEL_IPV6_DEFS to 0.
465         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
466         Update comment.
468 2016-06-01  Florian Weimer  <fweimer@redhat.com>
470         [BZ #19861]
471         Do not use IFUNC resolver with potentially unrelocated symbol.
472         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
473         (DEFINE_FORK): Remove macro and inline definition.
474         (fork_alias): Renamed from fork_ifunc.
475         (__fork_alias): Renamed from __fork_ifunc.
477 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
479         [BZ 19653]
480         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
481         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
483 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
485         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
486         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
487         i386-linux-gnu).
488         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
489         Set to no.
490         * sysdeps/mach/hurd/configure: Refresh.
492 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
494         [BZ #20178]
495         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
496         on failure instead of exit.
498 2016-05-30  Roland McGrath  <roland@hack.frob.com>
500         [BZ #3629]
501         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
502         of POSIX.1-2008.
504 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
506         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
507           Use PLT entry for calling _hurd_self_sigstate.
509 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
511         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
512         available logical processors with SMT level type sharing L2
513         cache for Intel processors.
515 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
517         [BZ #20160]
518         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
519         argument to itself before returning the result.
520         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
521         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
522         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
523         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
524         Likewise.
525         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
526         Likewise.
527         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
528         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
529         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
530         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
531         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
532         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
534         [BZ #20160]
535         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
536         argument to itself before returning the result.
537         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
538         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
539         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
540         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
541         Likewise.
542         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
543         Likewise.
544         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
545         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
546         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
547         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
548         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
549         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
551 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
553         * libm-test.inc: Replace usage of M_El with
554         (lit_e): New macro.
556 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
558         * libm-test.inc: Replace usage of M_PI_4l with
559         (lit_pi_4_d): New macro.
561 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
563         * libm-test.inc: Replace usage of M_PIl with
564         (lit_pi): New macro.
566 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
568         * libm-test.inc: Replace usage of M_PI2l with
569         (lit_pi_2_d): New macro.
571         * math/test-double.h (LITM): New macro.
572         * math/test-float.h (LITM): Likewise.
573         * math/test-ldouble.h (LITM): Likewise.
575 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
577         * libm-test.inc (M_PI_34l): Rename to
578         (lit_pi_3_m_4_d): New Macro.
579         (M_PI_34_LOG10El): Rename to
580         (lit_pi_3_m_4_ln10_m_d): New Macro.
581         (M_PI2_LOG10El): Rename to
582         (lit_pi_2_ln10_m_d):  New Macro.
583         (M_PI4_LOG10El): Rename to
584         (lit_pi_4_ln10_m_d):  New Macro.
585         (M_PI_LOG10El): Rename to
586         (lit_pi_ln10_d):  New Macro.
588 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
590         [BZ #20157]
591         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
592         determine whether to negate low half if [_ARCH_PPCGR], and integer
593         comparison otherwise.
594         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
595         determine whether to negate low half.
597         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
598         (NO_TEST_INLINE_DOUBLE): Likewise.
599         (TEST_COND_x86_64): Likewise.
600         (TEST_COND_x86): Likewise.
601         (M_PI_6l): Likewise.
603 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
605         * math/libm-test.inc:
606         (TEST_FLOAT): Change usage to TEST_COND_binary32.
607         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
608         (TEST_LDOUBLE): Update usage to evaluate as true if
609         the guarded tests match the property being tested.
610         (LDBL_MAX_EXP): Change to MAX_EXP.
611         (LDBL_MIN_EXP): Change to MIN_EXP.
612         (LDBL_MANT_DIG): Change to MANT_DIG, except for
613         nexttoward tests.
615 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
617         * math/libm-test.inc:
618         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
619         (TYPE_MIN): Likewise.
620         (TYPE_TRUE_MIN): Likewise.
621         (TYPE_MAX): Likewise.
622         (MIN_EXP): Likewise.
623         (MAX_EXP): Likewise.
624         (MANT_DIG): Likewise.
626         (FSTR_MAX): New macro.
627         (__CONCATX): Likewise.
628         (QTYPE_STR): Likewise.
629         (TEST_COND_binary32): Likewise.
630         (TEST_COND_binary64): Likewise.
631         (TEST_COND_binary128): Likewise.
632         (TEST_COND_ibm128): Likewise.
633         (TEST_COND_intel96): Likewise.
634         (TEST_COND_m68k96): Likewise.
636         (TEST_COND_flt_32): Redefine as equivalent format test macro.
637         (TEST_COND_dbl_64): Likewise.
638         (TEST_COND_ldbl_96_intel): Likewise.
639         (TEST_COND_ldbl_96_m68k): Likewise.
640         (TEST_COND_ldbl_128): Likewise.
641         (TEST_COND_ldbl_128ibm): Likewise.
643         (plus_zero): Redefine using LIT macro.
644         (minus_zero): Likewise.
645         (plus_infty): Redefine as (INF).
646         (minux_infty): Redefine as (-INF).
647         (max_value): Redefine as TYPE_MAX.
648         (min_value): Redefine as TYPE_MIN.
649         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
651         (print_float): Refactor to use snprintf to convert FLOAT values
652         to string. This brings it closer to dropin replacement of strtof
653         for the TS 18661 defined types.
654         (update_stats): Likewise.
655         (print_complex_function_ulps): Likewise.
656         (print_max_error): Likewise.
657         (print_complex_max_error): Likewise.
658         (check_float_internal): Likewise.
660         * math/test-float.h (PREFIX): New macro.
661         (LIT): Likewise.
662         (TYPE_STR): Likewise.
663         (FTOSTR): Likewise.
665         * math/test-double.h (PREFIX): New macro.
666         (LIT): Likewise.
667         (TYPE_STR): Likewise.
668         (FTOSTR): Likewise.
670         * math/test-ldouble.h (PREFIX): New macro.
671         (LIT): Likewise.
672         (TYPE_STR): Likewise.
673         (FTOSTR): Likewise.
675 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
677         [BZ #20156]
678         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
679         to itself when zero or not finite.
680         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
681         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
682         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
683         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
685 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
687         [BZ #20153]
688         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
689         x * x + x for infinities and NaNs.
691         [BZ #20151]
692         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
693         argument to itself before returning result.
694         (__ieee754_y0l): Likewise.
695         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
696         (__ieee754_y1l).
698         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
699         (atan_test_data): Likewise.
700         (ceil_test_data): Likewise.
701         (cos_test_data): Likewise.
702         (cosh_test_data): Likewise.
703         (erf_test_data): Likewise.
704         (exp2_test_data): Likewise.
705         (fabs_test_data): Likewise.
706         (floor_test_data): Likewise.
707         (ilogb_test_data): Likewise.
708         (j0_test_data): Likewise.
709         (j1_test_data): Likewise.
710         (jn_test_data): Likewise.
711         (lgamma_test_data): Likewise.
712         (lrint_test_data): Likewise.
713         (llrint_test_data): Likewise.
714         (logb_test_data): Likewise.
715         (lround_test_data): Likewise.
716         (llround_test_data): Likewise.
717         (nearbyint_test_data): Likewise.
718         (rint_test_data): Likewise.
719         (round_test_data): Likewise.
720         (sin_test_data): Likewise.
721         (sincos_test_data): Likewise.
722         (sinh_test_data): Likewise.
723         (sqrt_test_data): Likewise.
724         (tan_test_data): Likewise.
725         (tanh_test_data): Likewise.
726         (tgamma_test_data): Likewise.
727         (trunc_test_data): Likewise.
728         (y0_test_data): Likewise.
729         (y1_test_data): Likewise.
730         (yn_test_data): Likewise.
732         * math/libm-test.inc: Update comment about NaN testing.
733         (TEST_SNAN): New macro.
734         (snan_value): Likewise.
735         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
736         (fpclassify_test_data): Add sNaN tests.
737         (isfinite_test_data): Likewise.
738         (isinf_test_data): Likewise.
739         (isnan_test_data): Likewise.
740         (isnormal_test_data): Likewise.
741         (issignaling_test_data): Likewise.
742         (signbit_test_data): Likewise.
743         * math/gen-libm-test.pl (%beautify): Add snan_value.
744         (show_exceptions): Add argument $test_snan.
745         (parse_args): Handle snan_value as non-finite.  Update call to
746         show_exceptions.
747         * math/Makefile (libm-test-no-inline-cflags): Add
748         -fsignaling-nans.
750 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
752         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
753         (CFLAGS-oldsendmsg.c): Add rule.
754         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
755         Correct recvmsg symbol name.
756         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
757         Likewise.
759 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
761         * sysdeps/unix/sysv/linux/Makefile
762         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
763         oldsendmmsg.
764         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
765         sendmmsg.
766         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
767         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
768         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
769         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
771         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
772         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
774         Likewise.
775         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
776         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
777         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
778         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
779         iovlen and controllen fields to adjust to POSIX specification.
780         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
782         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
783         and change to correct expected type.
784         (msghdr.msg_controllen): Likewise.
785         (cmsghdr.cmsg_len): Likewise.
786         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
787         expected POSIX assumption about the size.
788         (msghdr.msg_controllen): Likewise.
789         (msghdr.__glibc_reserved1): Likewise.
790         (msghdr.__glibc_reserved2): Likewise.
791         (cmsghdr.cmsg_len): Likewise.
792         (cmsghdr.__glibc_reserved1): Likewise.
793         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
794         Add ptw-oldrecvmsg and ptw-oldsendmsg.
795         (CFLAGS-sendmsg.c): Remove rule.
796         (CFLAGS-recvmsg.c): Likewise.
797         (CFLAGS-oldsendmsg.c): Add rule.
798         (CFLAGS-oldrecvmsg.c): Likewise.
799         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
800         recvmsg and sendmsg.
801         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
802         Likewise.
803         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
804         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
805         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
806         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
807         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
808         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
809         Likewise.
810         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
811         Likewise.
812         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
813         Likewise.
814         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
815         Likewise.
816         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
817         Likewise.
818         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
819         Likewise.
820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
821         (GLIBC_2.24): Likewise.
822         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
823         Likewise.
824         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
825         Likewise.
826         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
827         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
828         Likewise.
829         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
830         Likewise.
831         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
832         Likewise.
833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
834         (GLIBC_2.24): Likewise.
835         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
836         Likewise.
837         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
838         Likewise.
839         * sysdeps/unix/sysv/linux/Makefile
840         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
841         (CFLAGS-sendmsg.c): Add rule.
842         (CFLAGS-recvmsg.c): Likewise.
843         (CFLAGS-oldsendmsg.c): Likewise.
844         (CFLAGS-oldrecvmsg.c): Likewise.
845         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
846         initialization.
847         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
848         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
849         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
850         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
851         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
852         iovlen and controllen fields to adjust to POSIX specification.
853         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
854         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
855         added recvmsg and sendmsg.
856         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
857         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
858         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
859         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
860         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
861         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
862         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
863         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
864         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
865         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
866         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
867         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
869         Likewise.
870         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
872         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
873         Likewise.
874         Likewise.
875         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
876         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
877         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
878         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
879         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
880         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
882         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
884         Likewise.
885         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
886         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
888         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
889         from auto-generation.
890         (sendmsg): Likewise.
891         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
892         (sendmsg): Likewise.
893         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
894         (sendmsg): Likewise.
895         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
896         (sendmsg): Likewise.
897         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
898         (sendmsg): Likewise.
899         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
900         (sendmsg): Likewise.
901         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
902         Likewise.
903         (sendmsg): Likewise.
904         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
905         (sendmsg): Likewise.
906         * sysdeps/unix/sysv/linux/i386/kernel-features.h
907         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
908         Remove.
909         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
910         Likewise.
911         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
912         Undefine.
913         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
914         Likewise.
915         * sysdeps/unix/sysv/linux/kernel-features.h
916         (__ASSUME_SENDMSG_SYSCALL): Define.
917         (__ASSUME_RECVMSG_SYSCALL): Likewise.
918         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
919         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
920         Remove.
921         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
922         Likewise.
923         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
924         Undefine.
925         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
926         Likewise.
927         * sysdeps/unix/sysv/linux/s390/kernel-features.h
928         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
929         Remove.
930         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
931         Likewise.
932         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
933         Undefine.
934         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
935         Likewise.
936         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
937         (__ASSUME_SENDMSG_SYSCALL): Undefine.
938         (__ASSUME_RECVMSG_SYSCALL): Likewise.
939         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
940         (__ASSUME_SENDMSG_SYSCALL): Likewise.
941         (__ASSUME_RECVMSG_SYSCALL): Likewise.
942         * sysdeps/unix/sysv/linux/sh/kernel-features.h
943         (__ASSUME_SENDMSG_SYSCALL): Likewise.
944         (__ASSUME_RECVMSG_SYSCALL): Likewise.
946 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
948         * stdlib/gen-tst-strtod-round.c: Add backslash to
949         compile command in comment.
950         (printfp): Remove the literal suffix, and define an infinite
951         value as INF to avoid expansion clash with INFINITY.
952         (round_str): Remove the literal suffix.
953         (round_for_all): Likewise, remove the now duplicate ldbl-64
954         entry, and remove some magic constants.
956         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
957         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
958         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
959         (_CONCAT): New macro.
960         (CONCAT): Likewise.
961         (CHOOSE_ld): Likewise.
962         (CHOOSE_f): Likewise.
963         (CHOOSE_d): Likewise.
964         (FTYPE_MEMBER): Likewise.
965         (BOOL_MEMBER): Likewise.
966         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
967         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
968         (_XNTRY): Likewise.
969         (XNTRY): Likewise.
970         (_ENTRY): Likewise.
971         (ENTRY): Likewise.
972         (test_exactness): Generate members via macro.
973         (test_results): Likewise.
974         (test): Update members.
975         (TEST): Redefine using new macros.
976         (INF): New macro.
977         (fetestmodes): New structure.
978         (do_test): Refactor to be type generic.
979         (test_in_one_mode): Refactor duplicate code into
980         (GEN_ONE_TEST): New macro.
982         * stdlib/tst-strtod-round-data.h: Regenerate.
984         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
985         Extend to pass additional arbitrary parameters to
986         generators.
988 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
990         [BZ #15479]
991         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
992         floating-point state after first floating-point operation on
993         input.  Restore full floating-point state instead of just rounding
994         mode.
995         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
996         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
997         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
998         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
999         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1001         [BZ #15479]
1002         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
1003         floating-point state after first floating-point operation on
1004         input.  Restore full floating-point state instead of just rounding
1005         mode.
1006         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1007         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1008         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1009         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1010         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1012 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1014         [BZ #19727]
1015         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
1016         valid high surrogate.
1017         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
1018         of an utf16 surrogate.
1019         * iconv/gconv_simple.c (BODY): Likewise.
1020         * iconvdata/bug-iconv12.c: New file.
1021         * iconvdata/Makefile (tests): Add bug-iconv12.
1023 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1025         [BZ #19726]
1026         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
1027         outptrp in case of an illegal input.
1028         * iconv/tst-iconv6.c: New file.
1029         * iconv/Makefile (tests): Add tst-iconv6.
1031 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1033         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
1034         an error in case of a value in range of an utf16 low surrogate.
1036 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1038         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
1039         an error in case of a value in range of an utf16 low surrogate.
1041 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1043         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
1044         Move to ...
1045         * sysdeps/s390/Makefile: ... here.
1046         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
1047         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
1048         (BRANCH_ON_COUNT): New define.
1049         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
1050         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
1051         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
1052         run on s390-32, too.
1053         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
1054         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
1055         run on s390-32, too.
1056         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
1057         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
1058         run on s390-32, too.
1060 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1062         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
1063         etf3eh or new vector loop-variant.
1065 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1067         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
1068         etf3eh or new vector loop-variant.
1070 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1072         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
1073         or new vector loop-variant.
1075 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1077         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
1078         Rename to TR_LOOP and usage of tr instead of troo instruction.
1080 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1082         * sysdeps/s390/multiarch/gconv_simple.c: New File.
1083         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
1085 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1087         * sysdeps/s390/multiarch/8bit-generic.c: New File.
1088         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
1089         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
1090         New override define.
1091         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
1093 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1095         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
1096         * sysdeps/s390/configure.ac: Add test for S390 vector register
1097         support in gcc.
1098         * sysdeps/s390/configure: Regenerated.
1100 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1102         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
1103         Install file from $(objpfx)gconv-modules.
1104         ($(objpfx)gconv-modules): Concatenate architecture specific file
1105         in variable sysdeps-gconv-modules and gconv-modules in src dir.
1106         * sysdeps/s390/gconv-modules: New file.
1107         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
1108         Deleted.
1109         ($(objpfx)gconv-modules-s390): Deleted.
1110         (sysdeps-gconv-modules): New variable.
1112 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
1114         [BZ #15479]
1115         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
1116         of immediate operand to rounding instruction.
1117         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
1118         Likewise.
1119         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
1120         Likewise.
1121         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
1122         Likewise.
1124 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1126         * math/libm-test.inc (MIN_EXP): Directly define as
1127         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
1129 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1131         * math/libm-test.inc (MANT_DIG): Directly define as
1132         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
1134 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1136         * stdlib/gen-tst-strtod-round.c (main):
1137           Change usage to more closely match the generated
1138           output.  Add usage and compilation instructions.
1139           (string_to_fp): Add and use FILE* parameter as
1140           output target.
1141           (print_fp): Likewise.
1142           (round_str): Likewise.
1143           (round_for_all): Likewise.
1144         * stdlib/tst-strtod-round.c (tests): Move into
1145         * stdlib/tst-strtod-round-data.h: New file.
1147 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
1149         [BZ #15479]
1150         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
1151         (__round): Do not force "inexact" exception.
1152         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
1153         variable.
1154         (__round): Do not force "inexact" exception.
1155         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
1156         (__roundf): Do not force "inexact" exception.
1157         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
1158         (__roundl): Do not force "inexact" exception.
1159         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
1160         (__roundl): Do not force "inexact" exception.
1161         * math/libm-test.inc (round_test_data): Do not allow spurious
1162         "inexact" exceptions.
1164         [BZ #15479]
1165         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
1166         exception in comment.
1167         (huge): Remove variable.
1168         (__floor): Do not force "inexact" exception.
1169         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
1170         "inexact" exception in comment.
1171         (huge): Remove variable.
1172         (__floor): Do not force "inexact" exception.
1173         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
1174         exception in comment.
1175         (huge): Remove variable.
1176         (__floorf): Do not force "inexact" exception.
1177         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
1178         exception in comment.
1179         (huge): Remove variable.
1180         (__floorl): Do not force "inexact" exception.
1182         [BZ #15479]
1183         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
1184         exception in comment.
1185         (huge): Remove variable.
1186         (__ceil): Do not force "inexact" exception.
1187         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
1188         "inexact" exception in comment.
1189         (huge): Remove variable.
1190         (__ceil): Do not force "inexact" exception.
1191         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
1192         (__ceilf): Do not force "inexact" exception.
1193         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
1194         exception in comment.
1195         (huge): Remove variable.
1196         (__ceill): Do not force "inexact" exception.
1198 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1200         * config.h.in (BIND_NOW): New.
1201         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
1202         * configure: Regenerated.
1203         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
1204         indirect branch via the GOT slot.
1206 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1208         [BZ #19765]
1209         * sysdeps/s390/mempcpy.S: New File.
1210         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
1211         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
1212         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1213         Add mempcpy variants.
1214         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
1215         (memcpy): Adjust to be usable from mempcpy entry point.
1216         (__memcpy_mvcle): Likewise.
1217         * sysdeps/s390/s390-64/memcpy.S: Likewise.
1218         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
1219         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
1220         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
1221         (__memcpy_z10): Likewise.
1222         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
1224 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1226         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
1227         Remove __GI_ symbol.
1228         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
1229         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
1230         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
1231         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
1232         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
1233         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
1235 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1237         * sysdeps/s390/s390-64/memcpy.S (memcpy):
1238         Use cghi instead of chi to compare 64bit value.
1240 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1242         * sysdeps/s390/s390-32/memcpy.S (memcpy):
1243         Jump to 1MB check before executing mvc-loop.
1245 2016-05-24  Florian Weimer  <fweimer@redhat.com>
1247         [BZ #6527]
1248         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
1249         unconditionally.
1250         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
1252 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1254         * stdlib/tst-strtod6.c (do_test): Use new type generic
1255         invocation of the test function.
1256         (test): Refactor into ...
1257         (TEST_STRTOD): New macro base function.
1259 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1261         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
1262         (TEST_STRTOD): New macro.
1263         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
1265 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1267         * stdlib/tst-strtod6.c (do_test): Use new type generic
1268         invocation of the test function.
1269         (test): Refactor into ...
1270         (TEST_STRTOD): New macro base function.
1272 2016-05-23  Florian Weimer  <fweimer@redhat.com>
1274         CVE-2016-4429
1275         [BZ #20112]
1276         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
1277         payload.
1279 2016-05-23  Florian Weimer  <fweimer@redhat.com>
1281         [BZ #20111]
1282         * bits/sockaddr.h (_SS_SIZE): Define.
1283         * bits/socket.h (_SS_SIZE): Remove.
1284         (_SS_PADSIZE): Adjust to account for all padding.
1285         (struct sockaddr_storage): Update comment.  Avoid implicit
1286         padding.
1287         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
1288         (_SS_PADSIZE): Adjust to account for all padding.
1289         (struct sockaddr_storage): Update comment.  Avoid implicit
1290         padding.
1291         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
1292         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
1293         (_SS_PADSIZE): Adjust to account for all padding.
1294         (struct sockaddr_storage): Update comment.  Avoid implicit
1295         padding.
1296         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
1297         __SS_SIZE is 126 in this version.
1298         * inet/tst-sockaddr.c: New file.
1299         * inet/Makefile (tests): Add tst-sockaddr.c
1300         (tst-sockaddr.c): Compile with non-strict aliasing.
1302 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
1304         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
1305         [XPG3 || XPG4].
1306         (NL_ARGMAX): Also expect for [XPG3].
1307         (NL_LANGMAX): Likewise.
1308         (NL_MSGMAX): Likewise.
1309         (NL_NMAX): Likewise.
1310         (NL_SETMAX): Likewise.
1311         (NL_TEXTMAX): Likewise.
1312         (NZERO): Likewise.
1313         (TMP_MAX): Likewise.
1314         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
1315         variable.
1317         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
1318         (PF_MAX): Update value.
1319         (AF_KCM): New macro.
1320         (SOL_NETBEUI): Likewise.
1321         (SOL_LLC): Likewise.
1322         (SOL_DCCP): Likewise.
1323         (SOL_NETLINK): Likewise.
1324         (SOL_TIPC): Likewise.
1325         (SOL_RXRPC): Likewise.
1326         (SOL_PPPOL2TP): Likewise.
1327         (SOL_BLUETOOTH): Likewise.
1328         (SOL_PNPIPE): Likewise.
1329         (SOL_RDS): Likewise.
1330         (SOL_IUCV): Likewise.
1331         (SOL_CAIF): Likewise.
1332         (SOL_ALG): Likewise.
1333         (SOL_NFC): Likewise.
1334         (SOL_KCM): Likewise.
1335         (MSG_BATCH): New enum value and macro.
1337 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
1339         [BZ #18185]
1340         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
1341         sharing L2 cache to 2 for Knights Landing.
1343 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
1345         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
1346         (FTW_DP): Do not expect for [XPG3 || XPG4].
1347         (FTW_SL): Do not expect for [XPG3].
1348         (FTW_SLN): Likewise.
1349         (FTW_PHYS): Likewise.
1350         (FTW_MOUNT): Likewise.
1351         (FTW_DEPTH): Likewise.
1352         (FTW_CHDIR): Likewise.
1353         (nftw): Likewise.
1354         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
1355         variable.
1357 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
1359         * manual/errno.texi: Fix various typos & grammar errors.
1361 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
1363         * manual/intro.texi: Fix duplicated typo.
1365 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
1367         [BZ #13304]
1368         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
1369         <float.h>, <math_private.h> and <stdlib.h>.
1370         (add_split): New function.
1371         (mul_split): Likewise.
1372         (ext_val): New typedef.
1373         (store_ext_val): New function.
1374         (mul_ext_val): New function.
1375         (compare): New function.
1376         (add_split_ext): New function.
1377         (__fmal): After checking for Inf, NaN and zero, compute result as
1378         an exact sum of scaled double values in round-to-nearest before
1379         adding those up and adjusting for other rounding modes.
1380         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
1381         tests of fma.
1382         * math/auto-libm-test-out: Regenerated.
1384 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1386         [BZ #20119]
1387         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
1388         processor level type mask for CPUID with EAX == 11.
1390 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1392         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
1393         logical threads if the HTT bit is 0.
1394         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
1395         (index_cpu_HTT): Likewise.
1396         (reg_HTT): Likewise.
1398 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1400         [BZ #20115]
1401         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
1402         Remove alignments on jump targets.
1404 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
1406         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
1407         (getpwent): Likewise.
1408         (setpwent): Likewise.
1409         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
1410         variable.
1412         * conform/data/search.h-data (insque): Do not expect for [XPG3].
1413         (remque): Likewise.
1414         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
1415         variable.
1417 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
1419         * math/libm-test.inc: Update comment not to refer to signs of NaNs
1420         not being tested.
1422 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1424         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
1425         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
1426         call.
1427         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
1428         (__condvar_cleanup1): Likewise.
1430 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1432         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
1433         New
1434         (__pthread_unwind): Renamed to ...
1435         (PTHREAD_UNWIND): This.
1436         (__pthread_enable_asynccancel): Replace
1437         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
1439 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
1441         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
1442         (CLONE_NEWCGROUP): New macro.
1444         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
1445         (Q_GETNEXTQUOTA): New macro.
1447 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1449         [BZ #19907]
1450         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
1451         buffer updated by the previous run.
1452         * string/test-memcpy.c (do_one_test): Likewise.
1453         * benchtests/bench-memmove.c (do_one_test): Add a comment.
1454         * string/test-memmove.c (do_one_test): Likewise.
1456 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
1458         [BZ #20094]
1459         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
1460         not [__USE_XOPEN].
1461         (unlockpt): Likewise.
1462         (ptsname): Likewise.
1463         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
1464         variable.
1466         [BZ #20076]
1467         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
1468         instead of [__USE_UNIX98].
1469         (S_ISSOCK): Likewise.
1470         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
1471         variable.
1473         [BZ #20074]
1474         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
1475         [__USE_POSIX].
1476         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
1477         variable.
1479         [BZ #20051]
1480         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
1481         (ttyslot): Do not declare.
1482         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
1483         (ttyslot): New prototype.
1484         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
1485         variable.
1486         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1488 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1490         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
1492 2016-05-13  Florian Weimer  <fweimer@redhat.com>
1494         Fix race condition in tst-mallocfork2, use fewer resources.
1495         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
1496         to current process group.
1497         (signal_sender): Yield in the non-sleeping case.
1499 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
1501         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
1502         (ecvt): Likewise.
1503         (fcvt): Likewise.
1504         (gcvt): Likewise.
1505         (getsubopt): Likewise.
1506         (grantpt): Likewise.
1507         (initstate): Likewise.
1508         (l64a): Likewise.
1509         (mktemp): Likewise.
1510         (mkstemp): Likewise.
1511         (ptsname): Likewise.
1512         (random): Likewise.
1513         (realpath): Likewise.
1514         (setstate): Likewise.
1515         (srandom): Likewise.
1516         (ttyslot): Likewise.
1517         (unlockpt): Likewise.
1518         (valloc): Likewise.
1520         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
1521         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
1522         variable.
1524 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1526         [BZ #20072]
1527         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
1528         init_cpu_features only if SHARED is defined.
1529         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
1531 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1533         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
1534         non-inclusive caches on Intel processors.
1536 2016-05-13  Florian Weimer  <fweimer@redhat.com>
1538         * malloc/malloc.c (dumped_main_arena_start)
1539         (dumped_main_arena_end): New variables.
1540         (DUMPED_MAIN_ARENA_CHUNK): New macro.
1541         (do_check_chunk): Skip dumped fake mmapped chunks.
1542         (munmap_chunk): Likewise.
1543         (__libc_free): Do not adjust statistics for fake mmapped chunks.
1544         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
1545         mmapped chunks.
1546         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
1547         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
1548         and dumped_main_arena_end to cover the dumped heap.
1550 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
1552         * conform/data/time.h-data (getdate_err): Do not expect for
1553         [XPG3].
1554         (getdate): Likewise.
1555         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
1556         variable.
1558         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
1559         (F_ULOCK): Likewise.
1560         (F_TEST): Likewise.
1561         (F_TLOCK): Likewise.
1562         (useconds_t): Likewise.
1563         (intptr_t): Do not expect for [XPG3] or [XPG4].
1564         (brk): Do not expect for [XPG3]
1565         (fchown): Likewise.
1566         (fchdir): Likewise.
1567         (ftruncate): Likewise.
1568         (getdtablesize): Likewise.
1569         (gethostid): Likewise.
1570         (getpagesize): Likewise.
1571         (getpgid): Likewise.
1572         (getsid): Likewise.
1573         (getwd): Likewise.
1574         (lchown): Likewise.
1575         (lockf): Likewise.
1576         (readlink): Likewise.
1577         (sbrk): Likewise.
1578         (setpgrp): Likewise.
1579         (setregid): Likewise.
1580         (setreuid): Likewise.
1581         (symlink): Likewise.
1582         (sync): Likewise.
1583         (truncate): Likewise.
1584         (ualarm): Likewise.
1585         (usleep): Likewise.
1586         (vfork): Likewise.
1587         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
1588         variable.
1590         [BZ #20054]
1591         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
1592         not [__USE_UNIX98].
1593         * conform/data/unistd.h-data (gethostname): Do not expect for
1594         [XPG3].
1596         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
1597         [!POSIX] (S_IFBLK): Likewise.
1598         [!POSIX] (S_IFCHR): Likewise.
1599         [!POSIX] (S_IFIFO): Likewise.
1600         [!POSIX] (S_IFREG): Likewise.
1601         [!POSIX] (S_IFDIR): Likewise.
1602         [!POSIX] (S_IFLNK): Likewise.
1603         [!POSIX] (S_IFSOCK): Likewise.
1604         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
1605         variable.
1606         (test-xfail-XPG4/fcntl.h/conform): Likewise.
1608 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
1610         * sysdeps/aarch64/memset.S (__memset):
1611         Rewrite of optimized memset.
1613 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1615         [BZ #19703]
1616         Partially async-signal-safe fork for single-threaded processes.
1617         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
1618         variable.  Do not acquire and reset/release malloc and libio locks
1619         in single-threaded processes.
1620         * malloc/tst-mallocfork2.c: New file.
1621         * malloc/Makefile (tests): Add it.
1623 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1625         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
1626         argument.  Use scratch buffer instead of extend_alloca.
1627         (gethosts): Use scratch buffer instead of extend_alloca.
1628         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
1629         extend_alloca.
1630         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
1632 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
1634         [BZ #20055]
1635         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
1636         instead of [__USE_UNIX98].
1637         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
1638         [__USE_UNIX98].
1639         * conform/data/termios.h-data (tcgetsid): Do not expect for
1640         [XPG3].
1641         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
1642         variable.
1643         (test-xfail-XPG4/termios.h/conform): Likewise.
1645 2016-05-11  Florian Weimer  <fweimer@redhat.com>
1647         Do not use mcheck in localedef.
1648         * locale/programs/localedef.c (turn_on_mcheck)
1649         (__malloc_initialize_hook): Remove.
1651 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1653         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
1654         * sysdeps/s390/s390-64/Makefile: Likewise.
1656 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
1658         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
1659         Remove ifunc-defines.sym.
1660         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
1661         Likewise.
1662         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
1663         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1664         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
1665         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
1666         rtld-global-offsets.sym.
1667         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
1668         * sysdeps/x86/cpu-features-offsets.sym: This.
1669         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
1670         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
1672 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
1674         [BZ #20073]
1675         * io/sys/stat.h (fchmod): Declare for
1676         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
1677         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
1678         variable.
1680         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
1681         [XPG3] (S_IFSOCK): Likewise.
1682         [XPG3] (S_ISVTX): Likewise.
1683         [XPG3] (S_ISLNK): Likewise.
1684         [XPG3] (S_ISSOCK): Likewise.
1685         [XPG3] (fchmod): Likewise.
1686         [XPG3] (lstat): Likewise.
1687         [XPG3] (mknod): Likewise.
1689         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
1690         [XPG3].  Expect type long and XFAIL for [XPG4].
1691         (st_blocks): Likewise.
1693         [BZ #20044]
1694         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
1695         (pthread_atfork): New prototype.
1696         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
1697         variable.
1699         [BZ #20043]
1700         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
1701         prototype.
1703 2016-05-10  Florian Weimer  <fweimer@redhat.com>
1705         [BZ #20017]
1706         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
1707         gmtime.
1709 2016-05-10  Florian Weimer  <fweimer@redhat.com>
1711         [BZ #19994]
1712         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
1713         flag in _res.options.
1715 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
1717         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
1718         [XPG3 || XPG4].
1719         (blksize_t): Likewise.
1720         (clockid_t): Likewise.
1721         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
1722         variable.
1723         (test-xfail-XPG4/sys/types.h/conform): Likewise.
1725 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1727         * sysdeps/unix/sysv/linux/s390/init-first.c:
1728         Add VDSO_SYMBOL(getcpu).
1729         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
1730         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
1731         Add VDSO_SYMBOL(getcpu).
1732         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
1733         New define HAVE_GETCPU_VSYSCALL.
1734         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1736 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
1738         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
1739         instead of <sysdeps/x86_64/cacheinfo.c>.
1740         * sysdeps/x86_64/cacheinfo.c: Moved to ...
1741         * sysdeps/x86/cacheinfo.c: Here.
1743 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1745         * malloc/malloc-internal.h: Adjust header file guard.
1747 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1749         [BZ #19787]
1750         * inet/getnameinfo.c (check_sprintf_result): New function.
1751         (CHECKED_SNPRINTF): New macro.
1752         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
1753         to the host buffer.
1754         (gni_host_local): Use checked_copy to copy the host name.
1755         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
1756         (gni_serv_local): Use checked_copy to copy the service name.
1757         (getnameinfo): Remove unnecessary truncation of result buffers.
1759 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1761         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
1762         in case of inet_ntop failure.
1764 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1766         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
1767         avoid long lines.
1768         (gni_host_inet_numeric): Likewise.  Reduce scope of local
1769         variables.
1770         (gni_host_inet, gni_host_local): Add comment.
1771         (gni_host): Add comment.  Use temporary to avoid long lines.
1773 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1775         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
1776         registers specifiers where general purpose registers specifiers should
1777         have been used.
1779 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1781         [BZ #19779]
1782         CVE-2016-1234
1783         Avoid copying names of directory entries.
1784         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
1785         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
1786         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
1787         (struct readdir_result): New type.
1788         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
1789         (GL_READDIR): New macros.
1790         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
1791         (convert_dirent, convert_dirent64): New functions.
1792         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
1793         convert_dirent64.  Adjust references to the readdir result.
1794         * sysdeps/unix/sysv/linux/i386/glob64.c:
1795         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
1796         * posix/bug-glob2.c (LONG_NAME): Define.
1797         (filesystem): Add LONG_NAME.
1798         (my_DIR): Increase the size of room_for_dirent.
1800 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
1802         [BZ #20041]
1803         * misc/sys/select.h (__need_timespec): Only define if
1804         [__USE_XOPEN2K].
1805         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
1806         variable.
1807         (test-xfail-XPG4/utmpx.h/conform): Likewise.
1808         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1809         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1811 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1812             Segher Boessenkool  <segher@gcc.gnu.org>
1814         [BZ #20004]
1815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
1816         (__novec_swapcontext): Add missing load.
1818 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
1820         [BZ #20023]
1821         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
1822         <time.h>.
1823         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
1824         variable.
1825         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1827 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
1830         flags CLONE_VM compare.
1832 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1834         [BZ #20031]
1835         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
1836         completely empty.
1838 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1840         [BZ #19573]
1841         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
1842         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
1843         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
1844         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
1845         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
1846         (hesiod_free_list): Mark as hidden.
1847         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
1848         res_set, res_get.
1849         * hesiod/hesiod.c: Remove unnecessary forward declarations.
1850         (init, __hesiod_res_get, __hesiod_res_set): Remove.
1851         (hesiod_init): Remove obsolete res_ninit call.
1852         (hesiod_end): Do not free resolver state.  Do not invoke callback.
1853         (hesiod_bind): Do not call init.
1854         (get_txt_records): Use res_mkquery, res_send instead of
1855         res_nmkquery, res_nsend.
1856         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
1857         instead of _nss_hesiod_init.
1858         (_nss_hesiod_initgroups_dyn): Likewise.
1859         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
1860         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
1861         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
1863 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1865         * hesiod/hesiod_p.h (DEF_RHS): Remove.
1866         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
1868 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1870         * hesiod/hesiod.h: Remove RCS keyword.
1871         * hesiod/hesiod_p.h: Likewise.
1873         * hesiod/hesiod.c: Likewise.
1875 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
1877         [BZ #12450]
1878         * locale/iso-639.def: Add Samogitian/sgs.
1880 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
1882         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
1884         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
1886 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
1887             Carlos O'Donell  <carlos@redhat.com>
1889         [BZ #19072]
1890         * grp/Makefile (headers): Add grp-merge.h
1891         (routines): Add grp-merge.
1892         * grp/getgrgid_r.c: Include grp-merge.h.
1893         (DEEPCOPY_FN): Define.
1894         (MERGE_FN): Define.
1895         * grp/getgrname_r.c: Include grp-merge.h.
1896         (DEEPCOPY_FN): Define.
1897         (MERGE_FN): Define.
1898         * grp/grp-merge.c: New file.
1899         * grp/grp-merge.h: New file.
1900         * include/grp-merge.h: New file.
1901         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
1902         __copy_grp@GLIBC_PRIVATE.
1903         * manual/nss.texi (Actions in the NSS configuration): Describe
1904         return, continue, and merge.
1905         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
1906         (DEEPCOPY_FN): Define.
1907         (MERGE_FN): Define.
1908         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
1909         (DEEPCOPY_FN): Define.
1910         (MERGE_FN): Define.
1911         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
1912         [!MERGE_FN]: Define __merge_einval.
1913         (CHECK_MERGE): Define.
1914         (REENTRANT_NAME): Process merge if do_merge is true.
1915         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
1916         (__nss_getent_r): Likewise.
1917         * nss/nsswitch.c (nss_parse_service_list): Likewise.
1918         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
1920 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1922         [BZ #20012]
1923         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
1924         length to calculate the buffer to read.
1925         (fmemopen_write): Set the buffer position based on bytes written.
1926         (fmemopen_seek): Return EINVAL for invalid whence modes.
1928         [BZ #19957]
1929         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
1930         tst-getpid2.
1931         (test): Add tst-clone2.
1932         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
1933         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
1934         pid/tid fields for CLONE_VM.
1935         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1936         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1937         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1938         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
1939         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
1940         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1941         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
1942         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1944         Likewise.
1945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1946         Likewise.
1947         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
1948         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
1949         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
1950         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1951         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1952         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1953         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1954         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
1956 2016-04-29  Florian Weimer  <fweimer@redhat.com>
1958         [BZ #19642]
1959         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
1960         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
1961         (gni_serv_local, gni_serv): New functions extracted from
1962         getnameinfo.
1963         (getnameinfo): Call gni_host and gni_serv to perform the
1964         processing.  Always free scratch buffer.
1966 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1968         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
1969         remaining bytes in the dest string, with zeros.
1971 2016-04-29  Florian Weimer  <fweimer@redhat.com>
1973         [BZ #20010]
1974         CVE-2016-3706
1975         * sysdeps/posix/getaddrinfo.c
1976         (convert_hostent_to_gaih_addrtuple): New function.
1977         (gethosts): Call convert_hostent_to_gaih_addrtuple.
1978         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
1979         AF_INET data.
1981 2016-04-29  Florian Weimer  <fweimer@redhat.com>
1983         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
1984         callback function gl_readdir.
1985         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
1986         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
1987         (glob_in_dir): Remove len.  Use strdup instead of malloc and
1988         memcpy to copy the name.
1989         * manual/pattern.texi (Calling Glob): Document requirements for
1990         implementations of the gl_readdir callback function.
1991         * manual/examples/mkdirent.c: New example.
1992         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
1993         per the manual guidance.
1994         * posix/tst-gnuglob.c (my_readdir): Likewise.
1996 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
1998         [BZ #20014]
1999         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
2000         not [__USE_POSIX].
2001         (getchar_unlocked): Likewise.
2002         (putc_unlocked): Likewise.
2003         (putchar_unlocked): Likewise.
2004         (flockfile): Likewise.
2005         (ftrylockfile): Likewise.
2006         (funlockfile): Likewise.
2007         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
2008         variable.
2009         (test-xfail-XPG4/stdio.h/conform): Likewise.
2011         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
2012         Expect constant.
2013         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
2014         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
2015         variable.
2016         (test-xfail-XPG4/langinfo.h/conform): Likewise.
2017         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2019         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
2020         [__USE_LARGEFILE64] (off64_t): Likewise.
2021         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
2022         variable.
2024 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2026         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
2028 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2030         * resolv/inet_addr.c: Reindent preprocessor conditionals.
2031         * resolv/res_init.c: Likewise.
2032         * resolv/res_mkquery.c: Likewise.
2034 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2036         * resolv/res_init.c (isascii): Do not define.  Use definition in
2037         <ctype.h>.
2038         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
2039         (LOG_AUTH): Remove.
2040         (SPRINTF): Remove, adjust caller.
2041         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
2043 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2045         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
2046         SUNSECURITY conditional.
2047         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
2049 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2051         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
2052         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
2053         Remove BSD-related preprocessor conditionals.
2054         * conf/portability.h: Remove.
2056 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2058         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
2059         * resolv/res_data.c: Likewise.
2061 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2063         * resolv/res_comp.c: Remove code conditional on __ultrix__.
2064         * resolv/res_data.c: Remove code conditional on ultrix.
2066 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2068         * resolv/res_init.c (RFC1535): Do not define.  Remove
2069         RFC1535 preprocessor conditionals.
2070         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
2071         because there configuration options which make the resolver
2072         behavior different.
2074 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2076         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
2077         RESOLVSORT preprocessor conditionals.
2078         * resolv/nss_dns/dns-host.c: Likewise.
2079         * resolv/res_init.c: Likewise.
2081 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2083         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
2084         is never defined.
2086 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2088         * inet/inet_lnaof.c: Remove SCSS keyword.
2089         * inet/inet_mkadr.c: Likewise.
2090         * inet/inet_net.c: Likewise.
2091         * inet/inet_netof.c: Likewise.
2092         * inet/rcmd.c: Likewise.
2093         * inet/rexec.c: Likewise.
2094         * inet/ruserpass.c: Likewise.
2096 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2098         * resolv/inet_addr.c: Remove _LIBC conditionals.
2099         * resolv/res_data.c: Likewise.
2100         * resolv/res_init.c: Likewise.
2101         * resolv/res_mkquery.c: Likewise.
2102         * resolv/res_libc.c: Update comment.
2103         * resolv/README: Update.
2105 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2107         * resolv/gethnamaddr.c: Remove SCSS keyword.
2108         * resolv/herror.c: Likewise.
2109         * resolv/inet_addr.c: Likewise.
2110         * resolv/inet_net_ntop.c: Likewise.
2111         * resolv/inet_net_pton.c: Likewise.
2112         * resolv/inet_neta.c: Likewise.
2113         * resolv/inet_ntop.c: Likewise.
2114         * resolv/inet_pton.c: Likewise.
2115         * resolv/ns_date.c: Remove RCS keyword.
2116         * resolv/ns_name.c: Likewise.
2117         * resolv/ns_netint.c: Likewise.
2118         * resolv/ns_parse.c: Likewise.
2119         * resolv/ns_print.c: Likewise.
2120         * resolv/ns_samedomain.c: Likewise.
2121         * resolv/ns_ttl.c: Likewise.
2122         * resolv/nsap_addr.c: Likewise.
2123         * resolv/res_comp.c: Remove SCSS and RCS keyword.
2124         * resolv/res_data.c: Remove RCS keyword.
2125         * resolv/res_debug.c: Remove SCSS and RCS keyword.
2126         * resolv/res_init.c: Likewise.
2127         * resolv/res_mkquery.c: Likewise.
2128         * resolv/res_query.c: Likewise.
2129         * resolv/res_send.c: Likewise.
2131 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
2133         * conform/data/stdio.h-data (fdopen): Expect also for
2134         [XPG3 || XPG4].
2136         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
2137         (fseeko): Likewise.
2138         (ftello): Likewise.
2139         (ftrylockfile): Likewise.
2140         (funlockfile): Likewise.
2141         (getc_unlocked): Likewise.
2142         (getchar_unlocked): Likewise.
2143         (putc_unlocked): Likewise.
2144         (putchar_unlocked): Likewise.
2146 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2148         [BZ #19868]
2149         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
2150         DNS packet syntax checks (which were not needed before).  Skip
2151         over non-PTR records.
2153 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2155         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
2156         definition.  Include <stddef.h> instead.
2158 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2160         [BZ #19831]
2161         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
2162         function.
2163         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
2164         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
2166 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2168         [BZ #19862]
2169         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
2170         (getanswer_r): Do not call syslog.
2171         (gaih_getanswer_slice): Likewise.
2172         * resolv/gethnamaddr.c (AskedForGot): Remove.
2173         (getanswer): Do not call syslog.
2174         (gethostbyaddr): Likewise.
2176 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
2178         * conform/data/signal.h-data (union sigval): Expect also if
2179         [XOPEN2K].
2180         (struct sigevent): Likewise.
2181         (SIGEV_NONE): Likewise.
2182         (SIGEV_SIGNAL): Likewise.
2183         (SIGEV_THREAD): Likewise.
2184         (SIGRTMIN): Likewise.
2185         (SIGRTMAX): Likewise.
2186         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
2187         variable.
2188         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2190 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2192         [BZ #19830]
2193         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
2194         (gaih_getanswer_slice): Likewise.
2195         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
2196         Also check for availability of RR metadata.
2198 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2200         [BZ #19825]
2201         * resolv/res_send.c (send_vc): Remove early *resplen2
2202         initialization.  Set *resplen2 on socket error.  Call
2203         close_and_return_error for other errors.
2205 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
2207         * sysdeps/unix/sysv/linux/netiucv/iucv.h
2208         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
2209         (SCM_IUCV_TRGCLS): New define.
2211 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2213         [BZ #20005]
2214         * libio/fmemopen.c (fmemopen_write): Update internal position after
2215         write.
2216         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
2217         * stdio-common/tst-fmemopen4.c: New file..
2219 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
2221         [BZ #19996]
2222         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
2223         not [__USE_XOPEN2K].
2224         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
2225         variable.
2227         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
2228         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
2229         variable.
2231         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
2232         [__USE_XOPEN2K8].
2233         [__USE_LARGEFILE64] (off64_t): Likewise.
2234         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
2235         variable.
2237 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
2239         [BZ #19989]
2240         * libio/stdio.h (cuserid): Do not declare if
2241         [__USE_XOPEN2K && !__USE_GNU].
2242         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
2243         variable.
2245 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2247         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2248         (sysdep_routines): Add P8 and PPC64 strcspn targets.
2249         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2250         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
2251         ifunc'ed strcspn.
2252         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
2253         [EALIGN]: Removed.
2254         [END]: Likewise
2255         [STRSPN]: Define instead of the above to control symbol name.
2256         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
2257         New file.
2258         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
2259         Likewise.
2260         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
2261         Likewise.
2262         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
2263         Likewise.
2264         * sysdeps/powerpc/powerpc64/power8/strspn.S:
2265         [INITIAL_MASK]: New macro.
2266         [STRCSPN]: Likewise.
2267         [UPDATE_MASK]: Likewise.
2268         [USE_AS_STRCSPN]: Lisewise.
2270 2016-04-25  Florian Weimer  <fweimer@redhat.com>
2272         [BZ #19931]
2273         * stdio-common/tst-vfprintf-width-prec.c: New file.
2274         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
2275         (tests-special): Add tst-vfprintf-width-prec-mem.out.
2276         (generated): Add mtrace-related files.
2277         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
2278         (tst-%-mem.out): New pattern rule, replaces
2279         tst-printf-bz18872-mem.out.
2280         * stdio-common/vfprintf.c (vfprintf): When handling a precision
2281         specifier, deallocate any previously allocated work buffer.
2283 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
2285         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
2286         Add nop before __startcontext, add explaining comments.
2288 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
2290         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
2291         any more. Notably since IPV6_PKTINFO has been reintroduced with a
2292         completely different API.
2294         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
2295         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
2296         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
2297         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
2298         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
2299         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
2300         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
2301         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
2302         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
2303         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
2305 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
2307         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
2309 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
2311         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
2312         when it is the default of 0.
2314 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2316         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
2317         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2318         (sysdep_routines): Add new strcasestr targets.
2319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2320         (__libc_ifunc_impl_list): Likewise.
2321         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
2322         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
2323         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
2324         * sysdeps/powerpc/powerpc64/power8/Makefile:
2325         New file to add strcasestr-ppc64 to sysdep_routines.
2326         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
2327         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
2329 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
2331         * benchtests/Makefile (wcsmbs-benchset): Include only for
2332         native builds and runs.
2333         (LOCALES): Likewise.
2334         (bench-build): Build timing-type here instead of the bench
2335         target.  Generate locale only for native builds.
2336         * benchtests/README: Add note for cross-building.
2338         * benchtests/Makefile (bench-clean): Clean up extra-objs.
2340         * benchtests/README: Update README to include instructions on
2341         using bench-build.
2343         * Makefile.in (bench-build): New target.
2344         * Rules (PHONY): Add bench-build target.
2345         * benchtests/Makefile (bench): Depend on bench-build.
2346         (bench-build): New target.
2348 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2350         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
2351         profil_reply_port.
2352         (profile_waiter): Do not initialize profil_reply_port.
2353         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
2354         frequency instead of tick length in us.
2356 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
2358         [BZ #18712]
2359         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
2360         (__old_mempcpy_small): Likewise.
2361         (__old_strcpy_small): Likewise.
2362         (__old_stpcpy_small): Likewise.
2363         (__old_strpbrk_c2): Fix compat symbol name.
2364         (__old_strpbrk_c3): Likewise.
2365         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
2366         (__mempcpy_small): Remove.
2367         (__strcpy_small): Remove.
2368         (__stpcpy_small): Remove.
2370 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
2372         [BZ #19400]
2373         * locale/iso-639.def: Add the Talossan/tzl language.
2375 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
2377         [BZ #16983]
2378         * locale/programs/ld-address.c (address_finish): Update postal_fmt
2379         comment.  Add "ln" to strchr check on postal_fmt.
2381 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
2383         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
2384         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
2385         tel_dom_fmt.
2387 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2389         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2390         (sysdep_routines): Added __strlen_power8.
2391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
2392         __strlen_power8 entry.
2393         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
2394         Implementation for POWER8.
2395         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
2396         for __strlen_power8.
2397         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
2398         Implementation for POWER8.
2400 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
2402         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
2404 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
2406         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
2407         Goldmont and Airmont processors.
2409 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
2411         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
2412         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
2413         (__STRING2_SMALL_GET32): Remove.
2414         (memset): Remove.
2415         (__memset_1): Remove.
2416         (__memset_gc): Remove.
2417         (__mempcpy): Remove.
2418         (mempcpy): Remove.
2419         (__mempcpy_args): Remove.
2420         (strchr): Remove.
2421         (strcpy): Remove.
2422         (strcpy_args): Remove.
2423         (__stpcpy_args): Remove.
2424         (__strcmp_cc): Remove.
2425         (__strcmp_gc): Remove.
2426         (strstr): Remove.
2428 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
2430         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
2431         * nis/nis_call.c (nis_server_cache_add): Likewise.
2433 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2435         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
2437 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2439         * malloc/arena.c (__malloc_fork_lock_parent)
2440         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
2441         internal_function attribute.
2443 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
2445         * stdio-common/printf_fp.c (__printf_fp_l):
2446         Rename ___printf_fp_l to __printf_fp_l and
2447         remove strong alias. Use libc_hidden_def instead
2448         of ldbl_hidden_def macro.
2450 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2452         Remove malloc hooks from fork handler.  They are no longer needed
2453         because malloc runs right before fork, and no malloc calls from
2454         other fork handlers are not possible anymore.
2455         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
2456         declarations.
2457         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
2458         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
2459         (atfork_recursive_cntr): Remove.
2460         (__malloc_fork_lock_parent): Do not override malloc hooks and
2461         thread_arena.
2462         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
2463         thread_arena.
2464         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
2465         thread_arena instead of save_arena.
2467 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2469         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
2470         (thread_atfork, thread_atfork_static): Remove.
2471         * sysdeps/mach/hurd/malloc-machine.h:
2472         (thread_atfork, thread_atfork_static): Remove.
2474 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2476         [BZ #19431]
2477         Run the malloc fork handler as late as possible to avoid deadlocks.
2478         * malloc/malloc-internal.h: New file.
2479         * malloc/malloc.c: Include it.
2480         * malloc/arena.c (ATFORK_MEM): Remove.
2481         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
2482         Update comment.
2483         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
2484         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
2485         Remove outdated comment.
2486         (ptmalloc_init): Do not call thread_atfork.  Remove
2487         thread_atfork_static.
2488         * malloc/tst-malloc-fork-deadlock.c: New file.
2489         * Makefile (tests): Add tst-malloc-fork-deadlock.
2490         (tst-malloc-fork-deadlock): Link against libpthread.
2491         * manual/memory.texi (Aligned Memory Blocks): Update safety
2492         annotation comments.
2493         * sysdeps/nptl/fork.c (__libc_fork): Call
2494         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
2495         __malloc_fork_unlock_child.
2496         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2498 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2500         [BZ #19613]
2501         Remove union wait.
2502         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
2503         (w_stopsig, w_stopval): Remove.
2504         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
2505         stat_loc argument.
2506         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
2507         (__WAIT_STATUS_DEFN): Remove.
2508         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
2509         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
2510         (wait, wait3, wait4): Use int * for the stat_loc argument.
2511         * posix/wait.c (__wait): Likewise.
2512         * posix/wait3.c (__wait3): Likewise.
2513         * posix/wait4.c (__wait4): Likewise.
2514         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
2515         (__WAIT_STATUS_DEFN): Remove.
2516         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
2517         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
2518         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
2519         argument.
2520         * sysdeps/posix/wait.c (__libc_wait): Likewise.
2521         * sysdeps/posix/wait3.c (__wait3): Likewise.
2522         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
2523         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
2524         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
2525         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
2526         stat_loc argument.
2527         * manual/process.texi (BSD Wait Functions): Remove union wait.
2529 2016-04-13  Andreas Schwab  <schwab@suse.de>
2531         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
2532         (test-extras): Add tst-tlsalign-vars.
2533         * math/Makefile: Wrap long lines.
2534         (libm-vec-test-wrappers): Define.
2535         (test-extras): Add $(libm-vec-test-wrappers).
2536         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
2537         * nss/Makefile (extra-test-objs): Add nss_test1.os.
2538         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
2539         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
2540         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
2541         (extra-test-objs): Add corresponding objects.
2543 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
2545         [BZ #19928]
2546         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
2547         New.
2548         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
2549         times of shared cache size.
2550         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
2551         (VMOVNT): New.
2552         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
2553         (VMOVNT): Likewise.
2554         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
2555         (VMOVNT): Likewise.
2556         (VMOVU): Changed to movups for smaller code sizes.
2557         (VMOVA): Changed to movaps for smaller code sizes.
2558         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
2559         comments.
2560         (PREFETCH): New.
2561         (PREFETCH_SIZE): Likewise.
2562         (PREFETCHED_LOAD_SIZE): Likewise.
2563         (PREFETCH_ONE_SET): Likewise.
2564         Rewrite to use forward and backward loops, which move 4 vector
2565         registers at a time, to support overlapping addresses and use
2566         non temporal store if size is above the threshold and there is
2567         no overlap between destination and source.
2569 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
2571         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
2572         Include dl-vdso.
2573         * sysdeps/unix/sysv/linux/mips/Versions: Add
2574         __vdso_clock_gettime.
2575         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
2576         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
2577         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
2578         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
2579         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
2580         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
2581         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2582         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
2583         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2585 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2587         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
2588         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
2589         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2590         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2591         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2592         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2595         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
2596         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
2597         syscalls generation.
2598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2599         [__NR_pwrite64] (__NR_write): Remove define.
2600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2601         [__NR_pwrite64] (__NR_write): Remove define.
2602         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
2603         Remove define.
2604         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
2605         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
2606         Remove define.
2607         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
2608         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
2609         Linux implementation as base.
2610         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2612         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
2613         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
2614         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2615         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
2617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2618         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
2619         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
2620         syscall generation.
2621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2622         [__NR_pread64] (__NR_pread): Remove define.
2623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2624         [__NR_pread64] (__NR_pread): Likewise.
2625         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
2626         define.
2627         (__libc_pread): Use SYSCALL_LL macro on offset argument.
2628         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
2629         Remove define.
2630         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
2631         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
2632         Linux implementation as base.
2633         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2634         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2635         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2637         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
2638         definition.
2639         (__ALIGNMENT_COUNT): Likewise.
2640         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
2641         (__ALIGNMENT_COUNT): Likewise.
2642         (SYSCALL_LL): New define.
2643         (SYSCALL_LL64): Likewise.
2644         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
2645         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
2646         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
2647         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
2649         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2650         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
2651         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2652         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2653         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2654         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2656 2016-04-11  Florian Weimer  <fweimer@redhat.com>
2658         [BZ #19865]
2659         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
2660         original buffer before retry.
2662 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2664         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
2665         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
2666         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
2667         GLRO(dl_auxv) list.
2668         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
2669         including <ldsodefs.h>.
2670         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
2672 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
2674         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
2675         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
2676         $(CPPFLAGS).
2678 2016-04-09  Khem Raj  <raj.khem@gmail.com>
2680         [BZ #17950]
2681         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
2682         Add -mfpmath=387.
2684 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
2686         * sysdeps/i386/configure.ac: Change == to = when calling test.
2687         * sysdeps/x86_64/configure.ac: Likewise.
2688         * sysdeps/i386/configure: Regenerated.
2689         * sysdeps/x86_64/configure: Likewise.
2691 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
2693         [BZ #16137]
2694         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
2695         * benchtests/bench-strcoll.c (input_files): Likewise.
2696         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2697         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
2698         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
2700 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
2702         [BZ #19929]
2703         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
2704         [__USE_XOPEN2K8 && !__USE_GNU].
2705         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
2706         variable.
2708         [BZ #19925]
2709         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
2710         define if [!__USE_MISC && __USE_XOPEN2K].
2711         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
2712         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
2713         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
2714         Likewise.
2715         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
2716         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
2717         variable.
2718         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2720 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2722         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2723         (sysdep_routines): Add new strspn targets.
2724         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2725         (__libc_ifunc_impl_list): Add strspn.
2726         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
2727         New file.
2728         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
2729         Likewise.
2730         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
2731         Likewise.
2732         * sysdeps/powerpc/powerpc64/power8/strspn.S:
2733         Likewise.
2735 2016-04-07  Florian Weimer  <fweimer@redhat.com>
2737         * misc/hsearch_r.c: Include <limits.h>.
2739 2016-04-07  Florian Weimer  <fweimer@redhat.com>
2741         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
2743 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2745         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2746         (MEMCPY_SYMBOL): New.
2747         (MEMPCPY_SYMBOL): Likewise.
2748         (MEMMOVE_CHK_SYMBOL): Likewise.
2749         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
2750         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
2751         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
2752         Provide alias for memcpy in libc.a and ld.so.
2754 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2756         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2757         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
2758         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
2759         Disabled fro now.
2760         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
2761         symbols.  Properly check USE_MULTIARCH on __memset symbols.
2763 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2765         * benchtests/Makefile (string-benchset): Add memcpy-large,
2766         memmove-large and memset-large.
2767         * benchtests/bench-memcpy-large.c: New file.
2768         * benchtests/bench-memmove-large.c: Likewise.
2769         * benchtests/bench-memmove-large.c: Likewise.
2770         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
2772 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
2774         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
2775         32-bit displacement to avoid long nop between instructions.
2777 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
2779         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
2780         a comment on VMOVU and VMOVA.
2782 2016-04-04  Florian Weimer  <fweimer@redhat.com>
2784         [BZ #19633]
2785         Use specified locale for number formatting in strfmon_l.
2786         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
2787         (__nl_lookup_word): New inline functions.
2788         * include/printf.h (__print_fp_l): Declare.
2789         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
2790         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
2791         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
2792         (___printf_fp): New function.
2793         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
2794         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
2795         * stdlib/tst-strfmon_l.c (do_test): New test.
2796         * stdlib/Makefile (tests): Add kt.
2797         (LOCALES): Build additional locales.
2798         (tst-strfmon_l.out): Require locales.
2800 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
2802         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
2803         if not in libc.
2804         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2805         Likewise.
2806         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
2807         Likewise.
2808         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2809         Likewise.
2811 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
2813         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2814         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
2815         with unaligned_erms.
2816         (__memmove_erms): Skip if source == destination.
2817         (__memmove_unaligned_erms): Don't check source == destination
2818         first.
2820 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2822         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
2823         bit_arch_Fast_Copy_Backward for Intel Core proessors.
2825 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2827         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
2828         * string/strspn.c (strspn): Likewise.
2830 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2832         * benchtests/bench-memset.c (do_test): Support 64-byte
2833         alignment.
2834         (test_main): Test 64-byte alignment.
2836 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2838         * benchtests/bench-memmove.c (test_main): Test 64-byte
2839         alignment.
2841 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2843         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
2845 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2847         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
2848         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
2849         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
2851         * string/strpbrk.c (strpbrk): Rewrite function.
2852         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
2853         (__strpbrk_c2): Likewise.
2854         (__strpbrk_c3): Likewise.
2855         * string/string-inlines.c
2856         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
2857         Likewise.
2858         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
2859         Likewise.
2861         * string/strspn.c (strcspn): Rewrite function.
2862         * string/bits/string2.h (strspn): Use __builtin_strcspn.
2863         (__strspn_c1): Remove inline function.
2864         (__strspn_c2): Likewise.
2865         (__strspn_c3): Likewise.
2866         * string/string-inlines.c
2867         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
2868         compatibility symbol.
2869         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
2870         Likewise.
2871         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
2872         Likewise.
2873         * string/string-inlines.c: Include generic version.
2875 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
2876             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2878         * string/Version (libc): Add GLIBC_2.24.
2879         * string/strcspn.c (strcspn): Rewrite function.
2880         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
2881         (__strcspn_c1): Remove inline function.
2882         (__strcspn_c2): Likewise.
2883         (__strcspn_c3): Likewise.
2884         * string/string-inline.c
2885         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
2886         compatibility symbol.
2887         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
2888         Likewise.
2889         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
2890         Likewise.
2891         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
2893 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2895         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
2896         Use ahi instead of aghi to adjust stack pointer.
2898 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2900         [BZ #19853]
2901         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
2902         TEST to take significant digits as second parameter.
2903         [TEST]: Redefine in terms of TEST_N taking 30
2904         significant digits.
2905         (do_test): Add test case to demonstrate precision
2906         failure in the ldbl-128ibm printf.
2907         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
2908         (__mpn_extract_long_double): Carry 7 extra intermediate
2909         bits of precision to aide computing difference when
2910         signs differ.
2912 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
2914         [BZ #19881]
2915         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2916         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
2917         memset-avx512-unaligned-erms.
2918         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2919         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
2920         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
2921         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
2922         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
2923         __memset_sse2_unaligned_erms, __memset_erms,
2924         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
2925         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
2926         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
2927         file.
2928         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2929         Likewise.
2930         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
2931         Likewise.
2932         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
2933         Likewise.
2935 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
2937         [BZ #19776]
2938         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2939         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
2940         memmove-avx512-unaligned-erms.
2941         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2942         (__libc_ifunc_impl_list): Test
2943         __memmove_chk_avx512_unaligned_2,
2944         __memmove_chk_avx512_unaligned_erms,
2945         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
2946         __memmove_chk_sse2_unaligned_2,
2947         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
2948         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
2949         __memmove_avx512_unaligned_erms, __memmove_erms,
2950         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
2951         __memcpy_chk_avx512_unaligned_2,
2952         __memcpy_chk_avx512_unaligned_erms,
2953         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
2954         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
2955         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
2956         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
2957         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
2958         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
2959         __mempcpy_chk_avx512_unaligned_erms,
2960         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
2961         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
2962         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
2963         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
2964         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
2965         __mempcpy_erms.
2966         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
2967         file.
2968         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2969         Likwise.
2970         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
2971         Likwise.
2972         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2973         Likwise.
2975 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2977         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
2978         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
2979         (La_s390_64_regs): Likewise.
2980         (La_s390_32_retval): Append vector register lrv_v24.
2981         (La_s390_64_retval): Likeweise.
2982         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
2983         Handle extended structs La_s390_32_regs and La_s390_32_retval.
2984         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
2985         Handle extended structs La_s390_64_regs and La_s390_64_retval.
2987 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2989         [BZ #19916]
2990         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
2991         to create a non-vector/vector version for _dl_runtime_resolve and
2992         _dl_runtime_profile. Move implementation to ...
2993         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
2994         (_dl_runtime_resolve) Save and restore fpr/vrs.
2995         (_dl_runtime_profile) Save and restore vrs and fix some issues
2996         if _dl_call_pltexit is called.
2997         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
2998         Choose the correct resolver function if running on a machine with vx.
2999         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
3000         to create a non-vector/vector version for _dl_runtime_resolve and
3001         _dl_runtime_profile. Move implementation to ...
3002         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
3003         (_dl_runtime_resolve) Save and restore fpr/vrs.
3004         (_dl_runtime_profile) Save and restore vrs and fix some issues
3005         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
3006         Choose the correct resolver function if running on a machine with vx.
3008 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3010         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
3012 2016-03-31  Florian Weimer  <fweimer@redhat.com>
3014         [BZ #19509]
3015         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
3016         skip_map != NULL.
3017         * elf/tst-dlsym-error.c: New file.
3018         * elf/Makefile (tests): Add tst-dlsym-error.
3019         (tst-dlsym-error): Link against libdl.
3021 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
3023         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3024         (__ASSUME_FUTIMESAT): Remove macro.
3025         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
3027 2016-03-29  Florian Weimer  <fweimer@redhat.com>
3029         [BZ #19879]
3030         CVE-2016-3075
3031         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
3032         copy name.
3034 2016-03-29  Florian Weimer  <fweimer@redhat.com>
3036         [BZ #19837]
3037         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
3038         error if parse_line fails.
3040 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3042         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
3043         (index_cpu_ERMS): Likewise.
3044         (reg_ERMS): Likewise.
3046 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
3048         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
3049         PER_LINUX_FDPIC): Add.
3051 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3053         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3054         memcpy-avx512-no-vzeroupper.
3055         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
3056         to ...
3057         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
3058         (MEMCPY): Don't define.
3059         (MEMCPY_CHK): Likewise.
3060         (MEMPCPY): Likewise.
3061         (MEMPCPY_CHK): Likewise.
3062         (MEMPCPY_CHK): Renamed to ...
3063         (__mempcpy_chk_avx512_no_vzeroupper): This.
3064         (MEMPCPY_CHK): Renamed to ...
3065         (__mempcpy_chk_avx512_no_vzeroupper): This.
3066         (MEMCPY_CHK): Renamed to ...
3067         (__memmove_chk_avx512_no_vzeroupper): This.
3068         (MEMCPY): Renamed to ...
3069         (__memmove_avx512_no_vzeroupper): This.
3070         (__memcpy_avx512_no_vzeroupper): New alias.
3071         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
3073 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3075         [BZ #18858]
3076         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3077         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
3078         and mempcpy-avx512-no-vzeroupper.
3079         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
3080         New.
3081         (MEMPCPY): Likewise.
3082         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
3083         (MEMPCPY_CHK): New.
3084         (MEMPCPY): Likewise.
3085         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
3086         (MEMPCPY): Likewise.
3087         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
3088         (MEMPCPY): Likewise.
3089         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
3090         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
3091         Likewise.
3092         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
3093         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
3095 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3096              Amit Pawar  <Amit.Pawar@amd.com>
3098         [BZ #19583]
3099         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3100         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
3101         processors.  Set Fast_Copy_Backward for AMD Excavator
3102         processors.
3103         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
3104         New.
3105         (index_arch_Fast_Unaligned_Copy): Likewise.
3106         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
3107         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
3109 2016-03-25  Florian Weimer  <fweimer@redhat.com>
3111         [BZ #19791]
3112         * resolv/res_send.c (close_and_return_error): New function.
3113         (send_dg): Initialize *resplen2 after reopen failure.  Call
3114         close_and_return_error for error returns.  On error paths without
3115         __res_iclose, initialze *resplen2 explicitly.  Update comment for
3116         successful return.
3118 2016-03-25  Florian Weimer  <fweimer@redhat.com>
3120         [BZ# 19860]
3121         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
3122         zero if the compiler does not provide the AVX512F bit.
3124 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
3126         [BZ #19848]
3127         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
3128         from 8 to 4.
3129         (__ieee754_powl): Compare integer exponent against 4 not 8.
3130         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
3131         from 8 to 4.
3132         (__ieee754_powl): Compare integer exponent against 4 not 8.
3133         * math/auto-libm-test-in: Add more tests of pow.
3134         * math/auto-libm-test-out: Regenerated.
3135         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
3136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3138 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
3140         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
3141         Make code unconditional.
3142         [!__NR_utimensat]: Remove conditional code.
3143         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
3144         Make code unconditional.
3145         [!__NR_utimensat]: Remove conditional code.
3146         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
3147         Make code unconditional.
3148         [!__NR_utimensat]: Remove conditional code.
3150 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
3152         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
3153         Make code unconditional.
3155 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
3157         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
3158         call-clobbered %eax on retry path.
3159         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
3161 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3163         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
3164         Don't set %rcx twice before "rep movsb".
3166 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3168         [BZ #19583]
3169         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
3170         inline.  Check family before setting family, model and
3171         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
3172         bits here.
3173         (init_cpu_features): Replace HAS_CPU_FEATURE and
3174         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
3175         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
3176         for Intel processors with usable AVX2.  Call get_common_indeces
3177         for other processors with family == NULL.
3178         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
3179         (CPU_FEATURES_ARCH_P): Likewise.
3180         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
3181         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
3183 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3185         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
3186         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
3187         $(shared-thread-library) instead of hardcoding the path to libpthread.
3189 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
3191         * sysdeps/unix/sysv/linux/kernel-features.h
3192         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
3193         * sysdeps/unix/sysv/linux/getdents.c
3194         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
3195         [!have_no_getdents64_defined]: Likewise.
3196         (__GETDENTS): Remove __have_no_getdents64 conditional.
3198 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
3200         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
3201         Remove macro.
3202         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
3203         <kernel-features.h>.
3204         (signalfd) [__NR_signalfd4]: Make code unconditional.
3205         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
3207 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3209         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
3210         style.
3212 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3214         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
3215         (__pthread_enable_asynccancel): Use JUMPTARGET to call
3216         __pthread_unwind.
3217         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3218         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
3219         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3220         (__condvar_cleanup1): Likewise.
3222 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
3224         [BZ #19822]
3225         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
3226         move it to the final $@ location.
3228 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3230         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
3231         access where posix_spawn success and pid argument is null.
3232         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
3233         success case.
3235 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
3237         * sysdeps/mach/hurd/i386/c++-types.data: New file.
3239         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
3241         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
3242         and __fcntl.
3243         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
3244         __fcntl only.
3245         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
3246         adding attribute_hidden to __open and __fcntl.
3248         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
3249         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
3250         depend on libc-modules.h,
3251         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
3253 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
3255         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
3256         Remove macro.
3257         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
3258         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
3259         entry.
3261         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
3262         Remove macro.
3263         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
3264         include <kernel-features.h>.
3265         [!__ASSUME_FALLOCATE]: Remove conditional code.
3266         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
3268 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3270         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
3271         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
3272         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
3273         (_ZGVdN4v_cos_avx2): Likewise.
3274         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
3275         (_ZGVdN4v_cos): Likewise.
3276         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
3277         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
3278         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
3279         (_ZGVdN4v_exp_avx2): Likewise.
3280         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
3281         (_ZGVdN4v_exp): Likewise.
3282         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
3283         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
3284         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
3285         (_ZGVdN4v_log_avx2): Likewise.
3286         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
3287         (_ZGVdN4v_log): Likewise.
3288         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
3289         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
3290         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
3291         (_ZGVdN4vv_pow_avx2): Likewise.
3292         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
3293         (_ZGVdN4vv_pow): Likewise.
3294         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
3295         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
3296         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
3297         (_ZGVdN4v_sin_avx2): Likewise.
3298         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
3299         (_ZGVdN4v_sin): Likewise.
3300         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
3301         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
3302         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
3303         (_ZGVdN4vvv_sincos_avx2): Likewise.
3304         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
3305         (_ZGVdN4vvv_sincos): Likewise.
3306         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
3307         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
3308         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
3309         (_ZGVbN4v_cosf_sse4): Likewise.
3310         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
3311         (_ZGVdN8v_cosf_avx2): Likewise.
3312         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
3313         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
3314         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
3315         (_ZGVbN4v_expf_sse4): Likewise.
3316         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
3317         (_ZGVdN8v_expf_avx2): Likewise.
3318         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
3319         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
3320         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
3321         (_ZGVbN4v_logf_sse4): Likewise.
3322         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
3323         (_ZGVdN8v_logf_avx2): Likewise.
3324         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
3325         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
3326         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
3327         (_ZGVbN4vv_powf_sse4): Likewise.
3328         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
3329         (_ZGVdN8vv_powf_avx2): Likewise.
3330         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3331         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
3332         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3333         (_ZGVbN4vvv_sincosf_sse4): Likewise.
3334         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3335         (_ZGVdN8vvv_sincosf_avx2): Likewise.
3336         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
3337         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
3338         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
3339         (_ZGVbN4v_sinf_sse4): Likewise.
3340         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
3341         (_ZGVdN8v_sinf_avx2): Likewise.
3342         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
3343         Use JUMPTARGET to call callee.
3344         (WRAPPER_IMPL_SSE2_ff): Likewise.
3345         (WRAPPER_IMPL_SSE2_fFF): Likewise.
3346         (WRAPPER_IMPL_AVX): Likewise.
3347         (WRAPPER_IMPL_AVX_ff): Likewise.
3348         (WRAPPER_IMPL_AVX_fFF): Likewise.
3349         (WRAPPER_IMPL_AVX512): Likewise.
3350         (WRAPPER_IMPL_AVX512_ff): Likewise.
3351         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
3352         Likewise.
3353         (WRAPPER_IMPL_SSE2_ff): Likewise.
3354         (WRAPPER_IMPL_SSE2_fFF): Likewise.
3355         (WRAPPER_IMPL_AVX): Likewise.
3356         (WRAPPER_IMPL_AVX_ff): Likewise.
3357         (WRAPPER_IMPL_AVX_fFF): Likewise.
3358         (WRAPPER_IMPL_AVX512): Likewise.
3359         (WRAPPER_IMPL_AVX512_ff): Likewise.
3360         (WRAPPER_IMPL_AVX512_fFF): Likewise.
3362 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3364         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
3365         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
3366         qualifier.
3367         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
3368         internal_function qualifiers.
3370 2016-03-15  Carlos O'Donell <carlos@redhat.com>
3372         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
3373         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
3374         * math/atest-exp.c (exp_mpn): Mark chk unused.
3375         * math/atest-exp2.c (exp_mpn): Likwise.
3376         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
3377         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
3379 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
3381         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
3382         Remove macro.
3383         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
3384         <kernel-features.h>.
3385         [__NR_ppoll]: Make code unconditional.
3386         [!__ASSUME_PPOLL]: Remove conditional code.
3388         * sysdeps/unix/sysv/linux/kernel-features.h
3389         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
3390         (__ASSUME_ACCEPT4): Likewise.
3391         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3392         Define.
3393         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
3394         Likewise.
3395         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3396         Likewise.
3397         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
3398         Likewise.
3399         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
3400         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
3401         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3402         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3403         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3404         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3405         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3406         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3407         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3408         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3409         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3410         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3411         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3412         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3413         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3414         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3415         Likewise.
3416         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3417         Likewise.
3418         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3419         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3420         0x040300].
3421         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3422         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3423         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3424         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3425         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
3426         0x030300].
3427         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
3428         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3429         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3430         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3431         0x040300].
3432         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3433         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3434         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3435         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3436         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3437         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3438         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
3439         0x030300].
3440         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3441         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3442         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3443         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3444         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3445         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3446         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3447         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3448         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3449         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3450         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3451         0x040300].
3452         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3453         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3454         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3455         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3456         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3457         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3458         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3459         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3460         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3461         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3462         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3463         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3464         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3465         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3466         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
3467         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3468         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3469         Likewise.
3470         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3471         Likewise.
3473 2016-03-15  Andreas Schwab  <schwab@suse.de>
3475         [BZ #19257]
3476         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
3477         statp->_u._ext.nscount as loop count.
3479 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
3481         * math/test-signgam-finite-c99.c: Also #undef
3482         __LIBC_INTERNAL_MATH_INLINES.
3483         * math/test-signgam-main.c: Likewise.
3485 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
3487         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
3488         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
3489         (MADV_FREE): Likewise.
3490         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
3491         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
3492         EPOLLEXCLUSIVE.
3494 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
3496         * timezone/README: Remove mention of checktab.awk. Mention wiki
3497         SharedSourceFiles.
3499 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
3501         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
3502         WUNTRACED.
3504 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3506         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
3507         order to match the type of p when calling atomic_exchange_acq().
3509 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3511         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
3512         cfi_offset calls.
3513         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
3514         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
3515         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
3516         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
3517         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
3519 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
3521         * timezone/checktab.awk: Removed.
3523 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
3525         * manual/math.texi (Errors in Math Functions): Document relaxed
3526         accuracy goals for IBM long double.
3527         * math/libm-test.inc (test_exceptions): Always allow spurious
3528         "underflow" and "inexact" exceptions for IBM long double.
3530 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
3532         [BZ #19762]
3533         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
3534         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
3535         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3536         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
3537         (bit_arch_*): This for feature array.
3538         (bit_*): Renamed to ...
3539         (bit_cpu_*): This for cpu array.
3540         (index_*): Renamed to ...
3541         (index_arch_*): This for feature array.
3542         (index_*): Renamed to ...
3543         (index_cpu_*): This for cpu array.
3544         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
3545         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
3546         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
3547         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
3548         bit_##name with index_cpu_##name and bit_cpu_##name.
3549         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
3550         bit_##name with index_arch_##name and bit_arch_##name.
3552 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
3554         [BZ #19792]
3555         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
3556         Terminate FDE before return label.
3558 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
3560         [BZ #19790]
3561         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
3562         (rintl): Define as macro.
3563         [USE_AS_NEARBYINTL] (__rintl): Likewise.
3564         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
3565         of fesetround.  Ensure results are evaluated before end of scope.
3566         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
3567         USE_AS_NEARBYINTL and include s_rintl.c.
3568         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
3569         Disable exception traps in new environment.
3570         (libc_feholdsetround_ppc_ctx): Likewise.
3572 2016-03-08  Roland McGrath  <roland@hack.frob.com>
3574         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
3575         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
3576         (tst_audit10_aux) [__AVX512F__]: ... here.
3578 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
3580         * include/sys/auxv.h: New file.
3582 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3584         [BZ #19759]
3585         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
3587 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3589         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
3590         operand modifier.
3591         (feclearexcept): Likewise.
3593 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3595         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
3596         to reflect the entire 32-bit HWCAP.
3597         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
3598         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
3600 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3602         [BZ #19783]
3603         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
3604         $(test-via-rtld-prefix).
3605         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
3607 2016-03-08  Florian Weimer  <fweimer@redhat.com>
3609         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
3610         union wait.  Report any non-zero exit status as error.
3612 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3614         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
3615         configured with --enable-hardcoded-path-in-tests.
3617 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
3619         [BZ #19677]
3620         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3621         (__ieee754_remainderl): Put zero low parts in canonical form.
3622         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
3623         file.  Based on
3624         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
3625         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
3626         with wrapper round test-fmodrem-ldbl-128ibm.c.
3627         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
3628         file.
3629         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
3630         Likewise.
3631         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3632         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
3634 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3636         [BZ #19610]
3637         * elf/ldconfig.c (opt_link): Update comment.
3638         (options): Update help string for option -X.
3639         (search_dir): Unlink stale symbolic link only if updating symbolic
3640         links.
3641         * elf/tst-ldconfig-X.sh: New file.
3642         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
3643         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
3645 2016-03-07  Andreas Schwab  <schwab@suse.de>
3647         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
3648         needed arguments.
3650 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
3652         [BZ #15333]
3653         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
3654         to lstat64.
3656 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3658         * libio/filedoalloc.c (isatty): Remove.
3659         (local_isatty): Add comment.  Call __isatty directly.
3660         (_IO_file_doallocate): Update comment.  Assume _LIBC.
3661         * libio/wfiledoalloc.c (isatty): Remove.
3662         (_IO_wfile_doallocate): Update comment.
3664 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3666         [BZ #19269]
3667         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
3668         tst-audit4-aux.o.
3669         (tst-audit10): Depend on tst-audit10-aux.o.
3670         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
3671         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
3672         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
3673         instead of inline AVX code.
3674         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
3675         instead of inline AVX512 code.
3676         * sysdeps/x86_64/tst-audit4-aux.c: New file
3677         * sysdeps/x86_64/tst-audit10-aux.c: New file
3679         [BZ #19648]
3680         * test-skeleton.c (main): Do not set RLIMIT_DATA.
3682 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3684         [BZ #14750]
3685         [BZ #10354]
3686         [BZ #18433]
3687         * include/sched.h (__clone): Add hidden prototype.
3688         (__clone2): Likewise.
3689         * include/unistd.h (__dup): Likewise.
3690         * posix/Makefile (tests): Add tst-spawn2.
3691         * posix/tst-spawn2.c: New file.
3692         * sysdeps/posix/dup.c (__dup): Add hidden definition.
3693         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
3694         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3695         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3696         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3697         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3698         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
3699         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3700         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
3701         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3702         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3704         Likewise.
3705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3706         Likewise.
3707         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3708         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3709         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3710         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3711         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3712         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3713         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3714         * sysdeps/unix/sysv/linux/nptl-signals.h
3715         (____nptl_is_internal_signal): New function.
3716         * sysdeps/unix/sysv/linux/spawni.c: New file.
3718         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
3719         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
3720         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
3721         * posix/tst-execvp2.c (do_test): Likewise.
3722         * posix/tst-execvp3.c (do_test): Likewise.
3723         * posix/tst-execvp4.c (do_test): Likewise.
3724         * posix/tst-execvpe1.c: New file.
3725         * posix/tst-execvpe2.c: Likewise.
3726         * posix/tst-execvpe3.c: Likewise.
3727         * posix/tst-execvpe4.c: Likewise.
3728         * posix/tst-execvpe5.c: Likewise.
3729         * posix/tst-execvpe6.c: Likewise.
3731         [BZ #19534]
3732         * posix/execl.c (execl): Remove dynamic memory allocation.
3733         * posix/execle.c (execle): Likewise.
3734         * posix/execlp.c (execlp): Likewise.
3736 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3738         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
3739         Replace .text with .text.avx512.
3740         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3741         Likewise.
3743 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
3745         * sysdeps/generic/libnsl.abilist: New file.
3746         * sysdeps/generic/libutil.abilist: New file.
3748 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3750         [BZ #19762]
3751         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
3752         HAS_ARCH_FEATURE with Fast_Rep_String.
3753         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
3754         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
3755         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
3756         Likewise.
3757         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
3758         Likewise.
3759         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
3760         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
3761         Likewise.
3762         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
3763         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
3764         Likewise.
3766 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3768         [BZ #19745]
3769         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
3770         with *%rax in call.
3772 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3774         [BZ #19745]
3775         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
3776         with *__libc_start_main@GOTPCREL(%rip) in call.
3778 2016-03-04  Roland McGrath  <roland@hack.frob.com>
3780         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
3781         inside conditional for nonempty $(CXX).
3783         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
3784         nonempty.
3786         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
3787         to test for empty $(CXX) rather than $(CXX) of "no".
3789 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3791         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
3793 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
3794             H.J. Lu  <hongjiu.lu@intel.com>
3796         [BZ #18880]
3797         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
3798         instead of Slow_BSF, and also check for Fast_Copy_Backward to
3799         enable __memcpy_ssse3_back.
3801 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
3803         [BZ #19758]
3804         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
3805         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
3807 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
3809         [BZ #19490]
3810         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
3811         (__fentry__): Likewise.
3813 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
3815         * gmon/Makefile (noprof): Add $(sysdep_noprof).
3816         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
3818 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
3820         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
3821         __mcount_internal directly.
3822         (C_LABEL(__fentry__)): Likewise.
3823         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
3824         directly.
3826 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
3828         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3829         (__start_context): Call __setcontext directly.
3831 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
3833         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3834         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3835         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
3836         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
3837         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3838         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3839         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
3840         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3841         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3842         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
3843         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
3844         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
3845         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3846         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3847         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3848         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3849         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
3850         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3851         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3852         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
3853         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
3854         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3855         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3856         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
3857         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
3858         Remove conditional code.
3859         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3860         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
3861         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3862         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3863         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
3864         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3865         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
3866         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3867         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3868         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3869         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3870         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3872 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
3874         * NEWS (2.23): Fix typo in bug 19048 text.
3876 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
3878         [BZ #14259]
3879         * Makeconfig: Rename msgcatdir to localedir.
3880         Rename inst_msgcatdir to inst_localedir.
3881         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
3882         * config.make.in: Add localedir.
3883         * elf/Makefile ($(objpfx)sotruss): Use localedir.
3884         (ldd-rewrite): Likewise.
3885         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
3886         (install-others): Use inst_localedir.
3887         (CPPFLAGS): Use localedir.
3888         * locale/Makefile (locale-CPPFLAGS): Likewise.
3889         * po/Makefile (mo-installed): Use inst_localedir.
3891         [BZ #19575]
3892         * localedata/charmaps/GB18030: Update comments regarding PAU to
3893         non-PUA mappings.
3895 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
3897         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
3898         test for header.
3899         * sysdeps/unix/sysv/linux/configure: Regenerated.
3900         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
3901         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
3902         Remove conditional code.
3903         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
3905         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3906         Define to 3.2.0.
3907         (arch_minimum_kernel): Likewise.
3908         * sysdeps/unix/sysv/linux/configure: Regenerated.
3909         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
3910         Define to 2.6.32.
3911         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
3912         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
3913         (arch_minimum_kernel): Define to 2.6.32.
3914         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
3915         * README: Document Linux 3.2 requirement.
3916         * manual/install.texi (Linux): Document Linux 3.2 headers
3917         requirement.
3918         * INSTALL: Regenerated.
3920 2016-02-24  Andreas Schwab  <schwab@suse.de>
3922         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
3923         if !NO_LONG_DOUBLE.
3925 2016-02-22  Roland McGrath  <roland@hack.frob.com>
3927         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
3928         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
3930 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
3932         [BZ #19512]
3933         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
3935 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
3937         * posix/tst-dir.c: Include libc-internal.h.
3939 2016-02-20  Florian Weimer  <fweimer@redhat.com>
3941         [BZ #19056]
3942         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
3943         * manual/filesys.texi (Reading/Closing Directory): Mention
3944         deprecaion.
3945         * posix/tst-dir.c (main): Disable deprecation warning in test.
3947 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
3949         [BZ #19679]
3950         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
3951         Renamed to ...
3952         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
3953         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
3954         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
3955         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
3956         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
3957         * sysdeps/x86_64/dl-trampoline.h
3958         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
3959         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
3961 2016-02-19  Mark Wielaard  <mjw@redhat.com>
3963         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
3965 2016-02-19  Mark Wielaard  <mjw@redhat.com>
3967         * elf/elf.h (R_386_GOT32X): New.
3968         (R_386_NUM): Update.
3969         (R_X86_64_GOTPCRELX: New.
3970         (R_X86_64_REX_GOTPCRELX): New.
3971         (R_X86_64_NUM): Update.
3973 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
3975         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
3977 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
3979         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
3980         assign attr->stackaddr to it, and adjust it down when
3981         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
3982         [_STACK_GROWS_UP]: Delete assert.
3983         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
3984         Implement stack grows up logic.
3985         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
3986         stack grows up logic.
3988 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3990         * NEWS: Update with 2.24 template.
3992 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
3994         [BZ #19678]
3995         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3996         Ensure +0.0 is returned when taking the next value below the least
3997         positive value.
3999 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4001         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
4002         available.  Do not define NO_THREADS.
4003         * malloc/malloc.c: Do not check NO_THREADS.
4004         * malloc/arena.c: Likewise.
4006 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4008         * malloc/malloc.c (__libc_mallinfo): Update comment.
4009         (struct malloc_par): Remove max_total_mem member, it was always 0.
4010         (int_mallinfo): Store 0 into usmblks (no functional change).
4011         * malloc/hooks.c (struct malloc_state): Document that
4012         max_total_mem is always 0.
4013         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
4014         always 0.
4015         * manual/memory.texi (Statistics of Malloc): Likewise.
4017 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4019         * malloc/malloc.c (sysmalloc): Do not update arena_max.
4020         * malloc/arena.c (arena_max): Remove.
4021         (heap_trim, _int_new_arena): Do not update arena_max.
4023 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4025         * resolv/res_init.c (res_ninit): Update comment.
4027 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4029         [BZ #19505]
4030         * posix/spawn_int.h: Add headers and include guard.
4031         (__spawn_valid_fd): New function.
4032         * posix/spawn_faction_addopen.c
4033         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
4034         * posix/spawn_faction_addclose.c
4035         (posix_spawn_file_actions_addclose): Likewise.
4036         * posix/spawn_faction_adddup2.c
4037         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
4038         second file descriptor.
4039         * posix/spawn_valid_fd.c: New file.
4040         * posix/tst-posix_spawn-fd.c: New file.
4041         * posix/Makefile (routines): Add spawn_valid_fd.
4042         (tests): Add tst-posix_spawn-fd.
4044 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4046         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
4047         (do_test): Limit the number of arenas, so that we can use fewer
4048         outer threads.  Limit timeout to 3 seconds, in preparation for a
4049         larger TIMEOUT value.
4051 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
4053         [BZ #19674]
4054         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
4055         sign in overflowing and underflowing results when overflow or
4056         underflow is detected early.  Include sign in result before rather
4057         than after scaling.
4059         [BZ #19603]
4060         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4061         (__ieee754_remainderl): Adjust sign of integer version of low part
4062         when taking absolute value of high part.
4063         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4064         * math/libm-test.inc (remainder_test_data): Add another test.
4065         (remquo_test_data): Likewise.
4067 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
4069         [BZ #19602]
4070         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
4071         equal high parts and both low parts zero specially.
4072         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
4073         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
4074         Add test-fmodl-ldbl-128ibm.
4076         [BZ #19595]
4077         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
4078         common logic for all cases of shifting subnormal results.  Do not
4079         insert sign bit in shifted mantissa.  Always pass -1023 as biased
4080         exponent to ldbl_insert_mantissa in subnormal case.
4082         [BZ #19594]
4083         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
4084         on high and low parts then adjust result and use
4085         ldbl_canonicalize_int if needed.
4087         [BZ #19593]
4088         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
4089         on high part and __floor or __ceil on low part then use
4090         ldbl_canonicalize_int if needed.
4092         [BZ #19592]
4093         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
4094         high and low parts then use ldbl_canonicalize_int if needed.
4096         [BZ #17899]
4097         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
4098         New function.
4099         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
4100         on high and low parts then use ldbl_canonicalize_int if needed.
4102 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4104         * configure: Regenerated.
4106         * po/libc.pot: Regenerated.
4108         * po/be.po: Updated translation.
4109         * po/bg.po: Likewise.
4110         * po/ca.po: Likewise.
4111         * po/cs.po: Likewise.
4112         * po/da.po: Likewise.
4113         * po/el.po: Likewise.
4114         * po/eo.po: Likewise.
4115         * po/es.po: Likewise.
4116         * po/fi.po: Likewise.
4117         * po/fr.po: Likewise.
4118         * po/gl.po: Likewise.
4119         * po/hr.po: Likewise.
4120         * po/hu.po: Likewise.
4121         * po/ia.po: Likewise.
4122         * po/id.po: Likewise.
4123         * po/it.po: Likewise.
4124         * po/ja.po: Likewise.
4125         * po/lt.po: Likewise.
4126         * po/nb.po: Likewise.
4127         * po/nl.po: Likewise.
4128         * po/pt_BR.po: Likewise.
4129         * po/rw.po: Likewise.
4130         * po/sk.po: Likewise.
4131         * po/sl.po: Likewise.
4132         * po/sv.po: Likewise.
4133         * po/tr.po: Likewise.
4134         * po/zh_CN.po: Likewise.
4135         * po/zh_TW.po: Likewise.
4137         * version.h (RELEAES): Set to "development".
4138         (VERSION): Set to 2.23.90.
4140         * version.h (RELEASE): Set to "stable".
4141         (VERSION): Set to 2.23.
4142         * include/feature.h (__GLIBC_MINOR__): Set to 23.
4144         * NEWS: Updated fixed bugs.
4146 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
4147             Wilco Dijkstra  <wdijkstr@arm.com>
4149         [BZ #19462]
4150         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
4151         (_STRING_INLINE_unaligned): This.
4152         * include/string.h: Include <string_private.h>.
4153         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
4154         _STRING_INLINE_unaligned.
4155         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
4156         (_STRING_INLINE_unaligned): New.
4157         * sysdeps/aarch64/string_private.h: New file.
4158         * sysdeps/generic/string_private.h: Likewise.
4159         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
4160         * sysdeps/s390/string_private.h: Likewise.
4161         * sysdeps/x86/string_private.h: Likewise.
4162         * sysdeps/m68k/m680x0/m68020/bits/string.h
4163         (_STRING_ARCH_unaligned): Renamed to ...
4164         (_STRING_INLINE_unaligned): This.
4165         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
4166         to ...
4167         (_STRING_INLINE_unaligned): This.
4168         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
4169         to ...
4170         (_STRING_INLINE_unaligned): This.
4171         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
4172         to ...
4173         (_STRING_INLINE_unaligned): This.
4175 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
4176             H.J. Lu  <hongjiu.lu@intel.com>
4178         [BZ #19590]
4179         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
4180         relocation.
4182 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
4184         [BZ #18665]
4185         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
4186         *herrno_p.
4187         (gaih_getanswer): Document functional behviour. Return tryagain
4188         if any result is tryagain.
4189         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
4190         when freed.
4191         * resolv/res_send.c: Add copyright text.
4192         (__libc_res_nsend): Document that MAXPACKET is expected.
4193         (send_vc): Document. Remove buffer reuse.
4194         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
4195         size of the buffer. Add Dprint for truncated UDP buffer.
4197 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
4199         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
4200         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
4201         * INSTALL: Regenerate.
4203 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
4204             Jonathan Wakely  <jwakely@redhat.com>
4205             Carlos O'Donell  <carlos@redhat.com>
4207         [BZ 19439]
4208         * math/Makefile (tests): Add test-math-isinff.
4209         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
4210         * math/bits/mathcalls.h [__USE_MISC]: Use
4211         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
4212         functions not in C++11 and which don't conflict e.g. isinff,
4213         isinfl etc.
4214         * math/test-math-isinff.cc: New file.
4216 2016-02-12  Florian Weimer  <fweimer@redhat.com>
4218         * misc/bug18240.c (do_test): Set RLIMIT_AS.
4220 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4222         [BZ #19529]
4223         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
4225 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4227         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4229 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
4231         [BZ #19550]
4232         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
4233         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
4234         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
4235         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
4236         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
4237         New syscall entry.
4238         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
4239         New syscall entry.
4240         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
4241         syscall entry.
4243 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
4245         [BZ #18240]
4246         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
4247         unsigned int wraparound.
4249 2016-01-27  Florian Weimer  <fweimer@redhat.com>
4251         [BZ #18240]
4252         * misc/bug18240.c: New test.
4253         * misc/Makefile (tests): Add it.
4255 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
4256             Joseph Myers  <joseph@codesourcery.com>
4258         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
4259         load in branch delay slot when less than a word of input left.
4261 2016-01-27  Andreas Schwab  <schwab@suse.de>
4263         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
4264         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
4265         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
4266         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
4268 2016-01-26  David S. Miller  <davem@davemloft.net>
4270         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
4272 2016-01-25  David S. Miller  <davem@davemloft.net>
4274         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
4275         __sqrtl_finite.
4276         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
4277         instead using versioned_symbol.
4278         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
4279         of entries.
4281         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
4282         __sqrtl_finite to GLIBC_2.23
4284 2016-01-25  Ricchard Henderson  <rth@redhat.com>
4286         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4288 2016-01-25  Andreas Schwab  <schwab@suse.de>
4290         [BZ #17514]
4291         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
4292         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
4293         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
4294         * nptl/tst-mutex-errorcheck.c: New file.
4296 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4298         [BZ #18560]
4299         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
4300         (IPCOP_semop): Likewise.
4301         (IPCOP_semget): Likewise.
4302         (IPCOP_semctl): Likewise.
4303         (IPCOP_msgsnd): Likewise.
4304         (IPCOP_msgrcv): Likewise.
4305         (IPCOP_msgget): Likewise.
4306         (IPCOP_msgctl): Likewise.
4307         (IPCOP_shmat): Likewise.
4308         (IPCOP_shmdt): Likewise.
4309         (IPCOP_shmget): Likewise.
4310         (IPCOP_shmctl): Likewise.
4312 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
4314         * string/tst-endian.c: Include <libc-internal.h>.
4315         (do_test): Ignore tautological-compare warnings around
4316         "htobeXX (beXXtoh (i)) != i" and
4317         "htoleXX (leXXtoh (i)) != i" if-statements.
4319 2016-01-24  David S. Miller  <davem@davemloft.net>
4321         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
4322         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
4323         alias.
4324         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
4325         __sqrtl_finite.
4327         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4329 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
4331         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
4332         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
4333         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4335 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4337         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
4338         (thread_func): Use new function to simplify barrier check.
4339         (do_test): Use new function to simplify checking barrier exit
4340         code, and actually join the child thread.
4342 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4344         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
4345         semicolon.
4346         (__libc_tend): Likewise.
4347         (__libc_tabort): Likewise.
4349 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
4351         * sysdeps/nios2/libm-test-ulps: Update.
4352         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
4353         (__gtsf2): Likewise.
4354         (__unorddf2): Likewise.
4355         (__unordsf2): Likewise.
4356         (__ledf2): Likewise.
4358 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
4360         * nis/nis_table.c (__follow_path): Disable diagnostic for
4361         uninitialized variable that is a false positive for gcc 4.7.
4362         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
4364 2016-01-20  Roland McGrath  <roland@hack.frob.com>
4366         * sysdeps/nacl/lowlevellock-futex.h
4367         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
4368         Always evaluate PRIVATE argument.
4370 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
4372         [BZ #19490]
4373         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
4374         (pthread_cond_broadcast): Use ENTRY/END
4375         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
4376         (pthread_cond_signal): Likewise.
4377         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
4378         Likewise.
4379         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
4380         Likewise.
4381         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
4382         Likewise.
4384 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
4386         * sysdeps/ieee754/dbl-64/s_finite.c
4387         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
4388         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
4389         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
4390         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
4391         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
4393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
4394         (__gtsf2): Add as optional for libc.so.
4395         (__unordsf2): Likewise.
4396         (__signbit): Remove for libc.so.
4397         (__signbitl): Likewise.
4399 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
4401         * iconvdata/bug-iconv11.c (test_ibm93x):
4402         Use %zu printf format specifier for size_t argument.
4404 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
4406         * math/gen-libm-test.pl (parse_ulps): Do not reduce
4407         already-recorded ulps.
4408         * sysdeps/arm/libm-test-ulps: Regenerated.
4409         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4410         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4411         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4413 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4414             Paul Pluzhnikov  <ppluzhnikov@google.com>
4416         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
4417         assembler not supporting AVX-512.
4419 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
4421         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4423 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
4425         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4426         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4428         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4430         * sysdeps/arm/libm-test-ulps: Regenerated.
4432 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
4434         [BZ #19451]
4435         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
4437 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
4439         [BZ #19486]
4440         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
4441         * sysdeps/generic/fix-fp-int-convert-overflow.h
4442         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
4443         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
4444         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
4445         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
4446         Likewise.
4447         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
4448         Avoid conversions to long int where inexact exceptions
4449         could be raised.
4450         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
4451         Likewise.
4452         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
4453         Avoid conversions to long long int where inexact exceptions
4454         could be raised.
4455         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
4456         Likewise.
4458 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
4460         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
4461         * configure: Regenerated.
4463 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
4465         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
4467 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
4469         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
4470         outside of comment.
4472 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4474         * nptl/tst-barrier1.c: Add description on first line.
4475         * nptl/tst-barrier2.c: Likewise.
4476         * nptl/tst-barrier3.c: Likewise.
4477         * nptl/tst-barrier4.c: Likewise.
4478         * nptl/tst-barrier5.c: Likewise.
4480 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4482         [BZ #18868]
4483         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
4485 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
4487         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
4488         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
4489         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
4490         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
4491         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
4492         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
4493         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4494         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4495         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4496         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4497         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4499 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4501         [BZ #13065]
4502         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
4503         new implementation.
4504         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
4505         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
4506         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
4507         (BARRIER_IN_THRESHOLD): New macro.
4508         * nptl/pthread_barrierattr_setpshared.c
4509         (pthread_barrierattr_setpshared): Clean up.
4510         * nptl/tst-barrier4.c: Correct comment.
4511         * nptl/tst-barrier5.c: New file.
4512         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
4513         (gen-as-const-headers): Remove lowlevelbarrier.sym.
4514         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
4515         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
4516         * nptl/lowlevelbarrier.sym: Remove.
4517         * nptl/DESIGN-barrier.txt: Remove.
4518         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
4519         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
4520         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
4521         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
4522         error.
4523         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
4524         implementation.
4526 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4528         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
4529         (do_child): Mask SIGRTMIN while thr is running.
4531 2016-01-15  Martin Sebor  <msebor@redhat.com>
4533         [BZ #19432]
4534         * iconvdata/Makefile: Add bug-iconv11.
4535         * iconvdata/bug-iconv11.c: New test.
4536         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
4537         * iconvdata/ibm933.c: Same.
4538         * iconvdata/ibm935.c: Same.
4539         * iconvdata/ibm937.c: Same.
4540         * iconvdata/ibm939.c: Same.
4542 2016-01-15  Martin Sebor  <msebor@redhat.com>
4544         [BZ #19443]
4545         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
4546         [DEBUG] (_ufc_set_bits): Declare used.
4547         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
4548         [DEBUG] (print_all): Declare used.
4549         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
4550         operands of the ternary ?: expression to target type.
4551         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
4552         calling the undeclared abort.
4553         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
4555 2016-01-15  Martin Sebor  <msebor@redhat.com>
4557         [BZ #18755]
4558         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
4559         warnings.
4560         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
4561         (__gai_create_helper_thread): Same.
4562         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
4563         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
4564         to suppress -Wmaybe-uninitialized warnings.
4566 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
4568         [BZ #19465]
4569         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
4570         inside if.
4571         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4572         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4573         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4575 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
4577         [BZ #19466]
4578         * time/tst-mktime2.c (time_t_max): Removed.
4579         (time_t_min): Likewise.
4580         (TYPE_SIGNED): New.
4581         (TYPE_MINIMUM): Likewise.
4582         (TYPE_MAXIMUM): Likewise.
4583         (TIME_T_MIN): Likewise.
4584         (TIME_T_MAX): Likewise.
4585         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
4586         and TIME_T_MIN.
4587         (do_test): Likewise.
4589 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
4591         [BZ #19467]
4592         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4593         index_Fast_Unaligned_Load flag for Excavator family CPUs.
4595 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
4597         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
4599 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
4601         * benchtests/Makefile (PYTHON): Define.
4602         (bench-func): Use $(PYTHON) to run python scripts.
4603         ($(objpfx)bench-%.c): Likewise.
4605 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
4607         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
4608         leading slash when `file_name' is "/".
4610 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
4612         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
4613         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
4614         Likewise.
4615         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
4616         Likewise.
4617         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
4618         Likewise.
4619         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
4620         enum constant and macro.
4621         (PTRACE_SETSIGMASK): Likewise.
4622         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4623         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
4624         (PTRACE_GETSIGMASK): Likewise.
4625         (PTRACE_SETSIGMASK): Likewise.
4626         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4627         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
4628         Likewise.
4629         (PTRACE_SETSIGMASK): Likewise.
4630         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4631         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
4632         (PTRACE_GETSIGMASK): Likewise.
4633         (PTRACE_SETSIGMASK): Likewise.
4634         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4635         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
4636         Likewise.
4637         (PTRACE_SETSIGMASK): Likewise.
4638         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4639         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
4640         Likewise.
4641         (PTRACE_SETSIGMASK): Likewise.
4642         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4643         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
4644         Likewise.
4645         (PTRACE_SETSIGMASK): Likewise.
4646         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4648 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
4649             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4651         [BZ #19439]
4652         * math/bits/mathcalls.h
4653         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
4654         prototype.
4655         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
4657 2016-01-11  Andreas Schwab  <schwab@suse.de>
4659         [BZ #19253]
4660         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
4661         cache when TZDEFRULES was used.
4662         * time/tst-tzname.c: New file.
4663         * time/Makefile (test): Add tst-tzname.
4664         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
4665         * timezone/Makefile (test-zones): Add $(posixrules-file).
4666         ($(testdata)/$(posixrules-file)): New rule.
4668 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
4670         Fix doc quoting problems with Texinfo 5
4671         Without this change, in the info file output, Texinfo 5 quotes code
4672         in text with undirected single quotes 'like this' and generates
4673         code examples that with many PDF readers cannot be cut out of PDFs
4674         and pasted into code.
4675         * manual/libc.texinfo: Configure the libc manual like the GNU
4676         Emacs manual, by using @documentencoding and setting
4677         txicodequoteundirected and txicodequotebacktick.  This way,
4678         Texinfo 5 quotes code in text with directed single quotes ‘like
4679         this’ and produces examples that can be cut out of PDFs.  This
4680         change causes Texinfo 5 to generate info files that contain UTF-8
4681         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
4682         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
4684 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4686         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
4687         __libc_tabort, __libc_tend): New wrappers that enforce compiler
4688         barriers to their respective compiler built-ins.
4689         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
4690         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
4691         * sysdeps/powerpc/sysdep.h: Likewise.
4692         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
4693         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
4694         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
4696 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
4698         * scripts/config.guess: Revert previous shebang change.
4699         * scripts/config.sub: Likewise.
4700         * scripts/mkinstalldirs: Likewise.
4702 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4704         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
4705         PPC_FEATURE2_HAS_IEEE128.
4706         * sysdeps/powerpc/dl-procinfo.c:
4707         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
4709 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
4711         [BZ #19415]
4712         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
4713         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
4714         (_dl_lookup_address): Rewrite using function resolver trampoline.
4715         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
4716         two bits in address.
4718 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
4720         * longlong.h: Change !__SHMEDIA__ to
4721         (!defined (__SHMEDIA__) || !__SHMEDIA__).
4722         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
4724 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
4725             Joseph Myers  <joseph@codesourcery.com>
4726             Mark Shinwell  <shinwell@codesourcery.com>
4727             Andrew Stubbs  <ams@codesourcery.com>
4728             Rich Felker <dalias@libc.org>
4730         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
4732 2016-01-07  Richard Henderson  <rth@redhat.com>
4734         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
4736 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
4738         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
4739         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
4740         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4741         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4742         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
4744 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
4745             Joseph Myers  <joseph@codesourcery.com>
4747         * timezone/private.h: Update from tzcode 2015g.
4748         * timezone/tzfile.h: Likewise.
4749         * timezone/tzselect.ksh: Likewise.
4750         * timezone/zdump.c: Likewise.
4751         * timezone/zic.c: Likewise.
4752         * timezone/ialloc.c: Remove file.
4753         * timezone/scheck.c: Likewise.
4754         * timezone/Makefile (extra-objs): Remove variable.
4755         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
4756         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
4757         -Wno-maybe-uninitialized.
4758         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
4759         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
4760         (CFLAGS-ialloc.c): Remove variable.
4761         (CFLAGS-scheck.c): Likewise.
4762         * timezone/README: Update list of files from tzcode.
4764 2016-01-07  Khem Raj  <raj.khem@gmail.com>
4766         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
4767         instead of __fxprintf when _LIBC is undefined.
4769 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
4771         * catgets/test-gencat.sh: Remove space after shebang.
4772         * conform/GlibcConform.pm: Likewise.
4773         * conform/check-header-lists.sh: Likewise.
4774         * conform/conformtest.pl: Likewise.
4775         * conform/linknamespace.pl: Likewise.
4776         * conform/list-header-symbols.pl: Likewise.
4777         * debug/catchsegv.sh: Likewise.
4778         * elf/genrtldtbl.awk: Likewise.
4779         * elf/tst-pathopt.sh: Likewise.
4780         * elf/tst-rtld-load-self.sh: Likewise.
4781         * grp/tst_fgetgrent.sh: Likewise.
4782         * iconvdata/gen-8bit-gap-1.sh: Likewise.
4783         * iconvdata/gen-8bit-gap.sh: Likewise.
4784         * iconvdata/gen-8bit.sh: Likewise.
4785         * iconvdata/run-iconv-test.sh: Likewise.
4786         * intl/tst-gettext.sh: Likewise.
4787         * intl/tst-gettext2.sh: Likewise.
4788         * intl/tst-gettext4.sh: Likewise.
4789         * intl/tst-gettext6.sh: Likewise.
4790         * intl/tst-translit.sh: Likewise.
4791         * io/ftwtest-sh: Likewise.
4792         * libio/test-freopen.sh: Likewise.
4793         * locale/gen-translit.pl: Likewise.
4794         * malloc/tst-mtrace.sh: Likewise.
4795         * manual/check-safety.sh: Likewise.
4796         * manual/libc-texinfo.sh: Likewise.
4797         * manual/tsort.awk: Likewise.
4798         * manual/xtract-typefun.awk: Likewise.
4799         * nptl/tst-cancel-wrappers.sh: Likewise.
4800         * nptl/tst-tls6.sh: Likewise.
4801         * posix/globtest.sh: Likewise.
4802         * posix/tst-getconf.sh: Likewise.
4803         * posix/wordexp-tst.sh: Likewise.
4804         * scripts/check-c++-types.sh: Likewise.
4805         * scripts/check-local-headers.sh: Likewise.
4806         * scripts/config.guess: Likewise.
4807         * scripts/config.sub: Likewise.
4808         * scripts/cpp: Likewise.
4809         * scripts/cross-test-ssh.sh: Likewise.
4810         * scripts/documented.sh: Likewise.
4811         * scripts/evaluate-test.sh: Likewise.
4812         * scripts/gen-libc-abis: Likewise.
4813         * scripts/gen-sorted.awk: Likewise.
4814         * scripts/list-fixed-bugs.py: Likewise.
4815         * scripts/merge-test-results.sh: Likewise.
4816         * scripts/mkinstalldirs: Likewise.
4817         * scripts/rellns-sh: Likewise.
4818         * scripts/test-installation.pl: Likewise.
4819         * scripts/update-copyrights: Likewise.
4820         * stdio-common/tst-printf.sh: Likewise.
4821         * stdio-common/tst-unbputc.sh: Likewise.
4822         * stdlib/tst-fmtmsg.sh: Likewise.
4823         * stdlib/tst-setcontext3.sh: Likewise.
4824         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
4825         * sysdeps/unix/make-syscalls.sh: Likewise.
4827 2016-01-06  John David Anglin  <dave.anglin@bell.net>
4829         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
4830         asm stw with atomic_exchange_rel.  Add explanatory comment.
4831         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
4832         Likewise.
4834 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
4836         [BZ #19122]
4837         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
4838         * sysdeps/generic/dl-unistd.h: New file.
4839         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
4841 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
4843          [BZ #19122]
4844          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
4845          * sysdeps/generic/dl-mman.h: New file.
4846          * sysdeps/mach/hurd/dl-mman.h: Likewise.
4848 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
4850         * manual/texinfo.tex: Update to version 2016-01-04.21 with
4851         trailing whitespace removed.
4852         * scripts/config.guess: Update to version 2016-01-01.
4853         * scripts/config.sub: Update to version 2016-01-01.
4854         * scripts/move-if-change: Update from gnulib.
4856 2016-01-04  Anton Blanchard  <anton@samba.org>
4858         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
4859         for array indices.
4860         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
4862 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
4864         * NEWS: Update copyright dates.
4865         * catgets/gencat.c (print_version): Likewise.
4866         * csu/version.c (banner): Likewise.
4867         * debug/catchsegv.sh: Likewise.
4868         * debug/pcprofiledump.c (print_version): Likewise.
4869         * debug/xtrace.sh (do_version): Likewise.
4870         * elf/ldconfig.c (print_version): Likewise.
4871         * elf/ldd.bash.in: Likewise.
4872         * elf/pldd.c (print_version): Likewise.
4873         * elf/sotruss.sh: Likewise.
4874         * elf/sprof.c (print_version): Likewise.
4875         * iconv/iconv_prog.c (print_version): Likewise.
4876         * iconv/iconvconfig.c (print_version): Likewise.
4877         * locale/programs/locale.c (print_version): Likewise.
4878         * locale/programs/localedef.c (print_version): Likewise.
4879         * login/programs/pt_chown.c (print_version): Likewise.
4880         * malloc/memusage.sh (do_version): Likewise.
4881         * malloc/memusagestat.c (print_version): Likewise.
4882         * malloc/mtrace.pl: Likewise.
4883         * manual/libc.texinfo: Likewise.
4884         * nptl/version.c (banner): Likewise.
4885         * nscd/nscd.c (print_version): Likewise.
4886         * nss/getent.c (print_version): Likewise.
4887         * nss/makedb.c (print_version): Likewise.
4888         * posix/getconf.c (main): Likewise.
4889         * scripts/test-installation.pl: Likewise.
4890         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4892         * All files with FSF copyright notices: Update copyright dates
4893         using scripts/update-copyrights.
4894         * intl/plural.c: Regenerated.
4895         * locale/programs/charmap-kw.h: Likewise.
4896         * locale/programs/locfile-kw.h: Likewise.
4898 2016-01-02  Helge Deller  <deller@gmx.de>
4900         [BZ #19285]
4901         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
4902         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
4903         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
4904         (MADV_xxK_PAGES): Remove.
4906 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
4908         [BZ #15421]
4909         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
4910         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
4911         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
4912         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
4914 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
4916         [BZ #19408]
4917         * sysdeps/unix/sysv/linux/personality.c: New file.
4918         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
4919         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
4920         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
4921         (sysdep_routines): Add personality.
4922         (tests): Add tst-personality.
4923         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
4924         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
4925         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
4926         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
4927         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
4928         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
4929         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
4930         Likewise.
4931         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
4932         Likewise.
4933         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
4934         Likewise.
4935         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
4936         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
4937         Likewise.
4939 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
4941         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
4942         (PATH_ARM_SYSTYPE): Remove.
4943         (PATH_CPUINFO): Likewise.
4944         (IO_BASE_FOOTBRIDGE): Likewise.
4945         (IO_SHIFT_FOOTBRIDGE): Likewise.
4946         (struct platform): Likewise.
4947         (init_iosys): Remove compatibility code for 2.4 kernels.
4948         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
4950 2015-12-29  Florian Weimer  <fweimer@redhat.com>
4952         * malloc/tst-malloc-thread-fail.c: New file.
4953         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
4954         (tst-malloc-thread-fail): Link against libpthread.
4956 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
4958         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
4959         (get_parser): New function.
4960         (main): New function.
4962 2015-12-29  Rob Wu  <rob@robwu.nl>
4964         [BZ #19369]
4965         * resolv/res_init.c (__res_vinit): Reset defdname before use.
4967 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
4969         [BZ #19270]
4970         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
4972 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
4974         [BZ #15421]
4975         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
4977 2015-12-23  Torvald Riegel  <triegel@redhat.com>
4979         [BZ #13690]
4980         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
4981         after releasing it.
4982         (__lll_robust_unlock): Likewise.
4983         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4984         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
4985         (lll_robust_unlock): Likewise.
4986         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
4987         Prevent warnings in callers.
4989 2015-12-23  Florian Weimer  <fweimer@redhat.com>
4991         * malloc/arena.c (list_lock): Update comment.
4993 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4995         * sysdeps/powerpc/hwcapinfo.c: Export symbol
4996         __parse_hwcap_and_convert_at_platform to libc.a.
4998 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5000         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
5001         platform and feature support for POWER9.
5002         * sysdeps/powerpc/dl-procinfo.h: Likewise.
5003         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
5004         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
5005         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
5006         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
5007         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
5008         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
5009         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
5011 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5013         Harmonize generic stdio-lock support with nptl
5015         This fixes build when _IO_funlockfile is a macro, fixes build where
5016         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
5017         stack unwind.
5019         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
5020         _IO_release_lock ): Use cleanup attribute on new
5021         _IO_acquire_lock_file variable instead of assuming that
5022         _IO_release_lock will be called.
5023         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
5024         _IO_acquire_lock_needs_exceptions_enabled.
5025         (_IO_acquire_lock_clear_flags2): New macro.
5027 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5029         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5031 2015-12-21  Florian Weimer  <fweimer@redhat.com>
5033         [BZ #19182]
5034         * malloc/arena.c (list_lock): Document lock ordering requirements.
5035         (free_list_lock): New lock.
5036         (ptmalloc_lock_all): Comment on free_list_lock.
5037         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
5038         (detach_arena): Update comment.  free_list_lock is now needed.
5039         (_int_new_arena): Use free_list_lock around detach_arena call.
5040         Acquire arena lock after list_lock.  Add comment, including FIXME
5041         about incorrect synchronization.
5042         (get_free_list): Switch to free_list_lock.
5043         (reused_arena): Acquire free_list_lock around detach_arena call
5044         and attached threads counter update.  Add two FIXMEs about
5045         incorrect synchronization.
5046         (arena_thread_freeres): Switch to free_list_lock.
5047         * malloc/malloc.c (struct malloc_state): Update comments to
5048         mention free_list_lock.
5050 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
5052         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
5053         Remove functions.
5054         (sloww, sloww1): Accept argument to offset quadrant.
5055         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
5056         quadrant.
5057         (__sin, __cos): Consolidate common code into new functions.
5058         (reduce_sincos_1, do_sincos_1): New functions.
5059         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5061         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
5062         code to new functions.
5063         (reduce_sincos_2, do_sincos_2): New functions.
5064         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5066         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
5067         common code for sincos.
5068         (__cos) [!IN_SINCOS]: Likewise.
5069         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
5070         New function.
5071         (__sincos): Use it.
5073 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
5075         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
5076         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
5077         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5079 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5081         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
5082         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
5083         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5084         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
5085         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5086         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
5087         index_Prefer_No_VZEROUPPER): New feature.
5088         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
5089         Prefer_No_VZEROUPPER for Knights Landing.
5091 015-12-18  Torvald Riegel  <triegel@redhat.com>
5093         * math/atest-exp2.c (mp_exp_m1): Remove.
5095 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5097         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
5098         syscalls.
5099         (__SYSCALL0): New macro.
5100         (__SYSCALL1): Likewise.
5101         (__SYSCALL2): Likewise.
5102         (__SYSCALL3): Likewise.
5103         (__SYSCALL4): Likewise.
5104         (__SYSCALL5): Likewise.
5105         (__SYSCALL6): Likewise.
5106         (__SYSCALL_CONCAT_X): Likewise.
5107         (__SYSCALL_CONCAT): Likewise.
5108         (__SYSCALL_DIST): Likewise.
5109         (__SYSCALL_CALL): Likewise.
5111 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
5113         [BZ #19363]
5114         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
5116 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5118         [BZ #19375]
5119         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
5120         negative subnormals.
5122 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
5124         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5125         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
5126         (INTERNAL_SYSCALL_NCS): Use it.
5127         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5129 2015-12-16  Florian Weimer  <fweimer@redhat.com>
5131         [BZ #19243]
5132         * malloc/arena.c (get_free_list): Remove assert and adjust
5133         reference count handling.  Add comment about reused_arena
5134         interaction.
5135         (reused_arena): Add comments abount get_free_list interaction.
5136         * malloc/tst-malloc-thread-exit.c: New file.
5137         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
5138         (tst-malloc-thread-exit): Link against libpthread.
5140 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
5142         [BZ #19367]
5143         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
5144         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
5145         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
5146         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
5147         (index_Prefer_MAP_32BIT_EXEC): Likewise.
5149 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
5151         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
5152         Silvermont optimizations for Knights Landing.
5154 2015-12-15  Andreas Schwab  <schwab@suse.de>
5156         [BZ #17197]
5157         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
5158         immediately after emitting SI.
5159         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
5160         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
5161         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
5162         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
5163         * iconvdata/bug-iconv10.c: New file.
5164         * iconvdata/Makefile (tests): Add bug-iconv10.
5165         ($(objpfx)bug-iconv10.out): New rule.
5167 2015-12-15  Florian Weimer  <fweimer@redhat.com>
5169         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
5170         aliasing violation.
5172 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
5174         [BZ #18472]
5175         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
5176         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
5177         conditionals for them.
5178         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
5179         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
5180         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5181         sys/kdaemon.h.
5182         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
5183         compat-only syscall, obsoleted in glibc 2.23.
5184         (create_module): Likewise.
5185         (get_kernel_syms): Likewise.
5186         (query_module): Likewise.
5187         (uselib): Likewise.
5188         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
5190 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
5192         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
5193         <linux/version.h>.
5194         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
5195         conditional code.
5196         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
5197         and ioshift_name initialization.
5199 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5201         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5202         Fix indentation.
5204 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5206         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
5208 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5210         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
5212 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
5213             Jakub Wilk  <jwilk@debian.org>
5215         [BZ #19347]
5216         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
5217         to change the group of the device to the tty group.
5219 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
5221         Split large string section; add truncation advice
5222         * manual/examples/strncat.c: Remove.
5223         This example was misleading, as the code would have undefined
5224         behavior if "hello" was longer than SIZE.  Anyway, the manual
5225         shouldn't encourage strncpy+strncat for this sort of thing.
5226         * manual/string.texi (Copying Strings and Arrays): Split into
5227         three sections Copying Strings and Arrays, Concatenating Strings,
5228         and Truncating Strings, as this section was way too long.  All
5229         cross-referenced changed.  Add advice about string-truncation
5230         functions.  Remove misleading strncat example.
5232 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
5234         * manual/nss.texi (NSS Modules Interface): Document
5235         NSS_STATUS_NOTFOUND and SUCCESS.
5237 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
5239         [BZ 18568]
5240         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5241         201505L, for Unicode 8.
5243 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
5245         * locale/C-translit.h: Regenerate.
5247 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
5249         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
5250         and U+0153.
5252 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
5254         [BZ #19351]
5255         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
5256         expanding log(1+z), compare z rather than its square with epsilon
5257         to determine when to avoid evaluating the expansion.
5259         [BZ #19350]
5260         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
5261         Increase overflow threshold.
5263         [BZ #19349]
5264         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
5265         when small.
5267         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5268         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
5269         New macro.
5270         [__LINUX_KERNEL_VERSION >= 0x040300]
5271         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5272         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
5273         Likewise.
5274         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
5275         Likewise.
5276         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
5277         Likewise.
5278         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
5279         Likewise.
5280         [__LINUX_KERNEL_VERSION >= 0x040300]
5281         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
5282         [__LINUX_KERNEL_VERSION >= 0x040300]
5283         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5284         [__LINUX_KERNEL_VERSION >= 0x040300]
5285         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5286         [__LINUX_KERNEL_VERSION >= 0x040300]
5287         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5288         [__LINUX_KERNEL_VERSION >= 0x040300]
5289         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5290         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
5291         Likewise.
5292         [__LINUX_KERNEL_VERSION >= 0x040300]
5293         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5294         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5295         Likewise.
5296         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
5297         Likewise.
5298         [__LINUX_KERNEL_VERSION >= 0x040300]
5299         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
5300         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5301         Likewise.
5302         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
5303         Likewise.
5304         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5305         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
5306         Likewise.
5307         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
5308         Likewise.
5309         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
5310         Likewise.
5311         [__LINUX_KERNEL_VERSION >= 0x040300]
5312         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5313         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
5314         Likewise.
5315         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
5316         Likewise.
5317         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
5318         Likewise.
5319         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
5320         Likewise.
5321         [__LINUX_KERNEL_VERSION >= 0x040300]
5322         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
5323         [__LINUX_KERNEL_VERSION >= 0x040300]
5324         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5325         [__LINUX_KERNEL_VERSION >= 0x040300]
5326         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5327         [__LINUX_KERNEL_VERSION >= 0x040300]
5328         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5329         [__LINUX_KERNEL_VERSION >= 0x040300]
5330         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5331         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
5332         Likewise.
5333         [__LINUX_KERNEL_VERSION >= 0x040300]
5334         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5335         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5336         Likewise.
5337         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
5338         Likewise.
5339         [__LINUX_KERNEL_VERSION >= 0x040300]
5340         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
5341         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5342         Likewise.
5343         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
5344         Likewise.
5345         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5346         (__ASSUME_SOCKET_SYSCALL): Likewise.
5347         (__ASSUME_BIND_SYSCALL): Likewise.
5348         (__ASSUME_CONNECT_SYSCALL): Likewise.
5349         (__ASSUME_LISTEN_SYSCALL): Likewise.
5350         (__ASSUME_ACCEPT_SYSCALL): Likewise.
5351         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5352         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5353         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5354         (__ASSUME_SEND_SYSCALL): Likewise.
5355         (__ASSUME_SENDTO_SYSCALL): Likewise.
5356         (__ASSUME_RECV_SYSCALL): Likewise.
5357         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5358         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
5359         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5360         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5361         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5362         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5363         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5364         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
5365         Likewise.
5366         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
5367         Likewise.
5368         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
5369         Likewise.
5370         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
5371         Likewise.
5372         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
5373         Likewise.
5374         [__LINUX_KERNEL_VERSION >= 0x020625]
5375         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5376         [__LINUX_KERNEL_VERSION >= 0x020625]
5377         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5378         [__LINUX_KERNEL_VERSION >= 0x020625]
5379         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5380         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
5381         Likewise.
5382         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
5383         Likewise.
5384         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
5385         Likewise.
5386         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
5387         Likewise.
5388         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
5389         Likewise.
5390         [__LINUX_KERNEL_VERSION >= 0x020625]
5391         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5392         [__LINUX_KERNEL_VERSION >= 0x020625]
5393         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5394         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
5395         Likewise.
5396         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
5397         Likewise.
5399 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
5401         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
5402         record the current if the current ABI and CPU support the FP64
5403         extension.
5404         (has-modd-spreg): Define to record the current if the current ABI and
5405         CPU support 32-bit floating point values in odd FPU registers.
5406         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5407         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
5408         $(has-modd-spreg) equals yes.
5409         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
5410         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
5411         $(has-modd-spreg) equal yes.
5413 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
5415         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
5416         basename.
5418 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
5420         * benchtests/Makefile (bench-math): Move ffs and ffsll...
5421         (bench-string): ... here.
5422         (bench): Add bench-string.
5423         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
5424         to *-benchset to reflect what they are.
5425         (benchset): Adjust.
5427         * benchtests/sincos-inputs: Add inputs from sin-inputs and
5428         cos-inputs.
5430 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
5432         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
5433         __attribute__ ((__simd__)) for vector math function declarations.
5435 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
5437         Fix typo in strncat, wcsncat manual entries
5438         * manual/string.texi (Copying and Concatenation): Fix typos in
5439         sample implementations of strncat and wcsncat, by having them use
5440         the old value of the destination length, not the new one.
5442 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
5444         [BZ #16961]
5445         [BZ #16962]
5446         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
5447         string on the stack for strtod.
5448         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
5449         a string on the stack for strtof.
5450         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
5451         constructing a string on the stack for strtold.
5452         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
5453         __strtold_nan to GLIBC_PRIVATE.
5454         * math/test-nan-overflow.c: New file.
5455         * math/test-nan-payload.c: Likewise.
5456         * math/Makefile (tests): Add test-nan-overflow and
5457         test-nan-payload.
5459 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
5461         Consistency about byte vs character in string.texi
5462         * manual/string.texi (String and Array Utilities):
5463         Distinguish more carefully among bytes, multibyte characters,
5464         and wide characters.  Use "byte" when talking about C 'char',
5465         to distinguish it more clearly from multibyte characters.
5466         Say "wide character" or "multibyte character" instead of
5467         "character", when a wide or multibyte character is intended.
5468         Similarly for "multibyte string" versus "string".
5469         Define these terms more carefully.
5471 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
5473         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
5474         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
5475         Likewise.
5476         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
5477         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
5478         * sysdeps/sh/math_private.h: New file.
5479         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
5480         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
5481         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
5482         long double function name.
5483         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5484         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5485         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5486         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5487         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
5489         Remove __finitel, __isinfl, and __isnanl.
5490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5491         Likewise.
5492         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5494         Remove __finitel.
5495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5496         Likewise.
5497         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5499 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
5501         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
5502         installed libmvec_nonshared.a.
5504 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5506         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
5507         (sysdep_routines): Likewise.
5508         (sysdep-rtld-routines): Likewise.
5509         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
5510         [$(subdir) = nptl](tests-static): test-get_hwcap-static
5511         * sysdeps/powerpc/Versions: Added new
5512         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
5513         * sysdeps/powerpc/hwcapinfo.c: New file.
5514         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
5515         and parse hwcap, hwcap2 and platform number information.
5516         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
5517         to store HWCAP+HWCAP2 and platform number.
5518         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
5519         for HWCAP+HWCAP2 and platform number in the TCB.
5520         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
5521         the HWCAP, HWCAP2 and platform number in the TCB.
5522         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
5523         (TLS_INIT_TP): Included calls to add the hwcap and
5524         at_platform values in the TCB in TP initialization.
5525         (TLS_DEFINE_INIT_TP): Likewise.
5526         (THREAD_GET_HWCAP): New macro.
5527         (THREAD_SET_HWCAP): Likewise.
5528         (THREAD_GET_AT_PLATFORM): Likewise.
5529         (THREAD_SET_AT_PLATFORM): Likewise.
5530         * sysdeps/powerpc/powerpc32/dl-machine.h:
5531         (dl_platform_init): New function that calls
5532         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
5533         powerpc32.
5534         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
5535         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
5536         this functionality, static linking case.
5537         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
5538         linking case.
5539         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
5540         __parse_hwcap_and_convert_at_platform for the static linking case.
5541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
5542         Included the new __parse_hwcap_and_convert_at_platform symbol in the
5543         ABI list for GLIBC 2.23.
5544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
5545         Likewise.
5546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
5547         Likewise.
5549 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
5551         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
5552         * configure: Regenerate.
5553         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
5554         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
5556 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
5558         * iconvdata/ibm930.c: Add comment explaining encoding uses.
5559         * iconvdata/ibm933.c: Likewise.
5560         * iconvdata/ibm935.c: Likewise.
5561         * iconvdata/ibm937.c: Likewise.
5562         * iconvdata/ibm939.c: Likewise.
5564 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5566         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
5567         pthread_join.
5568         * nptl/tst-cancel21.c (tf): Likewise.
5570 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
5572         [BZ #19313]
5573         * bits/typesizes.h (__CPU_MASK_TYPE): New.
5574         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5575         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5576         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
5577         Likewise.
5578         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
5579         Likewise.
5580         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
5581         Likewise.
5582         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
5583         Likewise.
5584         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
5585         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
5586         unsigned long int with __CPU_MASK_TYPE.
5588 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5590         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5592 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
5594         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
5595         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
5596         t512.x.
5597         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
5599 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
5601         [BZ #19214]
5602         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
5603         argument to return extended model.  Update family and model
5604         with extended family and model when family == 0x0f.
5605         (init_cpu_features): Updated.
5607 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5609         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
5610         signed off_t, so 32bit bigger than 2GiB values are fine actually.
5612         * sysdeps/mach/hurd/mmap64.c: New file.
5614 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
5616         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
5617         rights for its main user thread in NEWTASK.
5619 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
5621         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
5622         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
5624 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
5626         [BZ #14259]
5627         * Makeconfig: Rename localedir to complocaledir.
5628         Rename inst_localedir to inst_complocaledir.
5629         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
5630         * config.make.in: Use complocaledir and libc_cv_complocaledir.
5631         * configure.ac: Use libc_cv_complocaledir.
5632         * configure: Regenerate.
5633         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
5634         -DCOMPLOCALEDIR.
5635         * locale/findlocale.c: Use COMPLOCALEDIR.
5636         * locale/loadarchive.c: Likewise.
5637         * locale/programs/locale.c: Likewise.
5638         * locale/programs/localedef.c: Likewise.
5639         * locale/programs/locarchive.c: Likewise.
5640         * localedata/Makefile: Use inst_complocaledir.
5641         * sysdeps/gnu/configure: Regenerate.
5642         * sysdeps/hppa/configure: Regenerate.
5643         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
5644         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5646         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
5647         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
5648         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
5649         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
5651 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
5653         [BZ #19058]
5654         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
5655         AS_NEEDED.
5656         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
5657         workaround.
5658         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
5659         libmvec-static-only-routines): Added new file.
5660         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
5662 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5664         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
5665         of interrupted RPC instead of restoring it.
5667         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
5668         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
5669         libc_hidden_def.
5670         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
5671         into initialized data instead of common. Define rtld_hidden_data_def.
5672         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
5673         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
5674         libc_hidden_def.
5675         (if_freenameindex): Add libc_hidden_weak.
5676         (if_nameindex): Add libc_hidden_weak.
5677         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
5678         __open64.
5679         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
5680         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
5681         * sysdeps/mach/nanosleep.c: Include <time.h>
5682         (__nanosleep): Rename to __libc_nanosleep.
5683         (__nanosleep): Add weak_alias.
5684         (nanosleep): Update alias.
5686 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
5688         * stdlib/strtod_nan.c: New file.
5689         * stdlib/strtod_nan_double.h: Likewise.
5690         * stdlib/strtod_nan_float.h: Likewise.
5691         * stdlib/strtod_nan_main.c: Likewise.
5692         * stdlib/strtod_nan_narrow.h: Likewise.
5693         * stdlib/strtod_nan_wide.h: Likewise.
5694         * stdlib/strtof_nan.c: Likewise.
5695         * stdlib/strtold_nan.c: Likewise.
5696         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
5697         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
5698         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
5699         * wcsmbs/wcstod_nan.c: Likewise.
5700         * wcsmbs/wcstof_nan.c: Likewise.
5701         * wcsmbs/wcstold_nan.c: Likewise.
5702         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
5703         strtold_nan.
5704         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
5705         wcstof_nan.
5706         * include/stdlib.h (__strtof_nan): Declare and use
5707         libc_hidden_proto.
5708         (__strtod_nan): Likewise.
5709         (__strtold_nan): Likewise.
5710         (__wcstof_nan): Likewise.
5711         (__wcstod_nan): Likewise.
5712         (__wcstold_nan): Likewise.
5713         * include/wchar.h (____wcstoull_l_internal): Declare.
5714         * stdlib/strtod_l.c: Do not include <ieee754.h>.
5715         (____strtoull_l_internal): Remove declaration.
5716         (STRTOF_NAN): Define macro.
5717         (SET_MANTISSA): Remove macro.
5718         (STRTOULL): Likewise.
5719         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
5720         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
5721         (STRTOF_NAN): Define macro.
5722         (SET_MANTISSA): Remove macro.
5723         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
5724         (SET_MANTISSA): Remove macro.
5725         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
5726         macro.
5727         (SET_MANTISSA): Remove macro.
5728         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
5729         macro.
5730         (SET_MANTISSA): Remove macro.
5731         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
5732         (SET_MANTISSA): Remove macro.
5733         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
5734         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
5735         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
5737         [BZ #19266]
5738         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
5739         upper case and lower case letters inside NAN(), not using TOLOWER.
5740         * stdlib/tst-strtod-nan-locale-main.c: New file.
5741         * stdlib/tst-strtod-nan-locale.c: Likewise.
5742         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
5743         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
5744         Depend on $(gen-locales).
5745         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
5746         * wcsmbs/tst-wcstod-nan-locale.c: New file.
5747         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
5748         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
5749         Depend on $(gen-locales).
5750         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
5752 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
5754         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
5756         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
5757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
5758         __finitel, __isinfl, and __isnanl.
5759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5760         Likewise.
5761         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
5763         __finitel.
5764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5765         Likewise.
5766         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5768 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
5770         * malloc/memusage.c (me): Remove redundant getenv call.
5772 2015-10-24  Florian Weimer  <fweimer@redhat.com>
5774         [BZ #19143]
5775         [BZ #19164]
5776         * nptl/check-cpuset.h: Remove.
5777         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
5778         Remove CPU set size check.
5779         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
5780         Likewise.
5781         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
5782         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5783         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
5784         (__pthread_setaffinity_new): Remove CPU set size check.
5785         * sysdeps/unix/sysv/linux/sched_setaffinity.c
5786         (__kernel_cpumask_size): Remove.
5787         (__sched_setaffinity_new): Remove CPU set size check.
5788         * manual/threads.texi (Default Thread Attributes): Remove stale
5789         reference to check_cpuset_attr, determine_cpumask_size in comment.
5790         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
5791         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
5792         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
5793         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
5794         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
5795         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
5796         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
5797         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
5798         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
5799         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
5800         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
5801         skeleton test file.
5802         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
5803         tst-affinity-pid.
5805 2015-11-24  Florian Weimer  <fweimer@redhat.com>
5807         * scripts/update-abilist.sh: New file.
5808         * Makefile (+subdir_targets): Add subdir_update-all-abi.
5809         * Makerules (update-all-abi-%, update-all-abi)
5810         (subdir_update-all-abi): New targets.
5811         * elf/Makefile (update-all-abi): New target.
5813 2015-11-24  Florian Weimer  <fweimer@redhat.com>
5815         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
5816         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
5817         (__libc_lock_define_initialized): Use it.
5818         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
5819         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
5820         * malloc/malloc.c (main_arena): Likewise.
5821         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
5822         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
5824 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
5826         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
5827         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
5828         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5829         (PTRACE_O_MASK): Update value.
5830         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
5831         New value in enum __ptrace_setoptions.
5832         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5833         (PTRACE_O_MASK): Update value.
5834         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
5835         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5836         (PTRACE_O_MASK): Update value.
5837         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
5838         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5839         (PTRACE_O_MASK): Update value.
5840         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
5841         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5842         (PTRACE_O_MASK): Update value.
5843         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
5844         New value in enum __ptrace_setoptions.
5845         (PTRACE_O_MASK): Update value.
5846         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
5847         New value in enum __ptrace_setoptions.
5848         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5849         (PTRACE_O_MASK): Update value.
5851         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
5852         New macro.
5853         (PACKET_AUXDATA): Likewise.
5854         (PACKET_ORIGDEV): Likewise.
5855         (PACKET_VERSION): Likewise.
5856         (PACKET_HDRLEN): Likewise.
5857         (PACKET_RESERVE): Likewise.
5858         (PACKET_TX_RING): Likewise.
5859         (PACKET_LOSS): Likewise.
5860         (PACKET_VNET_HDR): Likewise.
5861         (PACKET_TX_TIMESTAMP): Likewise.
5862         (PACKET_TIMESTAMP): Likewise.
5863         (PACKET_FANOUT): Likewise.
5864         (PACKET_TX_HAS_OFF): Likewise.
5865         (PACKET_QDISC_BYPASS): Likewise.
5866         (PACKET_ROLLOVER_STATS): Likewise.
5867         (PACKET_FANOUT_DATA): Likewise.
5868         (PACKET_MR_UNICAST): Likewise.
5870         [BZ #19242]
5871         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
5872         (TOUPPER): Likewise.
5873         * stdlib/tst-strtol-locale-main.c: New file.
5874         * stdlib/tst-strtol-locale.c: Likewise.
5875         * stdlib/Makefile (tests): Add tst-strtol-locale.
5876         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
5877         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
5878         Depend on $(gen-locales).
5879         * wcsmbs/tst-wcstol-locale.c: New file.
5880         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
5881         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
5882         tr_TR.ISO-8859-9.
5883         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
5884         Depend on $(gen-locales).
5886 2015-11-20  Roland McGrath  <roland@hack.frob.com>
5888         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
5889         __glibc_likely instead of __builtin_expect.  After falling back to
5890         dyncode_create in a non-ET_DYN case, use the allocate_code_data
5891         system interface to register the code pages as occupied.
5893 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
5895         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5896         [!ARM_MATH_PRIVATE_H].
5897         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
5898         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5899         [!HPPA_MATH_PRIVATE_H].
5900         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
5901         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
5902         to [!I386_MATH_PRIVATE_H].
5903         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
5904         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
5905         Change guard to [!M68K_MATH_PRIVATE_H].
5906         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
5907         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
5908         guard to [!MICROBLAZE_MATH_PRIVATE_H].
5909         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
5910         macro.
5911         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5912         [!MIPS_MATH_PRIVATE_H].
5913         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
5914         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5915         [!NIO2_MATH_PRIVATE_H].
5916         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
5917         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5918         [!TILE_MATH_PRIVATE_H].
5919         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
5921         [BZ #15421]
5922         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
5923         initialize with 0 and define as weak alias of __signgam.
5924         * include/math.h [!_ISOMAC] (__signgam): Declare.
5925         * math/Makefile (libm-calls): Add w_lgamma_compat.
5926         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
5927         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
5928         test-signgam-ullong-init.
5929         (tests-static): Add test-signgam-uchar-static,
5930         test-signgam-uchar-init-static, test-signgam-uint-static,
5931         test-signgam-uint-init-static, test-signgam-ullong-static and
5932         test-signgam-ullong-init-static.
5933         (CFLAGS-test-signgam-uchar.c): New variable.
5934         (CFLAGS-test-signgam-uchar-init.c): Likewise.
5935         (CFLAGS-test-signgam-uchar-static.c): Likewise.
5936         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
5937         (CFLAGS-test-signgam-uint.c): Likewise.
5938         (CFLAGS-test-signgam-uint-init.c): Likewise.
5939         (CFLAGS-test-signgam-uint-static.c): Likewise.
5940         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
5941         (CFLAGS-test-signgam-ullong.c): Likewise.
5942         (CFLAGS-test-signgam-ullong-init.c): Likewise.
5943         (CFLAGS-test-signgam-ullong-static.c): Likewise.
5944         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
5945         * math/Versions (libm): Add GLIBC_2.23.
5946         * math/lgamma-compat.h: New file.
5947         * math/test-signgam-main.c: Likewise.
5948         * math/test-signgam-uchar-init-static.c: Likewise.
5949         * math/test-signgam-uchar-init.c: Likewise.
5950         * math/test-signgam-uchar-static.c: Likewise.
5951         * math/test-signgam-uchar.c: Likewise.
5952         * math/test-signgam-uint-init-static.c: Likewise.
5953         * math/test-signgam-uint-init.c: Likewise.
5954         * math/test-signgam-uint-static.c: Likewise.
5955         * math/test-signgam-uint.c: Likewise.
5956         * math/test-signgam-ullong-init-static.c: Likewise.
5957         * math/test-signgam-ullong-init.c: Likewise.
5958         * math/test-signgam-ullong-static.c: Likewise.
5959         * math/test-signgam-ullong.c: Likewise.
5960         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
5961         wrapper of w_lgamma_main.c.
5962         * math/w_lgamma_compat.c: New file.
5963         * math/w_lgamma_compatf.c: Likewise.
5964         * math/w_lgamma_compatl.c: Likewise.
5965         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
5966         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
5967         defining compatibility symbols.
5968         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
5969         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
5970         wrapper of w_lgammaf_main.c.
5971         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
5972         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
5973         defining compatibility symbols.
5974         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
5975         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
5976         wrapper of w_lgammal_main.c.
5977         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
5978         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
5979         defining compatibility symbols.
5980         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
5981         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
5982         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
5983         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
5984         <lgamma-compat.h>.
5985         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
5986         (__ieee754_gamma): Define as alias.
5987         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
5988         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
5989         <lgamma-compat.h>.
5990         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
5991         (__ieee754_gammaf): Define as alias.
5992         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
5993         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
5994         <lgamma-compat.h>.
5995         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
5996         (__ieee754_gammal): Define as alias.
5997         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
5998         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
5999         <math/w_lgamma_compat.c>.
6000         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
6001         Define as alias of __lgamma_compat and use in defining lgammal.
6002         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
6003         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
6004         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
6005         (USE_AS_COMPAT): New macro.
6006         (LGAMMA_OLD_VER): Undefine and redefine.
6007         (lgammal): Do not define here.
6008         (gammal): Only define here if [GAMMA_ALIAS].
6009         * conform/linknamespace.pl (@whitelist): Remove signgam.
6010         * sysdeps/nacl/libm.abilist: Update.
6011         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6012         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6013         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6014         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6015         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6016         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6017         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6018         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6019         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6020         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6021         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6022         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6024         Likewise.
6025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6026         Likewise.
6027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6028         Likewise.
6029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6030         Likewise.
6031         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6032         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6033         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6034         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6035         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6037         Likewise.
6038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6039         Likewise.
6040         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6041         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6042         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6044 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6046         [BZ #16364]
6047         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
6048         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
6050 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6052         * sysdeps/s390/fpu/bits/mathinline.h:
6053         Use __asm__ [__volatile__] instead of asm [volatile].
6054         * sysdeps/s390/abort-instr.h: Likewise.
6055         * sysdeps/s390/atomic-machine.h: Likewise.
6056         * sysdeps/s390/bits/string.h: Likewise.
6057         * sysdeps/s390/dl-tls.h: Likewise.
6058         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6059         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6060         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6061         * sysdeps/s390/fpu/fesetround.c: Likewise.
6062         * sysdeps/s390/fpu/fpu_control.h: Likewise.
6063         * sysdeps/s390/fpu/s_fma.c: Likewise.
6064         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
6065         * sysdeps/s390/memusage.h: Likewise.
6066         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
6067         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
6068         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
6069         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
6070         * sysdeps/s390/nptl/tls.h: Likewise.
6071         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
6072         * sysdeps/s390/s390-32/backtrace.c: Likewise.
6073         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6074         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
6075         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6076         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6077         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
6078         * sysdeps/s390/s390-64/backtrace.c: Likewise.
6079         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6080         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
6081         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
6082         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6083         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6084         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
6085         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
6086         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
6087         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
6088         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6089         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
6090         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6091         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
6092         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6093         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
6095 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6096             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6098         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
6099         Add lwarx hint, and use macro for acquire instruction.
6100         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6101         Likewise.
6102         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
6103         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
6104         update to use new atomic macros.
6106 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6108         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6109         (__lll_trylock_elision): Fix setting of adapt_count.
6110         * sysdeps/unix/sysv/linux/powerpc/htm.h
6111         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
6112         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
6113         (_ABORT_SYSCALL): Renumber, and clarify definition.
6114         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
6116 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6118         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
6119         after system headers to prevent MIN/MAX redefinition.  Define
6120         HAVE_ALLOCA to preserve builtin alloca usage.
6122 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
6124         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
6125         static and don't set or restore rounding.
6126         (__cos)[IN_SINCOS]: Likewise.
6127         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
6128         (__sincos): Set and restore rounding mode.  Remove check for infinite
6129         or NaN input.
6131         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
6133         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
6134         as used.
6136 2015-11-16  Florian Weimer  <fweimer@redhat.com>
6138         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
6140 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
6142         * config.make.in (have-glob-dat-reloc): New.
6143         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
6144         target supports GLOB_DAT relocaton. AC_SUBST.
6145         * configure: Regenerated.
6146         * elf/Makefile (tests): Add tst-prelink.
6147         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
6148         (tst-prelink-ENV): New.
6149         ($(objpfx)tst-prelink-conflict.out): Likewise.
6150         ($(objpfx)tst-prelink-cmp.out): Likewise.
6151         * sysdeps/x86/tst-prelink.c: Moved to ...
6152         * elf/tst-prelink.c: Here.
6153         * sysdeps/x86/tst-prelink.exp: Moved to ...
6154         * elf/tst-prelink.exp: Here.
6155         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
6156         (tst-prelink-ENV): Removed.
6157         ($(objpfx)tst-prelink-conflict.out): Likewise.
6158         ($(objpfx)tst-prelink-cmp.out): Likewise.
6159         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
6161 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
6163         [BZ #14551]
6164         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
6165         (__mpn_construct_long_double): If high part overflows to infinity,
6166         set errno and recompute overflowed result of the correct sign.
6167         * sysdeps/ieee754/ldbl-128ibm/Makefile
6168         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
6169         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
6170         $(libm).
6171         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
6173 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
6175         [BZ #15479]
6176         [BZ #19238]
6177         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
6178         floating-point state after first operation on input.  Restore full
6179         state rather than just rounding mode.
6180         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
6181         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
6182         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
6184         [BZ #19235]
6185         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
6186         add 0.5 to integer arguments.
6187         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
6188         Likewise.
6189         (.LC2): New object.
6191 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
6193         * scripts/pylintrc (reports): Set to no.
6195 2015-11-10  Roland McGrath  <roland@hack.frob.com>
6197         * elf/dl-load.c (open_verify): Take new argument FD.
6198         Skip __open call if passed FD is not -1.
6199         (_dl_map_object, open_path): Update callers.
6200         * elf/dl-sysdep-open.h: New file.
6201         * elf/dl-load.c: Include it.
6202         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
6203         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
6204         * sysdeps/nacl/dl-sysdep-open.h: New file.
6205         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
6206         from libc to rtld.
6208 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
6210         [BZ #19228]
6211         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
6212         and restore full floating-point state.
6213         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6214         Likewise.
6215         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
6216         Likewise.
6217         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
6218         Likewise.
6219         * math/test-nearbyint-except-2.c: New file.
6220         * math/Makefile (tests): Add test-nearbyint-except-2.
6222 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
6224         [BZ #19178]
6225         * sysdeps/x86/Makefile (tests): Add tst-prelink.
6226         (tst-prelink-ENV): New.
6227         ($(objpfx)tst-prelink-conflict.out): Likewise.
6228         ($(objpfx)tst-prelink-cmp.out): Likewise.
6229         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
6230         * sysdeps/x86/tst-prelink.c: New file.
6231         * sysdeps/x86/tst-prelink.exp: Likewise.
6233 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
6235         * math/auto-libm-test-in: Add another test of pow.
6236         * math/auto-libm-test-out: Regenerated.
6237         * math/libm-test.inc (pow_test_data): Add another test.
6239 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6241         [BZ #19219]
6242         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
6243         weak_alias to nearbyintl.
6245 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
6247         * sysdeps/aarch64/bits/string.h: New file.
6248         (_STRING_ARCH_unaligned): Define.
6250 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
6252         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
6253         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6254         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6255         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
6256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
6258 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
6260         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
6261         for original name of the DSO.  Add it to the name list of the DSO
6262         if it is actually given.
6263         (_dl_map_object): Keep track of whether an audit module rewrote
6264         the file name.  If yes, pass the original name to
6265         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
6266         debugging is enabled, log the change of the file name.
6267         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
6268         _dl_map_object_from_fd.
6269         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
6270         * elf/tst-audit11.c: New file
6271         * elf/tst-auditmod11.c: New file.
6272         * elf/tst-audit11mod1.c: New file.
6273         * elf/tst-audit11mod2.c: New file.
6274         * elf/tst-audit11mod2.map: New file.
6275         * elf/tst-audit12.c: New file
6276         * elf/tst-auditmod12.c: New file.
6277         * elf/tst-audit12mod1.c: New file.
6278         * elf/tst-audit12mod2.c: New file.
6279         * elf/tst-audit12mod2.map: New file.
6280         * elf/tst-audit12mod3.c: New file.
6282 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6284         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
6285         Don't create weak aliases,
6286         because versioned symbols are created later.
6287         * sysdeps/s390/s390-32/setjmp.S
6288         (setjmp, _setjmp): Remove weak and rename to an unique name
6289         in SHARED case due to existing versioned symbols.
6290         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6291         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
6292         (getcontext): Create weak alias only in non SHARED case.
6293         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6295 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6297         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
6298         (__ASSUME_*_SYSCALL) Define new macros.
6299         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
6300         Remove socketcall syscalls.
6301         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
6302         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
6303         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
6304         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
6305         * sysdeps/unix/sysv/linux/send.c (__libc_send):
6306         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
6308 2015-11-09  Florian Weimer  <fweimer@redhat.com>
6310         [BZ #12926]
6311         Terminate process on invalid netlink response.
6312         * sysdeps/unix/sysv/linux/netlinkaccess.h
6313         (__netlink_assert_response): Declare.
6314         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
6315         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
6316         (sysdep_routines): Add netlink_assert_response.
6317         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
6318         __netlink_assert_response.
6319         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
6320         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
6321         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
6322         __netlink_assert_response.
6324 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
6326         [BZ #19178]
6327         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
6328         (RTYPE_CLASS_PLT): Likewise.
6329         (RTYPE_CLASS_COPY): Likewise.
6330         (RTYPE_CLASS_TLS): Likewise.
6331         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
6332         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
6333         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
6334         DL_DEBUG_PRELINK.
6336 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
6338         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
6339         calls with argument -0.5.
6340         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
6342         * configure.ac (libc_cv_z_nodelete): Remove configure test.
6343         (libc_cv_z_nodlopen): Likewise.
6344         (libc_cv_z_initfirst): Likewise.
6345         * configure: Regenerated.
6347 2015-11-06  Florian Weimer  <fweimer@redhat.com>
6349         Simplify abilist format to be line-based.
6350         * scripts/abilist.awk: Collect descriptors in the descs variable.
6351         (emit): Write descs variable and sort it
6352         externally, with sort.
6353         * sysdeps/**/*.abilist: Convert to new format.
6355 2015-11-06  Mark Wielaard  <mjw@redhat.com>
6357         [BZ #11460]
6358         * io/Makefile (routines): Add fts64.
6359         (tests): Add tst-fts and tst-fts-lfs.
6360         (CFLAGS-fts64.c): New.
6361         * io/Versions (GLIBC_2.23): New.
6362         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
6363         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
6364         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
6365         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
6366         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
6367         (FTSENT64): Likewise.
6368         (fts64_children): Likewise.
6369         (fts64_close): Likewise.
6370         (fts64_open): Likewise.
6371         (fts64_read): Likewise.
6372         (fts64_set): Likewise.
6373         * io/fts64.c: New file.
6374         * io/tst-fts.c: New test.
6375         * io/tst-fts-lfs.c: Likewise.
6376         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
6377         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
6378         fts64_set.
6379         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6380         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6381         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6382         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6383         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6384         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6385         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6386         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6387         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6388         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6389         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6390         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6391         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6393         Likewise.
6394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6395         Likewise.
6396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6398         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6399         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6400         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6401         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6402         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6405         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6406         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6407         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6408         * sysdeps/wordsize-64/fts.c: New file.
6409         * sysdeps/wordsize-64/fts64.c: Likewise.
6410         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
6411         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
6412         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
6413         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
6415 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
6417         * math/libm-test.inc (NON_FINITE): New macro.
6418         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
6419         * math/gen-libm-test.pl (show_exceptions): Add argument
6420         $non_finite.
6421         (parse_args): Update call to show_exceptions.
6422         * math/test-math-finite.h: New file.
6423         * math/test-math-no-finite.h: Likewise.
6424         * math/test-double-finite.c: Likewise.
6425         * math/test-float-finite.c: Likewise.
6426         * math/test-ldouble-finite.c: Likewise.
6427         * math/test-double.c: Include "test-math-no-finite.h".
6428         * math/test-float.c: Include "test-math-no-finite.h".
6429         * math/test-ldouble.c: Include "test-math-no-finite.h".
6430         * math/test-math-inline.h (TEST_FINITE): New macro.
6431         * math/test-math-vector.h (TEST_FINITE): Likewise.
6432         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
6433         (libm-tests): Add test-float-finite and test-double-finite.
6434         ($(objpfx)test-float-finite.o): New dependency on
6435         $(objpfx)libm-test.stmp.
6436         ($(objpfx)test-double-finite.o): Likewise.
6437         ($(objpfx)test-ldouble-finite.o): Likewise.
6438         (libm-test-no-inline-cflags): New variable.
6439         (libm-test-finite-cflags): Likewise.
6440         (CFLAGS-test-float-finite.c): Likewise.
6441         (CFLAGS-test-double-finite.c): Likewise.
6442         (CFLAGS-test-ldouble-finite.c): Likewise.
6443         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
6444         (CFLAGS-test-double.c): Likewise.
6445         (CFLAGS-test-ldouble.c): Likewise.
6447 2015-11-05  Roland McGrath  <roland@hack.frob.com>
6449         * io/fcntl.c (__fcntl): Add ... to prototype.
6450         * misc/ioctl.c (__ioctl): Likewise.
6451         * misc/syscall.c (syscall): Likewise.
6453 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
6455         * scripts/list-fixed-bugs.py: New file.
6457         [BZ #19213]
6458         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
6459         returned for argument 1.
6460         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
6461         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
6462         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
6463         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
6464         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
6465         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
6467         [BZ #19211]
6468         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
6469         __USE_XOPEN], not if [!__USE_ISOC99].
6470         (lgammaf): Likewise.
6471         (lgammal): Likewise.
6472         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
6473         (gammaf): Likewise.
6474         (gammal): Likewise.
6475         * math/test-signgam-finite-c11.c: New file.
6476         * math/test-signgam-finite-c99.c: Likewise.
6477         * math/test-signgam-finite.c: Likewise.
6478         * math/Makefile (tests): Add test-signgam-finite,
6479         test-signgam-finite-c99 and test-signgam-finite-c11.
6480         (CFLAGS-test-signgam-finite.c): New variable.
6481         (CFLAGS-test-signgam-finite-c99.c): Likewise.
6482         (CFLAGS-test-signgam-finite-c11.c): Likewise.
6484         [BZ #19212]
6485         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
6486         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
6487         500].
6488         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
6489         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
6490         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
6491         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
6492         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
6493         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
6494         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
6495         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
6496         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
6497         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
6499         [BZ #19209]
6500         * math/bits/math-finite.h (ldexp): Remove declaration.
6501         (ldexpf): Likewise.
6502         (ldexpl): Likewise.
6504         [BZ #19205]
6505         * math/bits/math-finite.h (acosf): Condition declaration on
6506         [__USE_ISOC99].
6507         (acosl): Likewise.
6508         (acoshf): Likewise.
6509         (acoshl): Likewise.
6510         (asinf): Likewise.
6511         (asinl): Likewise.
6512         (atan2f): Likewise.
6513         (atan2l): Likewise.
6514         (atanhf): Likewise.
6515         (atanhl): Likewise.
6516         (coshf): Likewise.
6517         (coshl): Likewise.
6518         (expf): Likewise.
6519         (expl): Likewise.
6520         (fmodf): Likewise.
6521         (fmodl): Likewise.
6522         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
6523         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
6524         (j0l): Likewise.
6525         (y0f): Likewise.
6526         (y0l): Likewise.
6527         (j1f): Likewise.
6528         (j1l): Likewise.
6529         (y1f): Likewise.
6530         (y1l): Likewise.
6531         (jnf): Likewise.
6532         (jnl): Likewise.
6533         (ynf): Likewise.
6534         (ynl): Likewise.
6535         (lgammaf_r): Condition declaration on [__USE_ISOC99].
6536         (lgammal_r): Likewise.
6537         (__lgamma_r_finite): New declaration.
6538         (__lgammaf_r_finite): Likewise.
6539         (__lgammal_r_finite): Likewise.
6540         (lgamma): Use __lgamma_r_finite.
6541         (lgammaf): Condition definition on [__USE_ISOC99].  Use
6542         __lgammaf_r_finite.
6543         (lgammal): Condition definition on [__USE_ISOC99].  Use
6544         __lgammal_r_finite.
6545         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
6546         __lgamma_r_finite.
6547         (gammaf): Condition definition on [__USE_ISOC99].  Use
6548         __lgammaf_r_finite.
6549         (gammal): Condition definition on [__USE_ISOC99].  Use
6550         __lgammal_r_finite.
6551         (logf): Condition declaration on [__USE_ISOC99].
6552         (logl): Likewise.
6553         (log10f): Likewise.
6554         (log10l): Likewise.
6555         (ldexpf): Likewise.
6556         (ldexpl): Likewise.
6557         (powf): Likewise.
6558         (powl): Likewise.
6559         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
6560         __USE_ISOC99].
6561         (remainderf): Condition declaration on [__USE_ISOC99].
6562         (remainderl): Likewise.
6563         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
6564         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
6565         (scalbl): Likewise.
6566         (sinhf): Condition declaration on [__USE_ISOC99].
6567         (sinhl): Likewise.
6568         (sqrtf): Likewise.
6569         (sqrtl): Likewise.
6571 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6573         * sysdeps/arm/atomic-machine.h
6574         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6575         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6576         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
6577         Remove conditional code.
6578         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6579         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6580         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
6581         Change conditional to [__ASSEMBLER__].
6582         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
6583         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
6584         [!__ASSEMBLER__].
6585         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
6586         code.
6587         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
6588         conditional macro definitions.
6589         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
6590         (__arch_compare_and_exchange_val_16_acq): Likewise.
6591         (__arch_compare_and_exchange_val_32_acq): Likewise.
6592         (atomic_exchange_and_add): Likewise.
6593         (atomic_add): Likewise.
6594         (atomic_add_negative): Likewise.
6595         (atomic_add_zero): Likewise.
6596         (atomic_bit_set): Likewise.
6597         (atomic_bit_test_set): Likewise.
6598         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
6599         code unconditional.
6600         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6602         * math/test-math-errno.h: New file.
6603         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
6604         empty.
6605         (TEST_ERRNO): New macro.
6606         (TEST_EXCEPTIONS): Likewise.
6607         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
6608         (TEST_EXCEPTIONS): Likewise.
6609         * math/test-math-vector.h (TEST_ERRNO): Likewise.
6610         * math/test-double.c: Include "test-math-errno.h".
6611         * math/test-float.c: Likewise.
6612         * math/test-ldouble.c: Likewise.
6613         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
6614         code unconditional.
6615         (test_exceptions): Only run code if TEST_EXCEPTIONS.
6616         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
6617         unconditional.
6618         (test_errno): Only run code if TEST_ERRNO.
6619         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
6621 2015-11-04  Florian Weimer  <fweimer@redhat.com>
6623         * nptl/tst-once5.cc: Remove attribution.
6625 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6627         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
6628         sqrt, tan, tanh, y0, y1 and yn.
6629         * math/auto-libm-test-out: Regenerated.
6630         * math/libm-test.inc (scalb_test_data): Add more tests.
6631         (scalbn_test_data): Likewise.
6632         (scalbln_test_data): Likewise.
6633         (signbit_test_data): Likewise.
6634         (sin_test_data): Likewise.
6635         (sincos_test_data): Likewise.
6636         (sinh_test_data): Likewise.
6637         (sqrt_test_data): Likewise.
6638         (tan_test_data): Likewise.
6639         (tanh_test_data): Likewise.
6640         (tgamma_test_data): Likewise.
6641         (y0_test_data): Likewise.
6642         (y1_test_data): Likewise.
6643         (yn_test_data): Likewise.
6644         (significand_test_data): Likewise.
6645         * sysdeps/i386/fpu/libm-test-ulps: Update.
6647 2015-11-03  David Kastrup  <dak@gnu.org>
6649         [BZ #18604]
6650         * assert/assert.h (assert): Don't macro-expand failed assertion
6651         expression in error message.
6652         * malloc/malloc.c (assert): Likewise.
6654 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
6656         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
6657         test.
6658         * configure: Regenerated.
6660 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
6662         * math/libm-test.inc (modf_test_data): Add more tests.
6663         (nearbyint_test_data): Likewise.
6664         (nextafter_test_data): Likewise.
6665         (nexttoward_test_data): Likewise.
6666         (pow_test_data): Likewise.
6667         (remainder_test_data): Likewise.
6668         (remquo_test_data): Likewise.
6669         (rint_test_data): Likewise.
6671         [BZ #19201]
6672         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6673         Check for zero remainder in case of large exponents and ensure
6674         correct sign of result in that case.
6675         * math/libm-test.inc (remainder_test_data): Add more tests.
6677         [BZ #6799]
6678         * math/s_nextafter.c: Include <errno.h>.
6679         (__nextafter): Set errno on overflow and underflow.
6680         * math/s_nexttowardf.c: Include <errno.h>.
6681         (__nexttowardf): Set errno on overflow and underflow.
6682         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
6683         (__nextafterl): Set errno on overflow and underflow.
6684         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
6685         (__nexttoward): Set errno on overflow and underflow.
6686         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
6687         (__nexttowardf): Set errno on overflow and underflow.
6688         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
6689         (__nextafterf): Set errno on overflow and underflow.
6690         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
6691         (__nextafterl): Set errno on overflow and underflow.
6692         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
6693         (__nexttoward): Set errno on overflow and underflow.
6694         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
6695         (__nexttowardf): Set errno on overflow and underflow.
6696         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
6697         (__nextafterl): Set errno on overflow and underflow.
6698         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
6699         (__nexttoward): Set errno on overflow and underflow.
6700         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
6701         (__nexttowardf): Set errno on overflow and underflow.
6702         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
6703         (__nexttoward): Set errno on overflow and underflow.
6704         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
6705         (__nexttowardf): Set errno on overflow and underflow.
6706         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
6707         (__nldbl_nexttowardf): Set errno on overflow and underflow.
6708         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
6709         (__nextafterl): Set errno on overflow and underflow.
6710         * math/libm-test.inc (nextafter_test_data): Do not allow errno
6711         setting to be missing on overflow.  Add more tests.
6712         (nexttoward_test_data): Likewise.
6714         * configure.ac (libc_cv_initfini_array): Remove configure test.
6715         * configure: Regenerated.
6717 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
6719         [BZ #19189]
6720         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
6721         non-finite argument handle arguments with negative sign.
6723         * math/libm-test.inc (j0_test_data): Do not test sign of zero
6724         result from infinite argument.
6725         (j1_test_data): Likewise.
6726         (jn_test_data): Likewise.
6727         (y0_test_data): Likewise.
6728         (y1_test_data): Likewise.
6729         (yn_test_data): Likewise.
6731         [BZ #16171]
6732         * math/w_remainder.c (drem): Define as weak alias of __remainder.
6733         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
6734         * math/w_remainderf.c (dremf): Define as weak alias of
6735         __remainderf.
6736         * math/w_remainderl.c (dreml): Define as weak alias of
6737         __remainderl.
6738         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
6739         __remainder.
6740         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
6741         __remainderf.
6742         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
6743         __remainderl.
6744         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
6745         weak alias of remainderl.
6746         * sysdeps/ieee754/ldbl-opt/w_remainder.c
6747         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
6748         alias of __remainder.
6749         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
6750         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
6751         strong alias of __remainderl.
6752         (dreml): Use long_double_symbol.
6753         * math/Makefile (libm-calls): Remove w_drem.
6754         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
6755         (CFLAGS-nldbl-drem.c): Remove variable.
6756         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
6757         * math/w_drem.c: Remove file.
6758         * math/w_dremf.c: Likewise.
6759         * math/w_dreml.c: Likewise.
6760         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
6761         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
6762         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
6764         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
6765         * sysdeps/i386/configure: Regenerated.
6766         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
6767         * sysdeps/x86_64/configure: Regenerated.
6769         * configure.ac (libc_cv_asm_protected_directive): Remove configure
6770         test.
6771         (libc_cv_visibility_attribute): Likewise.
6772         (libc_cv_protected_data): Test unconditionally.
6773         (libc_cv_broken_visibility_attribute): Remove configure test.
6774         (libc_cv_have_sdata_section): Test unconditionally.
6775         * configure: Regenerated.
6777         * include/libc-internal.h (libc_max_align_t): Remove typedef.
6778         * include/scratch_buffer.h: Include <stddef.h> instead of
6779         <libc-internal.h>.
6780         (struct scratch_buffer): Use max_align_t instead of
6781         libc_max_align_t.
6783 2015-10-29  Florian Weimer  <fweimer@redhat.com>
6785         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
6786         instead of extend_alloca.  Change control flow to avoid a goto.
6787         Remove assert which is trivially always true.
6789 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6791         [BZ #16068]
6792         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
6793         (FE_ALL_EXCEPT_X86): New macro.
6794         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
6795         FE_ALL_EXCEPT.  Ensure precision control is included in
6796         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
6797         handle "denormal operand exception" and clear FZ and DAZ bits.
6798         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
6799         (FE_ALL_EXCEPT_X86): New macro.
6800         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
6801         FE_ALL_EXCEPT.  Ensure precision control is included in
6802         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
6803         handle "denormal operand exception" and clear FZ and DAZ bits.
6804         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
6805         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
6806         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6807         test-fenv-x87 and test-fenv-sse-2.
6808         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
6810         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
6811         * math/test-double.h (BUILD_COMPLEX): New macro.
6812         * math/test-float.h (BUILD_COMPLEX): Likewise.
6813         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
6815         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
6816         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
6817         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
6818         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
6819         instead of DBL_DENORM_MIN in comment.
6820         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
6821         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
6822         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
6823         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
6824         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
6825         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
6827 2015-10-28  Florian Weimer  <fweimer@redhat.com>
6829         [BZ# 19048]
6830         * malloc/malloc.c (struct malloc_state): Update comment.  Add
6831         attached_threads member.
6832         (main_arena): Initialize attached_threads.
6833         * malloc/arena.c (list_lock): Update comment.
6834         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
6835         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
6836         (deattach_arena): New function.
6837         (_int_new_arena): Initialize arena reference count and deattach
6838         replaced arena.
6839         (get_free_list, reused_arena): Update reference count and deattach
6840         replaced arena.
6841         (arena_thread_freeres): Update arena reference count and only put
6842         unreferenced arenas on the free list.
6844 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6846         [BZ #19181]
6847         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
6848         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
6849         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
6850         * math/test-fenv-clear-main.c: New file.
6851         * math/test-fenv-clear.c: Likewise.
6852         * math/Makefile (tests): Add test-fenv-clear.
6853         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
6854         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6855         test-fenv-clear-sse.
6856         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
6858         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
6859         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
6860         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
6862 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6864         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
6865         static libc.
6867 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6869         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
6870         test.
6871         * sysdeps/i386/configure: Regenerated.
6872         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
6873         test.
6874         * sysdeps/x86_64/configure: Regenerated.
6875         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
6876         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6877         memset-avx2 unconditionally instead of conditionally on
6878         [$(config-cflags-avx2) = yes].
6879         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6880         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
6881         unconditional.
6882         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
6883         * sysdeps/x86_64/multiarch/memset_chk.S
6884         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
6885         to [IS_IN (libc) && SHARED].
6887 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6889         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
6890         configure test.
6891         * sysdeps/arm/configure: Regenerated.
6892         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
6893         Define variable if not already defined.
6895         [BZ #17404]
6896         * sysdeps/mips/atomic-machine.h
6897         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
6898         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
6899         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
6901         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
6902         unconditional.
6903         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
6904         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6905         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
6906         unconditional.
6907         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6908         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
6909         unconditional.
6910         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6911         * stdlib/setenv.c
6912         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
6913         code unconditional.
6914         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
6915         Remove conditional code.
6916         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
6917         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
6918         unconditional.
6919         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6920         code.
6921         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
6922         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
6923         unconditional.
6924         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6925         code.
6926         * sysdeps/ieee754/ldbl-128/k_tanl.c
6927         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6928         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6929         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
6930         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6931         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6932         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
6933         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
6934         unconditional.
6935         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6936         code.
6937         * sysdeps/ieee754/ldbl-96/k_tanl.c
6938         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6939         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6941         * nptl/tst-initializers1-c11.c: New file.
6942         * nptl/tst-initializers1-gnu11.c: Likewise.
6943         * nptl/Makefile (tests): Add these new tests.
6944         (CFLAGS-tst-initializers1-c11.c): New variable.
6945         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
6947         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
6948         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
6949         instead of -std=gnu99.
6950         * configure.ac (systemtap): Test with -std=gnu11 instead of
6951         -std=gnu99.
6952         * configure: Regenerated.
6953         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
6954         in compilation command in comment.
6956         * sysdeps/nptl/configure.ac: Remove file.
6957         * sysdeps/nptl/configure: Remove generated file.
6958         * configure.ac (libc_cv_forced_unwind): Do not substitute.
6959         * configure: Regenerated.
6960         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
6961         * config.make.in (have-forced-unwind): Remove variable.
6962         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
6963         unconditional.
6964         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
6965         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
6966         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
6967         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
6968         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
6969         unconditional.
6971 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6973         [BZ #19174]
6974         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
6975         .skip_lock_out_of_tbegin_retries.
6976         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6977         (__lll_lock_elision): Likewise, and respect a value of
6978         try_tbegin <= 0.
6980 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6982         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
6983         statement.
6985 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6987         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
6988         variable.
6989         (test-xfail-ISO11/stdalign.h/conform): Likewise.
6990         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6992         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
6993         of -std=c1x -D_ISOC11_SOURCE.
6995         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
6996         * configure: Regenerated.
6997         * manual/install.texi (Tools for Compilation): Document
6998         requirement for GCC 4.7 or later.
6999         * INSTALL: Regenerated.
7001 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
7003         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
7004         on CNT to a conditional jump to 'puntdata'.
7006 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7008         * configure.ac (libc_cv_gcc___thread): Remove configure test.
7009         (libc_cv_gcc_tls_model_attr): Likewise.
7010         * configure: Regenerated.
7012         * configure.ac (libc_cv_need_minus_P): Remove configure test.
7013         * configure: Regenerated.
7014         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
7016 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
7018         * configure.ac (old_glibc_headers): Remove configure test.
7019         * configure: Regenerated.
7020         * config.make.in (old-glibc-headers): Remove variable.
7021         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
7022         (install): Remove dependency on remove-old-headers.
7023         (headers2_0): Remove variable.
7024         (remove-old-headers): Remove rule.
7026         * configure.ac (libc_cv_dot_text): Remove configure test.
7027         (libc_cv_asm_set_directive): Use .text instead of
7028         ${libc_cv_dot_text} in configure test.
7029         * configure: Regenerated.
7031 2015-10-26  Florian Weimer  <fweimer@redhat.com>
7033         [BZ #19168]
7034         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7036 2015-10-26  Florian Weimer  <fweimer@redhat.com>
7038         * configure.ac (CXX): Clear the variable if the C++ toolchain does
7039         not support static linking.
7040         * configure: Regenerate.
7042 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
7044         * math/libm-test.inc (check_float_internal): Do not special-case
7045         errors up to 0.5 ulp.
7047         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7048         log2.
7049         * math/auto-libm-test-out: Regenerated.
7050         * math/libm-test.inc (MAX_EXP): New macro.
7051         (ilogb_test_data): Add more tests.
7052         (isfinite_test_data): Likewise.
7053         (isgreater_test_data): Likewise.
7054         (isgreaterequal_test_data): Likewise.
7055         (isinf_test_data): Likewise.
7056         (isless_test_data): Likewise.
7057         (islessequal_test_data): Likewise.
7058         (islessgreater_test_data): Likewise.
7059         (isnan_test_data): Likewise.
7060         (isnormal_test_data): Likewise.
7061         (issignaling_test_data): Likewise.
7062         (isunordered_test_data): Likewise.
7063         (j0_test_data): Likewise.
7064         (j1_test_data): Likewise.
7065         (jn_test_data): Likewise.
7066         (lgamma_test_data): Likewise.
7067         (log_test_data): Likewise.
7068         (log10_test_data): Likewise.
7069         (log1p_test_data): Likewise.
7070         (log2_test_data): Likewise.
7071         (logb_test_data): Likewise.
7072         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7074         [BZ #18611]
7075         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
7076         avoid excess range and precision on underflow.
7077         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7078         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
7079         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7080         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
7081         underflow.
7082         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7083         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7084         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7085         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7086         * math/auto-libm-test-in: Do not allow missing errno setting for
7087         tests of j1 and jn.
7088         * math/auto-libm-test-out: Regenerated.
7090 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
7092         [BZ #15491]
7093         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
7094         floating-point environment instead of clearing all exceptions.
7095         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7096         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
7097         merging in "invalid" exceptions from frndint.
7098         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
7099         * math/test-nearbyint-except.c: New file.
7100         * math/Makefile (tests): Add test-nearbyint-except.
7102 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
7104         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
7106         * sysdeps/tile/libm-test-ulps: Regenerated.
7108 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
7111         (__NR_sync_file_range2): Assume it is always defined.
7112         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
7113         (__NR_sync_file_range): Assume it is always defined.
7115 2015-10-22  Andreas Schwab  <schwab@suse.de>
7117         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
7118         INTERNAL_SYSCALL_ERRNO.
7119         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7120         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
7121         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7122         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
7123         Likewise.
7124         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7126 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7128         * io/tst-fcntl.c (fd): New static variable.
7129         (do_prepare): Open temporary file here....
7130         (do_test): ...not here.
7132         * io/ftwtest-sh: Also trap on exit to remove temporary files.
7134 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
7136         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
7137         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
7138         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
7139         Moved before "#ifdef __ASSEMBLER__".
7141 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7143         [BZ #19156]
7144         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
7145         arguments very close to 0.
7147 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
7149         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
7150         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
7152 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
7154         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
7155         New.  Defined for GCC 5 and above when not compiling for
7156         profiling.
7157         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
7159         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
7160         Renamed to ...
7161         (CFLAGS-epoll_pwait.o): This.
7162         (CFLAGS-mmap.c): Renamed to ...
7163         (CFLAGS-mmap.o): This.
7164         (CFLAGS-mmap64.c): Renamed to ...
7165         (CFLAGS-mmap64.o): This.
7166         (CFLAGS-epoll_pwait.os): New.
7167         (CFLAGS-mmap.os): Likewise.
7168         (CFLAGS-mmap64.os): Likewise.
7169         (CFLAGS-semtimedop.os): Likewise.
7170         (CFLAGS-semtimedop.c): Renamed to ...
7171         (CFLAGS-semtimedop.o): This.
7173 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7175         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
7176         warning message.
7178 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7180         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
7181         * Makefile ($(objpfx)c++-types-check.out): Filter out
7182         $(+gccwarn-c) instead of -Wstrict-prototypes.
7184         * io/fts.c (fts_open): Convert to prototype-style function
7185         definition.
7186         * malloc/mcheck.c (mcheck): Likewise.
7187         (mcheck_pedantic): Likewise.
7188         * posix/regexec.c (re_search_2_stub): Likewise.  Use
7189         internal_function.
7190         (re_search_internal): Likewise.
7191         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
7192         prototype-style function definition.
7193         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7194         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7195         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
7196         (xdr_utmpptr): Likewise.
7197         (xdr_utmparr): Likewise.
7198         (xdr_utmpidle): Likewise.
7199         (xdr_utmpidleptr): Likewise.
7200         (xdr_utmpidlearr): Likewise.
7202         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
7203         log, log10 and log2.
7204         * math/auto-libm-test-out: Regenerated.
7205         * math/libm-test.inc (fmod_test_data): Add more tests.
7206         (fpclassify_test_data): Likewise.
7207         (frexp_test_data): Likewise.
7208         (hypot_test_data): Likewise.
7209         (ilogb_test_data): Likewise.
7211 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
7213         * debug/fortify_fail.c (__fortify_fail): Convert to
7214         prototype-style function definition.  Use internal_function.
7215         * libio/genops.c (save_for_backup): Convert to prototype-style
7216         function definition.
7217         * libio/wgenops.c (save_for_wbackup): Likewise.
7218         * login/grantpt.c (grantpt): Likewise.
7219         * login/ptsname.c (ptsname): Likewise.
7220         (__ptsname_r): Likewise.
7221         * login/unlockpt.c (unlockpt): Likewise.
7222         * mach/msgserver.c (__mach_msg_server): Likewise.
7223         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
7224         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
7225         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
7226         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
7227         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
7228         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
7229         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
7230         Likewise.
7231         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
7232         internal_function.
7233         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
7234         prototype-style function definition.
7235         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
7236         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
7237         (__pthread_create_2_0): Likewise.
7238         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
7239         * nptl/register-atfork.c (__register_atfork): Likewise.
7240         * posix/glob.c (glob): Likewise.
7241         * posix/regcomp.c (re_comp): Likewise.
7242         * posix/regexec.c (re_exec): Likewise.
7243         * stdlib/add_n.c [__STDC__]: Make code unconditional.
7244         [!__STDC__]: Remove conditional code.
7245         * stdlib/cmp.c [__STDC__]: Make code unconditional.
7246         [!__STDC__]: Remove conditional code.
7247         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
7248         [!__STDC__]: Remove conditional code.
7249         * stdlib/divrem.c [__STDC__]: Make code unconditional.
7250         [!__STDC__]: Remove conditional code.
7251         * stdlib/lshift.c [__STDC__]: Make code unconditional.
7252         [!__STDC__]: Remove conditional code.
7253         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
7254         [!__STDC__]: Remove conditional code.
7255         * stdlib/mul.c [__STDC__]: Make code unconditional.
7256         [!__STDC__]: Remove conditional code.
7257         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
7258         [!__STDC__]: Remove conditional code.
7259         * stdlib/rshift.c [__STDC__]: Make code unconditional.
7260         [!__STDC__]: Remove conditional code.
7261         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
7262         function definition.
7263         (STRTOF): Likewise.
7264         * stdlib/strtod_l.c (__STRTOF): Likewise.
7265         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
7266         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
7267         (__strtol_l): Likewise.
7268         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
7269         [!__STDC__]: Remove conditional code.
7270         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
7271         definition.
7272         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
7273         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7274         type.
7275         (__strcasecmp): Convert to prototype-style function definition.
7276         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
7277         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7278         type.
7279         (__strncasecmp): Convert to prototype-style function definition.
7280         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
7281         * sunrpc/xdr.c (xdr_union): Likewise.
7282         * sunrpc/xdr_array.c (xdr_array): Likewise.
7283         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
7284         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
7285         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
7286         Likewise.
7287         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
7288         Likewise.
7289         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
7290         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7291         Likewise.
7292         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
7293         (LOCALE_PARAM_PROTO): Likewise.
7294         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
7295         argument type.
7296         (ut_argument_spec): Remove macro.
7297         (ut_argument_spec_iso): Rename to ut_argument_spec.
7298         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
7299         prototype-style function definition.
7300         (memcpy_uppcase): Likewise.
7301         (__strftime_internal): Likewise.
7302         (my_strftime): Likewise.
7303         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
7304         (LOCALE_PARAM_DECL): Likewise.
7305         [_LIBC] (LOCALE_PARAM): Include argument type.
7306         (__strptime_internal): Convert to prototype-style function
7307         definition.
7308         (strptime): Likewise.
7309         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
7310         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7311         type.
7312         (__wcscasecmp): Convert to prototype-style function definition.
7313         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
7314         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7315         type.
7316         (__wcsncasecmp): Convert to prototype-style function definition.
7318         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
7319         function definition.
7320         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7321         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7322         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
7323         * elf/dl-minimal.c (_itoa): Likewise.
7324         * hurd/hurdmalloc.c (malloc): Likewise.
7325         (free): Likewise.
7326         (realloc): Likewise.
7327         * inet/inet6_option.c (inet6_option_space): Likewise.
7328         (inet6_option_init): Likewise.
7329         (inet6_option_append): Likewise.
7330         (inet6_option_alloc): Likewise.
7331         (inet6_option_next): Likewise.
7332         (inet6_option_find): Likewise.
7333         * io/ftw.c (FTW_NAME): Likewise.
7334         (NFTW_NAME): Likewise.
7335         (NFTW_NEW_NAME): Likewise.
7336         (NFTW_OLD_NAME): Likewise.
7337         * libio/iofwide.c (_IO_fwide): Likewise.
7338         * libio/strops.c (_IO_str_init_static_internal): Likewise.
7339         (_IO_str_init_static): Likewise.
7340         (_IO_str_init_readonly): Likewise.
7341         (_IO_str_overflow): Likewise.
7342         (_IO_str_underflow): Likewise.
7343         (_IO_str_count): Likewise.
7344         (_IO_str_seekoff): Likewise.
7345         (_IO_str_pbackfail): Likewise.
7346         (_IO_str_finish): Likewise.
7347         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
7348         (_IO_wstr_overflow): Likewise.
7349         (_IO_wstr_underflow): Likewise.
7350         (_IO_wstr_count): Likewise.
7351         (_IO_wstr_seekoff): Likewise.
7352         (_IO_wstr_pbackfail): Likewise.
7353         (_IO_wstr_finish): Likewise.
7354         * locale/programs/localedef.c (normalize_codeset): Likewise.
7355         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7356         (add_locales_to_archive): Likewise.
7357         (delete_locales_from_archive): Likewise.
7358         * malloc/malloc.c (__libc_mallinfo): Likewise.
7359         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
7360         * misc/tsearch.c (__tfind): Likewise.
7361         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
7362         * nptl/pthread_attr_getdetachstate.c
7363         (__pthread_attr_getdetachstate): Likewise.
7364         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
7365         Likewise.
7366         * nptl/pthread_attr_getinheritsched.c
7367         (__pthread_attr_getinheritsched): Likewise.
7368         * nptl/pthread_attr_getschedparam.c
7369         (__pthread_attr_getschedparam): Likewise.
7370         * nptl/pthread_attr_getschedpolicy.c
7371         (__pthread_attr_getschedpolicy): Likewise.
7372         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
7373         Likewise.
7374         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
7375         Likewise.
7376         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
7377         Likewise.
7378         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
7379         Likewise.
7380         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
7381         (__pthread_attr_init_2_0): Likewise.
7382         * nptl/pthread_attr_setdetachstate.c
7383         (__pthread_attr_setdetachstate): Likewise.
7384         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
7385         Likewise.
7386         * nptl/pthread_attr_setinheritsched.c
7387         (__pthread_attr_setinheritsched): Likewise.
7388         * nptl/pthread_attr_setschedparam.c
7389         (__pthread_attr_setschedparam): Likewise.
7390         * nptl/pthread_attr_setschedpolicy.c
7391         (__pthread_attr_setschedpolicy): Likewise.
7392         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
7393         Likewise.
7394         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
7395         Likewise.
7396         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
7397         Likewise.
7398         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
7399         Likewise.
7400         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
7401         Likewise.
7402         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
7403         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
7404         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
7405         use internal_function.
7406         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
7407         prototype-style function definition.
7408         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
7409         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
7410         internal_function.
7411         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
7412         Convert to prototype-style function definition.
7413         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7414         Likewise.
7415         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
7416         Likewise.
7417         (__pthread_mutex_unlock): Likewise.
7418         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
7419         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
7420         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
7421         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
7422         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
7423         * nss/makedb.c (process_input): Likewise.
7424         * posix/fnmatch.c (__strchrnul): Likewise.
7425         (__wcschrnul): Likewise.
7426         (fnmatch): Likewise.
7427         * posix/fnmatch_loop.c (FCT): Likewise.
7428         * posix/glob.c (globfree): Likewise.
7429         (__glob_pattern_type): Likewise.
7430         (__glob_pattern_p): Likewise.
7431         * posix/regcomp.c (re_compile_pattern): Likewise.
7432         (re_set_syntax): Likewise.
7433         (re_compile_fastmap): Likewise.
7434         (regcomp): Likewise.
7435         (regerror): Likewise.
7436         (regfree): Likewise.
7437         * posix/regexec.c (regexec): Likewise.
7438         (re_match): Likewise.
7439         (re_search): Likewise.
7440         (re_match_2): Likewise.
7441         (re_search_2): Likewise.
7442         (re_search_stub): Likewise.  Use internal_function
7443         (re_copy_regs): Likewise.
7444         (re_set_registers): Convert to prototype-style function
7445         definition.
7446         (prune_impossible_nodes): Likewise.  Use internal_function.
7447         * resolv/inet_net_pton.c (inet_net_pton): Convert to
7448         prototype-style function definition.
7449         (inet_net_pton_ipv4): Likewise.
7450         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7451         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
7452         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
7453         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
7454         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7455         Make variadic.
7456         * time/strptime_l.c (localtime_r): Convert to prototype-style
7457         function definition.
7458         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7459         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7460         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7461         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7463         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
7464         definition.
7465         (_ufc_doit_r): Likewise.
7466         * crypt/crypt_util.c (_ufc_copymem): Likewise.
7467         (_ufc_output_conversion_r): Likewise.
7468         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
7469         * inet/rcmd.c (rcmd_af): Likewise.
7470         (rcmd): Likewise.
7471         (ruserok_af): Likewise.
7472         (ruserok): Likewise.
7473         (ruserok2_sa): Likewise.
7474         (ruserok_sa): Likewise.
7475         (iruserok_af): Likewise.
7476         (iruserok): Likewise.
7477         (__ivaliduser): Likewise.
7478         (__validuser2_sa): Likewise.
7479         * inet/rexec.c (rexec_af): Likewise.
7480         (rexec): Likewise.
7481         * inet/ruserpass.c (ruserpass): Likewise.
7482         * locale/programs/xmalloc.c (xcalloc): Likewise.
7483         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
7484         * math/w_drem.c (__drem): Likewise.
7485         * math/w_dremf.c (__dremf): Likewise.
7486         * math/w_dreml.c (__dreml): Likewise.
7487         * misc/daemon.c (daemon): Likewise.
7488         * resolv/res_debug.c (p_fqnname): Likewise.
7489         * stdlib/div.c (div): Likewise.
7490         * string/memcmp.c (memcmp_bytes): Likewise.
7491         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
7492         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
7494         * crypt/cert.c (main): Convert to prototype-style function
7495         definition.
7496         * io/pipe.c (__pipe): Likewise.
7497         * io/pipe2.c (__pipe2): Likewise.
7498         * misc/futimesat.c (futimesat): Likewise.
7499         * misc/utimes.c (__utimes): Likewise.
7500         * posix/execve.c (__execve): Likewise.
7501         * posix/execvp.c (execvp): Likewise.
7502         * posix/execvpe.c (__execvpe): Likewise.
7503         * posix/fexecve.c (fexecve): Likewise.
7504         * socket/socketpair.c (socketpair): Likewise.
7505         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7506         * stdlib/erand48.c (erand48): Likewise.
7507         * stdlib/erand48_r.c (__erand48_r): Likewise.
7508         * stdlib/jrand48.c (jrand48): Likewise.
7509         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
7510         * stdlib/lcong48.c (lcong48): Likewise.
7511         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
7512         * stdlib/nrand48.c (nrand48): Likewise.
7513         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
7514         * stdlib/seed48.c (seed48): Likewise.
7515         * stdlib/seed48_r.c (__seed48_r): Likewise.
7516         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
7517         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
7518         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
7520 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
7522         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
7523         * configure: Regenerated.
7524         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
7525         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
7526         unconditional.
7527         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7528         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7529         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7530         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
7531         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
7532         unconditional.
7533         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7535         * posix/Makefile (CFLAGS-regex.c): Remove variable.
7536         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
7538         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
7539         function definition.
7540         * crypt/crypt_util.c (__encrypt_r): Likewise.
7541         * libio/genops.c (_IO_no_init): Likewise.
7542         * libio/iofopncook.c (_IO_fopencookie): Likewise.
7543         (_IO_old_fopencookie): Likewise.
7544         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7545         * libio/iogetline.c (_IO_getline): Likewise.
7546         (_IO_getline_info): Likewise.
7547         * libio/iogetwline.c (_IO_getwline): Likewise.
7548         (_IO_getwline_info): Likewise.
7549         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
7550         * libio/vswprintf.c (_IO_vswprintf): Likewise.
7551         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
7552         (find_entry): Likewise.
7553         (iterate_table): Likewise.
7554         (lookup): Likewise.
7555         * login/forkpty.c (forkpty): Likewise.
7556         * misc/hsearch_r.c (__hsearch_r): Likewise.
7557         * misc/select.c (__select): Likewise.
7558         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
7559         Likewise.
7560         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
7561         Likewise.
7562         * nptl/old_pthread_cond_timedwait.c
7563         (__pthread_cond_timedwait_2_0): Likewise.
7564         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
7565         * nptl/pthread_barrierattr_getpshared.c
7566         (pthread_barrierattr_getpshared): Likewise.
7567         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
7568         Likewise.
7569         * nptl/pthread_mutex_setprioceiling.c
7570         (pthread_mutex_setprioceiling): Likewise.
7571         * nptl/pthread_mutexattr_getprioceiling.c
7572         (pthread_mutexattr_getprioceiling): Likewise.
7573         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
7574         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7575         Likewise.
7576         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7577         Likewise.
7578         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
7579         Likewise.
7580         * socket/recvfrom.c (__recvfrom): Likewise.
7581         * socket/sendto.c (__sendto): Likewise.
7582         * socket/setsockopt.c (__setsockopt): Likewise.
7583         * stdio-common/_itoa.c (_itoa): Likewise.
7584         * stdio-common/_itowa.c (_itowa): Likewise.
7585         * stdio-common/reg-printf.c (__register_printf_specifier):
7586         Likewise.
7587         (__register_printf_function): Likewise.
7588         * stdio-common/tempname.c (__path_search): Likewise.
7589         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
7590         * stdlib/mul_1.c (mpn_mul_1): Likewise.
7591         * stdlib/random_r.c (__initstate_r): Likewise.
7592         * stdlib/setenv.c (__add_to_environ): Likewise.
7593         * stdlib/submul_1.c (mpn_submul_1): Likewise.
7594         * streams/getpmsg.c (getpmsg): Likewise.
7595         * streams/putmsg.c (putmsg): Likewise.
7596         * streams/putpmsg.c (putpmsg): Likewise.
7597         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
7598         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
7599         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
7600         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
7601         * sunrpc/pm_getport.c (pmap_getport): Likewise.
7602         * sunrpc/svc_udp.c (cache_get): Likewise.
7603         * sunrpc/xdr_array.c (xdr_vector): Likewise.
7604         * sysdeps/mach/hurd/getcwd.c
7605         (__canonicalize_directory_name_internal): Likewise.
7606         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
7607         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
7608         * sysdeps/mach/hurd/select.c (__select): Likewise.
7609         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
7610         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
7611         * sysdeps/sparc/nptl/pthread_barrier_init.c
7612         (__pthread_barrier_init): Likewise.
7613         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
7614         (__pthread_cond_timedwait): Likewise.
7615         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
7616         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
7617         Likewise.
7618         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
7619         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
7620         Likewise.
7621         * sysvipc/semtimedop.c (semtimedop): Likewise.
7622         * time/setitimer.c (__setitimer): Likewise.
7623         * time/strftime_l.c (emacs_strftime): Likewise.
7625 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7627         * config.make.in (have-ssp): Delete.
7628         (stack-protector): New variable.
7629         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
7630         cache test for -fstack-protector-strong.  Export stack_protector to
7631         the best ssp flag.
7632         * configure: Regenerated.
7633         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
7634         * nscd/Makefile (CFLAGS-nscd): Likewise.
7635         * resolv/Makefile (CFLAGS-libresolv): Likewise.
7637 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
7639         [BZ #19122]
7640         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
7641         attribute_hidden.
7643 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7645         [BZ #18743]
7646         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
7647         code to...
7648         (ELIDE_LOCK): ...here.
7649         (__get_new_count): New function with part of the code from
7650         __elide_lock that updates the value of adapt_count after a
7651         transaction abort.
7652         (__elided_trylock): Moved this code to...
7653         (ELIDE_TRYLOCK): ...here.
7655 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7657         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
7658         * configure: Regenerate.
7659         * INSTALL: Regenerate.
7660         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
7661         and tweak grammar.
7663 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
7665         * login/programs/pt_chown.c: Include signal.h
7666         (main): Clear any signal mask from the parent process.
7668 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
7670         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
7671         * configure: Regenerated.
7672         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
7673         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
7674         $(gnu89-inline-CFLAGS).
7676         * configure.ac (libc_cv_asm_weak_directive): Remove configure
7677         test.
7678         (libc_cv_asm_weakext_directive): Likewise.
7679         * configure: Regenerated.
7680         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
7681         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
7682         * include/libc-symbols.h
7683         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
7684         #error.
7685         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
7686         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
7688         * sysdeps/arm/backtrace.c (__backtrace): Convert to
7689         prototype-style function definition.
7690         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
7691         * sysdeps/i386/ffs.c (__ffs): Likewise.
7692         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7693         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
7694         Likewise.
7695         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7696         Likewise.
7697         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
7698         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7699         Likewise.
7700         * sysdeps/m68k/ffs.c (__ffs): Likewise.
7701         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
7702         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
7703         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
7704         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
7705         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
7706         * sysdeps/mach/hurd/access.c (__access): Likewise.
7707         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
7708         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
7709         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
7710         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
7711         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
7712         (cthread_getspecific): Likewise.
7713         (cthread_setspecific): Likewise.
7714         (__libc_getspecific): Likewise.
7715         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
7716         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
7717         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
7718         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
7719         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
7720         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
7721         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
7722         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
7723         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
7724         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
7725         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
7726         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
7727         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
7728         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
7729         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
7730         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
7731         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
7732         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
7733         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
7734         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
7735         * sysdeps/mach/hurd/link.c (__link): Likewise.
7736         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
7737         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
7738         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
7739         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
7740         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7741         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
7742         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
7743         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
7744         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7745         * sysdeps/mach/hurd/rename.c (rename): Likewise.
7746         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
7747         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
7748         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
7749         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
7750         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
7751         * sysdeps/mach/hurd/send.c (__send): Likewise.
7752         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
7753         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
7754         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
7755         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
7756         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
7757         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
7758         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
7759         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
7760         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
7761         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
7762         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
7763         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
7764         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
7765         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
7766         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
7767         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
7768         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
7769         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
7770         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
7771         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
7772         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
7773         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
7774         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
7775         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
7776         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
7777         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
7778         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
7779         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
7780         * sysdeps/posix/alarm.c (alarm): Likewise.
7781         * sysdeps/posix/cuserid.c (cuserid): Likewise.
7782         * sysdeps/posix/dirfd.c (dirfd): Likewise.
7783         * sysdeps/posix/dup.c (__dup): Likewise.
7784         * sysdeps/posix/dup2.c (__dup2): Likewise.
7785         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
7786         (main): Likewise.
7787         * sysdeps/posix/flock.c (__flock): Likewise.
7788         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
7789         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
7790         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
7791         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
7792         * sysdeps/posix/isatty.c (__isatty): Likewise.
7793         * sysdeps/posix/killpg.c (killpg): Likewise.
7794         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
7795         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
7796         * sysdeps/posix/raise.c (raise): Likewise.
7797         * sysdeps/posix/remove.c (remove): Likewise.
7798         * sysdeps/posix/rename.c (rename): Likewise.
7799         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
7800         * sysdeps/posix/seekdir.c (seekdir): Likewise.
7801         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
7802         * sysdeps/posix/sigignore.c (sigignore): Likewise.
7803         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
7804         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
7805         * sysdeps/posix/sigset.c (sigset): Likewise.
7806         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
7807         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7808         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
7809         * sysdeps/posix/time.c (time): Likewise.
7810         * sysdeps/posix/ttyname.c (getttyname): Likewise.
7811         (ttyname): Likewise.
7812         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
7813         * sysdeps/posix/utime.c (utime): Likewise.
7814         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
7815         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7816         Likewise.
7817         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
7818         (pthread_spin_trylock): Likewise.
7819         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
7820         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
7821         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
7822         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
7823         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
7824         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
7825         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
7826         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
7827         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
7828         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
7829         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
7830         * sysdeps/s390/ffs.c (__ffs): Likewise.
7831         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
7832         Likewise.
7833         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7834         Likewise.
7835         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
7836         Likewise.
7837         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
7838         (pthread_barrier_destroy): Likewise.
7839         * sysdeps/sparc/nptl/pthread_barrier_wait.c
7840         (__pthread_barrier_wait): Likewise.
7841         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
7842         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
7843         (__pthread_barrier_wait): Likewise.
7844         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
7845         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
7846         (memcmp_not_common_alignment): Likewise.
7847         (MEMCMP): Likewise.
7848         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
7849         (_wordcopy_fwd_dest_aligned): Likewise.
7850         (_wordcopy_bwd_aligned): Likewise.
7851         (_wordcopy_bwd_dest_aligned): Likewise.
7852         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
7853         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
7854         * sysdeps/unix/bsd/stty.c (stty): Likewise.
7855         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
7856         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
7857         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
7858         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
7859         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
7860         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
7861         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
7862         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
7863         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
7864         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
7865         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
7866         * sysdeps/unix/stime.c (stime): Likewise.
7867         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
7868         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
7869         Likewise.  Use internal_function.
7870         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
7871         Convert to prototype-style function definition.
7872         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7873         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7874         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
7875         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7876         Likewise.  Use internal_function.
7877         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
7878         prototype-style function definition
7879         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7880         Likewise.
7881         (__getlogin_r): Likewise.
7882         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
7883         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
7884         (__pthread_cond_broadcast): Likewise.
7885         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
7886         (__pthread_cond_destroy): Likewise.
7887         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
7888         (__pthread_cond_init): Likewise.
7889         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
7890         (__pthread_cond_signal): Likewise.
7891         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
7892         (__pthread_cond_wait): Likewise.
7893         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
7894         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
7895         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
7896         Likewise.
7897         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
7898         Likewise.
7899         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
7900         Likewise.
7901         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
7902         Likewise.
7903         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
7904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
7905         (__ftruncate64): Likewise.
7906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
7907         (truncate64): Likewise.
7908         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
7909         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
7910         (pthread_getcpuclockid): Likewise.
7911         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
7912         Likewise.
7913         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
7914         Likewise.
7915         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
7916         Likewise.
7917         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
7918         Likewise.
7919         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
7920         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
7921         (__libc_sigaction): Likewise.
7922         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
7923         Likewise.
7924         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
7925         (__sigprocmask): Likewise.
7926         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
7927         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
7928         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
7929         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
7930         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7931         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
7932         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7933         Likewise.
7934         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
7935         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
7936         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7937         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
7938         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
7939         Likewise.
7940         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
7941         (__sigprocmask): Likewise.
7942         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
7943         (cfgetispeed): Likewise.
7944         (cfsetospeed): Likewise.
7945         (cfsetispeed): Likewise.
7946         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
7947         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
7948         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7949         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
7950         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
7951         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
7952         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
7953         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
7954         Likewise.
7955         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
7956         Likewise.
7957         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
7958         Likewise.
7959         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
7960         Likewise.
7961         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
7963 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7965         sunrpc: Rewrite with explicit TLS access using __thread.
7966         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
7967         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
7968         directly.
7969         (__rpc_thread_variables): Access thread_rpc_vars directly.
7970         Eliminate redundant assignment of the tvp variable.
7972 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7974         malloc: Rewrite with explicit TLS access using __thread.
7975         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
7976         (tsd_setspecific, tsd_getspecific): Remove.
7977         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
7978         (tsd_setspecific, tsd_getspecific): Likewise.
7979         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
7980         (tsd_setspecific, tsd_getspecific): Likewise.
7981         * malloc/arena.c (thread_arena): New TLS variable.
7982         (arena_key): Remove variable.
7983         (arena_get): Use thread_arena.
7984         (arena_lookup): Remove macro.
7985         (malloc_atfork, free_atfork, ptmalloc_lock_all)
7986         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
7987         (_int_new_arena, get_free_list, reused_arena)
7988         (arena_thread_freeres): Use thread_arena.
7989         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
7990         tsd_getspecific, tsd_setspecific from safety annotations.
7991         (Allocating Cleared Space): Remove arena_lookup from safety
7992         annotations.
7994 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7996         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
7997         struct scratch_buffer instead of extend_alloca.
7999 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8001         * sysdeps/unix/sysv/linux/kernel-features.h
8002         (__ASSUME_SOCK_CLOEXEC): Remove.
8003         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
8004         (__have_paccept): Remove unused macro.
8005         * include/unistd.h (__have_sock_cloexec): Remove declaration.
8006         * misc/syslog.c (openlog_internal): Remove fallback code for
8007         !__ASSUME_SOCK_CLOEXEC.
8008         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
8009         missing SOCK_CLOEXEC.
8010         * nscd/connections.c (have_sock_cloexec): Remove definition.
8011         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
8012         * nscd/nscd_helper.c (open_socket): Remove fallback code for
8013         !__ASSUME_SOCK_CLOEXEC.
8014         * resolv/res_send.c (__have_o_nonblock): Remove definition.
8015         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
8016         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
8017         definition.
8018         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
8019         code for !__ASSUME_SOCK_CLOEXEC.
8021 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8023         [BZ #18982]
8024         * manual/stdio.texi (Variable Arguments Output): Add portability
8025         note, explaining that vfprintf clobbers the va_list pointer.
8027 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
8029         * math/libm-test.inc (fabs_test_data): Add more tests.
8030         (fdim_test_data): Likewise.
8031         (fma_test_data): Likewise.
8032         (fmax_test_data): Likewise.
8033         (fmin_test_data): Likewise.
8034         (fmod_test_data): Likewise.
8036 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
8038         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
8039         data.
8041 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
8043         * math/libm-test.inc (ceil_test_data): Add more tests and more
8044         expectations for "inexact".
8045         (floor_test_data): Add more tests.
8046         (round_test_data): Likewise.
8047         (trunc_test_data): Likewise.
8049         * crypt/cert.c (good_bye): Convert to prototype-style function
8050         definition.
8051         (get8): Likewise.
8052         (put8): Likewise.
8053         * crypt/crypt-entry.c (crypt): Likewise.
8054         (__fcrypt): Likewise.
8055         * crypt/crypt_util.c (_ufc_prbits): Likewise.
8056         (_ufc_set_bits): Likewise.
8057         (_ufc_clearmem): Likewise.
8058         (__init_des_r): Likewise.
8059         (shuffle_sb): Likewise.
8060         (shuffle_sb): Likewise.
8061         (_ufc_setup_salt_r): Likewise.
8062         (_ufc_mk_keytab_r): Likewise.
8063         (_ufc_dofinalperm_r): Likewise.
8064         (encrypt): Likewise.
8065         (__setkey_r): Likewise.
8066         (setkey): Likewise.
8067         * crypt/md5.c (md5_init_ctx): Likewise.
8068         (md5_read_ctx): Likewise.
8069         (md5_finish_ctx): Likewise.
8070         (md5_stream): Likewise.
8071         (md5_buffer): Likewise.
8072         (md5_process_bytes): Likewise.
8073         * crypt/sha256.c (__sha256_init_ctx): Likewise.
8074         (__sha256_finish_ctx): Likewise.
8075         (__sha256_process_bytes): Likewise.
8076         * crypt/sha512.c (__sha512_init_ctx): Likewise.
8077         (__sha512_finish_ctx): Likewise.
8078         (__sha512_process_bytes): Likewise.
8079         * ctype/isctype.c (__isctype): Likewise.
8080         * debug/backtrace.c (__backtrace): Likewise.
8081         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
8082         * debug/fgets_chk.c (__fgets_chk): Likewise.
8083         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
8084         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
8085         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8086         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8087         * debug/memset_chk.c (__memset_chk): Likewise.
8088         * debug/strcat_chk.c (__strcat_chk): Likewise.
8089         * debug/strncat_chk.c (__strncat_chk): Likewise.
8090         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
8091         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
8092         * dirent/dirfd.c (dirfd): Likewise.
8093         * dirent/getdents.c (__getdirentries): Likewise.
8094         * dirent/getdents64.c (getdirentries64): Likewise.
8095         * dirent/rewinddir.c (__rewinddir): Likewise.
8096         * dirent/seekdir.c (seekdir): Likewise.
8097         * dirent/telldir.c (telldir): Likewise.
8098         * elf/sln.c (makesymlinks): Likewise.
8099         (makesymlink): Likewise.
8100         * gmon/gmon.c (__moncontrol): Likewise.
8101         (__monstartup): Likewise.
8102         (write_hist): Likewise.
8103         (write_call_graph): Likewise.
8104         (write_bb_counts): Likewise.
8105         * grp/setgroups.c (setgroups): Likewise.
8106         * inet/inet_lnaof.c (inet_lnaof): Likewise.
8107         * inet/inet_net.c (inet_network): Likewise.
8108         * inet/inet_netof.c (inet_netof): Likewise.
8109         * inet/rcmd.c (rresvport_af): Likewise.
8110         (rresvport): Likewise.
8111         * io/access.c (__access): Likewise.
8112         * io/chdir.c (__chdir): Likewise.
8113         * io/chmod.c (__chmod): Likewise.
8114         * io/chown.c (__chown): Likewise.
8115         * io/close.c (__close): Likewise.
8116         * io/creat.c (creat): Likewise.
8117         * io/creat64.c (creat64): Likewise.
8118         * io/dup.c (__dup): Likewise.
8119         * io/dup2.c (__dup2): Likewise.
8120         * io/dup3.c (__dup3): Likewise.
8121         * io/euidaccess.c (__euidaccess): Likewise.
8122         * io/faccessat.c (faccessat): Likewise.
8123         * io/fchmod.c (__fchmod): Likewise.
8124         * io/fchmodat.c (fchmodat): Likewise.
8125         * io/fchown.c (__fchown): Likewise.
8126         * io/fchownat.c (fchownat): Likewise.
8127         * io/fcntl.c (__fcntl): Likewise.
8128         * io/flock.c (__flock): Likewise.
8129         * io/fts.c (fts_load): Likewise.
8130         (fts_close): Likewise.
8131         (fts_read): Likewise.
8132         (fts_set): Likewise.
8133         (fts_children): Likewise.
8134         (fts_build): Likewise.
8135         (fts_stat): Likewise.
8136         (fts_sort): Likewise.
8137         (fts_alloc): Likewise.
8138         (fts_lfree): Likewise.
8139         (fts_palloc): Likewise.
8140         (fts_padjust): Likewise.
8141         (fts_maxarglen): Likewise.
8142         (fts_safe_changedir): Likewise.
8143         * io/getwd.c (getwd): Likewise.
8144         * io/isatty.c (__isatty): Likewise.
8145         * io/lchown.c (__lchown): Likewise.
8146         * io/link.c (__link): Likewise.
8147         * io/linkat.c (linkat): Likewise.
8148         * io/lseek.c (__libc_lseek): Likewise.
8149         * io/mkdir.c (__mkdir): Likewise.
8150         * io/mkdirat.c (mkdirat): Likewise.
8151         * io/mkfifo.c (mkfifo): Likewise.
8152         * io/mkfifoat.c (mkfifoat): Likewise.
8153         * io/open.c (__libc_open): Likewise.
8154         * io/open64.c (__libc_open64): Likewise.
8155         * io/readlink.c (__readlink): Likewise.
8156         * io/readlinkat.c (readlinkat): Likewise.
8157         * io/rmdir.c (__rmdir): Likewise.
8158         * io/symlink.c (__symlink): Likewise.
8159         * io/symlinkat.c (symlinkat): Likewise.
8160         * io/ttyname.c (ttyname): Likewise.
8161         * io/ttyname_r.c (__ttyname_r): Likewise.
8162         * io/umask.c (__umask): Likewise.
8163         * io/unlink.c (__unlink): Likewise.
8164         * io/unlinkat.c (unlinkat): Likewise.
8165         * io/utime.c (utime): Likewise.
8166         * libio/clearerr.c (clearerr): Likewise.
8167         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
8168         * libio/feof.c (_IO_feof): Likewise.
8169         * libio/feof_u.c (feof_unlocked): Likewise.
8170         * libio/ferror.c (_IO_ferror): Likewise.
8171         * libio/ferror_u.c (ferror_unlocked): Likewise.
8172         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8173         * libio/fileno.c (__fileno): Likewise.
8174         * libio/fputc.c (fputc): Likewise.
8175         * libio/fputc_u.c (fputc_unlocked): Likewise.
8176         * libio/fputwc.c (fputwc): Likewise.
8177         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
8178         * libio/freopen.c (freopen): Likewise.
8179         * libio/freopen64.c (freopen64): Likewise.
8180         * libio/fseek.c (fseek): Likewise.
8181         * libio/fseeko.c (fseeko): Likewise.
8182         * libio/fseeko64.c (fseeko64): Likewise.
8183         * libio/ftello.c (__ftello): Likewise.
8184         * libio/ftello64.c (ftello64): Likewise.
8185         * libio/fwide.c (fwide): Likewise.
8186         * libio/genops.c (_IO_un_link): Likewise.
8187         (_IO_link_in): Likewise.
8188         (_IO_least_marker): Likewise.
8189         (_IO_switch_to_main_get_area): Likewise.
8190         (_IO_switch_to_backup_area): Likewise.
8191         (_IO_switch_to_get_mode): Likewise.
8192         (_IO_free_backup_area): Likewise.
8193         (_IO_switch_to_put_mode): Likewise.
8194         (__overflow): Likewise.
8195         (__underflow): Likewise.
8196         (__uflow): Likewise.
8197         (_IO_setb): Likewise.
8198         (_IO_doallocbuf): Likewise.
8199         (_IO_default_underflow): Likewise.
8200         (_IO_default_uflow): Likewise.
8201         (_IO_default_xsputn): Likewise.
8202         (_IO_sgetn): Likewise.
8203         (_IO_default_xsgetn): Likewise.
8204         (_IO_sync): Likewise.
8205         (_IO_default_setbuf): Likewise.
8206         (_IO_default_seekpos): Likewise.
8207         (_IO_default_doallocate): Likewise.
8208         (_IO_init): Likewise.
8209         (_IO_old_init): Likewise.
8210         (_IO_default_sync): Likewise.
8211         (_IO_default_finish): Likewise.
8212         (_IO_default_seekoff): Likewise.
8213         (_IO_sputbackc): Likewise.
8214         (_IO_sungetc): Likewise.
8215         (_IO_set_column): Likewise.
8216         (_IO_set_column): Likewise.
8217         (_IO_adjust_column): Likewise.
8218         (_IO_get_column): Likewise.
8219         (_IO_init_marker): Likewise.
8220         (_IO_remove_marker): Likewise.
8221         (_IO_marker_difference): Likewise.
8222         (_IO_marker_delta): Likewise.
8223         (_IO_seekmark): Likewise.
8224         (_IO_unsave_markers): Likewise.
8225         (_IO_nobackup_pbackfail): Likewise.
8226         (_IO_default_pbackfail): Likewise.
8227         (_IO_default_seek): Likewise.
8228         (_IO_default_stat): Likewise.
8229         (_IO_default_read): Likewise.
8230         (_IO_default_write): Likewise.
8231         (_IO_default_showmanyc): Likewise.
8232         (_IO_default_imbue): Likewise.
8233         (_IO_iter_next): Likewise.
8234         (_IO_iter_file): Likewise.
8235         * libio/getc.c (_IO_getc): Likewise.
8236         * libio/getwc.c (_IO_getwc): Likewise.
8237         * libio/iofclose.c (_IO_new_fclose): Likewise.
8238         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8239         * libio/iofflush.c (_IO_fflush): Likewise.
8240         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
8241         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
8242         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
8243         * libio/iofgets.c (_IO_fgets): Likewise.
8244         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
8245         * libio/iofgetws.c (fgetws): Likewise.
8246         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8247         * libio/iofopen64.c (_IO_fopen64): Likewise.
8248         * libio/iofopncook.c (_IO_cookie_read): Likewise.
8249         (_IO_cookie_write): Likewise.
8250         (_IO_cookie_seek): Likewise.
8251         (_IO_cookie_close): Likewise.
8252         (_IO_cookie_seekoff): Likewise.
8253         (_IO_old_cookie_seek): Likewise.
8254         * libio/iofputs.c (_IO_fputs): Likewise.
8255         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
8256         * libio/iofputws.c (fputws): Likewise.
8257         * libio/iofputws_u.c (fputws_unlocked): Likewise.
8258         * libio/iofread.c (_IO_fread): Likewise.
8259         * libio/iofread_u.c (__fread_unlocked): Likewise.
8260         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
8261         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
8262         * libio/ioftell.c (_IO_ftell): Likewise.
8263         * libio/iofwrite.c (_IO_fwrite): Likewise.
8264         * libio/iogetdelim.c (_IO_getdelim): Likewise.
8265         * libio/iogets.c (_IO_gets): Likewise.
8266         * libio/iopadn.c (_IO_padn): Likewise.
8267         * libio/iopopen.c (_IO_new_proc_open): Likewise.
8268         (_IO_new_popen): Likewise.
8269         (_IO_new_proc_close): Likewise.
8270         * libio/ioputs.c (_IO_puts): Likewise.
8271         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
8272         (_IO_seekoff): Likewise.
8273         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
8274         (_IO_seekpos): Likewise.
8275         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
8276         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
8277         * libio/ioungetc.c (_IO_ungetc): Likewise.
8278         * libio/ioungetwc.c (ungetwc): Likewise.
8279         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8280         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
8281         * libio/iowpadn.c (_IO_wpadn): Likewise.
8282         * libio/libc_fatal.c (__libc_fatal): Likewise.
8283         * libio/memstream.c (__open_memstream): Likewise.
8284         (_IO_mem_sync): Likewise.
8285         (_IO_mem_finish): Likewise.
8286         * libio/oldfileops.c (_IO_old_file_init): Likewise.
8287         (_IO_old_file_close_it): Likewise.
8288         (_IO_old_file_finish): Likewise.
8289         (_IO_old_file_fopen): Likewise.
8290         (_IO_old_file_attach): Likewise.
8291         (_IO_old_file_setbuf): Likewise.
8292         (_IO_old_do_write): Likewise.
8293         (old_do_write): Likewise.
8294         (_IO_old_file_underflow): Likewise.
8295         (_IO_old_file_overflow): Likewise.
8296         (_IO_old_file_sync): Likewise.
8297         (_IO_old_file_seekoff): Likewise.
8298         (_IO_old_file_write): Likewise.
8299         (_IO_old_file_xsputn): Likewise.
8300         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
8301         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8302         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
8303         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
8304         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
8305         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
8306         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
8307         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
8308         (_IO_old_popen): Likewise.
8309         (_IO_old_proc_close): Likewise.
8310         * libio/oldpclose.c (__old_pclose): Likewise.
8311         * libio/pclose.c (__new_pclose): Likewise.
8312         * libio/peekc.c (_IO_peekc_locked): Likewise.
8313         * libio/putc.c (_IO_putc): Likewise.
8314         * libio/putc_u.c (putc_unlocked): Likewise.
8315         * libio/putchar.c (putchar): Likewise.
8316         * libio/putchar_u.c (putchar_unlocked): Likewise.
8317         * libio/putwc.c (putwc): Likewise.
8318         * libio/putwc_u.c (putwc_unlocked): Likewise.
8319         * libio/putwchar.c (putwchar): Likewise.
8320         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
8321         * libio/rewind.c (rewind): Likewise.
8322         * libio/setbuf.c (setbuf): Likewise.
8323         * libio/setlinebuf.c (setlinebuf): Likewise.
8324         * libio/vasprintf.c (_IO_vasprintf): Likewise.
8325         * libio/vscanf.c (_IO_vscanf): Likewise.
8326         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
8327         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
8328         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
8329         * libio/wgenops.c (_IO_least_wmarker): Likewise.
8330         (_IO_switch_to_main_wget_area): Likewise.
8331         (_IO_switch_to_wbackup_area): Likewise.
8332         (_IO_wsetb): Likewise.
8333         (_IO_wdefault_pbackfail): Likewise.
8334         (_IO_wdefault_finish): Likewise.
8335         (_IO_wdefault_uflow): Likewise.
8336         (__woverflow): Likewise.
8337         (__wuflow): Likewise.
8338         (__wunderflow): Likewise.
8339         (_IO_wdefault_xsputn): Likewise.
8340         (_IO_wdefault_xsgetn): Likewise.
8341         (_IO_wdoallocbuf): Likewise.
8342         (_IO_wdefault_doallocate): Likewise.
8343         (_IO_switch_to_wget_mode): Likewise.
8344         (_IO_free_wbackup_area): Likewise.
8345         (_IO_switch_to_wput_mode): Likewise.
8346         (_IO_sputbackwc): Likewise.
8347         (_IO_sungetwc): Likewise.
8348         (_IO_adjust_wcolumn): Likewise.
8349         (_IO_init_wmarker): Likewise.
8350         (_IO_wmarker_delta): Likewise.
8351         (_IO_seekwmark): Likewise.
8352         (_IO_unsave_wmarkers): Likewise.
8353         * libio/wmemstream.c (open_wmemstream): Likewise.
8354         (_IO_wmem_sync): Likewise.
8355         (_IO_wmem_finish): Likewise.
8356         * locale/nl_langinfo.c (nl_langinfo): Likewise.
8357         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
8358         * locale/programs/simple-hash.c (init_hash): Likewise.
8359         (delete_hash): Likewise.
8360         (insert_entry): Likewise.
8361         (set_entry): Likewise.
8362         (next_prime): Likewise.
8363         (is_prime): Likewise.
8364         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
8365         (xmalloc): Likewise.
8366         (xrealloc): Likewise.
8367         * locale/programs/xstrdup.c (xstrdup): Likewise.
8368         * localedata/collate-test.c (xstrcoll): Likewise.
8369         * localedata/xfrm-test.c (xstrcmp): Likewise.
8370         * login/getlogin_r.c (__getlogin_r): Likewise.
8371         * login/getpt.c (__posix_openpt): Likewise.
8372         * login/login_tty.c (login_tty): Likewise.
8373         * login/setlogin.c (setlogin): Likewise.
8374         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
8375         (mach_msg_destroy_port): Likewise.
8376         (mach_msg_destroy_memory): Likewise.
8377         * malloc/mcheck.c (flood): Likewise.
8378         * misc/acct.c (acct): Likewise.
8379         * misc/brk.c (__brk): Likewise.
8380         * misc/chflags.c (chflags): Likewise.
8381         * misc/chroot.c (chroot): Likewise.
8382         * misc/fchflags.c (fchflags): Likewise.
8383         * misc/fstab.c (getfsspec): Likewise.
8384         (getfsfile): Likewise.
8385         * misc/fsync.c (fsync): Likewise.
8386         * misc/ftruncate.c (__ftruncate): Likewise.
8387         * misc/ftruncate64.c (__ftruncate64): Likewise.
8388         * misc/getdomain.c (getdomainname): Likewise.
8389         (getdomainname): Likewise.
8390         * misc/gethostname.c (__gethostname): Likewise.
8391         * misc/getpass.c (getpass): Likewise.
8392         * misc/getttyent.c (skip): Likewise.
8393         (value): Likewise.
8394         * misc/gtty.c (gtty): Likewise.
8395         * misc/hsearch.c (hsearch): Likewise.
8396         (hcreate): Likewise.
8397         * misc/hsearch_r.c (__hcreate_r): Likewise.
8398         (__hdestroy_r): Likewise.
8399         * misc/ioctl.c (__ioctl): Likewise.
8400         * misc/mkdtemp.c (mkdtemp): Likewise.
8401         * misc/mkostemp.c (mkostemp): Likewise.
8402         * misc/mkostemp64.c (mkostemp64): Likewise.
8403         * misc/mkostemps.c (mkostemps): Likewise.
8404         * misc/mkostemps64.c (mkostemps64): Likewise.
8405         * misc/mkstemp.c (mkstemp): Likewise.
8406         * misc/mkstemp64.c (mkstemp64): Likewise.
8407         * misc/mkstemps.c (mkstemps): Likewise.
8408         * misc/mkstemps64.c (mkstemps64): Likewise.
8409         * misc/mktemp.c (__mktemp): Likewise.
8410         * misc/preadv.c (preadv): Likewise.
8411         * misc/preadv64.c (preadv64): Likewise.
8412         * misc/pwritev.c (pwritev): Likewise.
8413         * misc/pwritev64.c (pwritev64): Likewise.
8414         * misc/readv.c (__readv): Likewise.
8415         * misc/revoke.c (revoke): Likewise.
8416         * misc/setdomain.c (setdomainname): Likewise.
8417         * misc/setegid.c (setegid): Likewise.
8418         * misc/seteuid.c (seteuid): Likewise.
8419         * misc/sethostid.c (sethostid): Likewise.
8420         * misc/sethostname.c (sethostname): Likewise.
8421         * misc/setregid.c (__setregid): Likewise.
8422         * misc/setreuid.c (__setreuid): Likewise.
8423         * misc/sstk.c (sstk): Likewise.
8424         * misc/stty.c (stty): Likewise.
8425         * misc/syscall.c (syscall): Likewise.
8426         * misc/syslog.c (setlogmask): Likewise.
8427         * misc/truncate.c (__truncate): Likewise.
8428         * misc/truncate64.c (truncate64): Likewise.
8429         * misc/ualarm.c (ualarm): Likewise.
8430         * misc/usleep.c (usleep): Likewise.
8431         * misc/ustat.c (ustat): Likewise.
8432         * misc/writev.c (__writev): Likewise.
8433         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
8434         * nptl/old_pthread_cond_broadcast.c
8435         (__pthread_cond_broadcast_2_0): Likewise.
8436         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
8437         Likewise.
8438         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
8439         Likewise.
8440         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
8441         Likewise.
8442         * nptl/pt-raise.c (raise): Likewise.
8443         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
8444         Likewise.
8445         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
8446         * nptl/pthread_barrierattr_destroy.c
8447         (pthread_barrierattr_destroy): Likewise.
8448         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
8449         Likewise.
8450         * nptl/pthread_barrierattr_setpshared.c
8451         (pthread_barrierattr_setpshared): Likewise.
8452         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8453         Likewise.
8454         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
8455         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
8456         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
8457         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
8458         Likewise.
8459         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
8460         Likewise.
8461         * nptl/pthread_condattr_getpshared.c
8462         (pthread_condattr_getpshared): Likewise.
8463         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
8464         Likewise.
8465         * nptl/pthread_condattr_setpshared.c
8466         (pthread_condattr_setpshared): Likewise.
8467         * nptl/pthread_detach.c (pthread_detach): Likewise.
8468         * nptl/pthread_equal.c (__pthread_equal): Likewise.
8469         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
8470         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
8471         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
8472         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
8473         Likewise.
8474         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8475         Likewise.
8476         * nptl/pthread_mutex_getprioceiling.c
8477         (pthread_mutex_getprioceiling): Likewise.
8478         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
8479         Likewise.
8480         * nptl/pthread_mutexattr_getprotocol.c
8481         (pthread_mutexattr_getprotocol): Likewise.
8482         * nptl/pthread_mutexattr_getpshared.c
8483         (pthread_mutexattr_getpshared): Likewise.
8484         * nptl/pthread_mutexattr_getrobust.c
8485         (pthread_mutexattr_getrobust): Likewise.
8486         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8487         Likewise.
8488         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
8489         Likewise.
8490         * nptl/pthread_mutexattr_setprioceiling.c
8491         (pthread_mutexattr_setprioceiling): Likewise.
8492         * nptl/pthread_mutexattr_setprotocol.c
8493         (pthread_mutexattr_setprotocol): Likewise.
8494         * nptl/pthread_mutexattr_setpshared.c
8495         (pthread_mutexattr_setpshared): Likewise.
8496         * nptl/pthread_mutexattr_setrobust.c
8497         (pthread_mutexattr_setrobust): Likewise.
8498         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
8499         Likewise.
8500         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
8501         Likewise.
8502         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
8503         Likewise.
8504         * nptl/pthread_rwlockattr_getkind_np.c
8505         (pthread_rwlockattr_getkind_np): Likewise.
8506         * nptl/pthread_rwlockattr_getpshared.c
8507         (pthread_rwlockattr_getpshared): Likewise.
8508         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
8509         Likewise.
8510         * nptl/pthread_rwlockattr_setkind_np.c
8511         (pthread_rwlockattr_setkind_np): Likewise.
8512         * nptl/pthread_rwlockattr_setpshared.c
8513         (pthread_rwlockattr_setpshared): Likewise.
8514         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
8515         Likewise.
8516         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
8517         Likewise.
8518         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
8519         Likewise.
8520         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
8521         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
8522         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
8523         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
8524         * nptl/sem_close.c (sem_close): Likewise.
8525         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
8526         * nptl/sem_init.c (__old_sem_init): Likewise.
8527         * nptl/sigaction.c (__sigaction): Likewise.
8528         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
8529         * posix/_exit.c (_exit): Likewise.
8530         * posix/alarm.c (alarm): Likewise.
8531         * posix/confstr.c (confstr): Likewise.
8532         * posix/fpathconf.c (__fpathconf): Likewise.
8533         * posix/getgroups.c (__getgroups): Likewise.
8534         * posix/getpgid.c (__getpgid): Likewise.
8535         * posix/group_member.c (__group_member): Likewise.
8536         * posix/pathconf.c (__pathconf): Likewise.
8537         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
8538         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
8539         * posix/setgid.c (__setgid): Likewise.
8540         * posix/setpgid.c (__setpgid): Likewise.
8541         * posix/setuid.c (__setuid): Likewise.
8542         * posix/sleep.c (__sleep): Likewise.
8543         * posix/sysconf.c (__sysconf): Likewise.
8544         * posix/times.c (__times): Likewise.
8545         * posix/uname.c (__uname): Likewise.
8546         * posix/waitid.c (__waitid): Likewise.
8547         * pwd/getpw.c (__getpw): Likewise.
8548         * resolv/base64.c (b64_pton): Likewise.
8549         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
8550         * resolv/gethnamaddr.c (Dprintf): Likewise.
8551         (gethostbyname): Likewise.
8552         (gethostbyname2): Likewise.
8553         (gethostbyaddr): Likewise.
8554         (_sethtent): Likewise.
8555         (_gethtbyname): Likewise.
8556         (_gethtbyname2): Likewise.
8557         (_gethtbyaddr): Likewise.
8558         (map_v4v6_address): Likewise.
8559         (map_v4v6_hostent): Likewise.
8560         (addrsort): Likewise.
8561         (ht_sethostent): Likewise.
8562         (ht_gethostbyname): Likewise.
8563         (ht_gethostbyaddr): Likewise.
8564         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
8565         (inet_net_ntop_ipv4): Likewise.
8566         * resolv/inet_neta.c (inet_neta): Likewise.
8567         * resolv/inet_ntop.c (inet_ntop): Likewise.
8568         (inet_ntop4): Likewise.
8569         (inet_ntop6): Likewise.
8570         * resolv/inet_pton.c (__inet_pton): Likewise.
8571         (inet_pton4): Likewise.
8572         (inet_pton6): Likewise.
8573         * resolv/res_debug.c (loc_aton): Likewise.
8574         (loc_ntoa): Likewise.
8575         * resource/getpriority.c (__getpriority): Likewise.
8576         * resource/getrusage.c (__getrusage): Likewise.
8577         * resource/nice.c (nice): Likewise.
8578         * resource/setpriority.c (__setpriority): Likewise.
8579         * resource/setrlimit64.c (setrlimit64): Likewise.
8580         * resource/vlimit.c (vlimit): Likewise.
8581         * resource/vtimes.c (vtimes): Likewise.
8582         * rt/aio_error.c (aio_error): Likewise.
8583         * rt/aio_return.c (aio_return): Likewise.
8584         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
8585         * signal/kill.c (__kill): Likewise.
8586         * signal/killpg.c (killpg): Likewise.
8587         * signal/raise.c (raise): Likewise.
8588         * signal/sigaction.c (__sigaction): Likewise.
8589         * signal/sigaddset.c (sigaddset): Likewise.
8590         * signal/sigaltstack.c (sigaltstack): Likewise.
8591         * signal/sigandset.c (sigandset): Likewise.
8592         * signal/sigblock.c (__sigblock): Likewise.
8593         * signal/sigdelset.c (sigdelset): Likewise.
8594         * signal/sigempty.c (sigemptyset): Likewise.
8595         * signal/sigfillset.c (sigfillset): Likewise.
8596         * signal/sighold.c (sighold): Likewise.
8597         * signal/sigignore.c (sigignore): Likewise.
8598         * signal/sigintr.c (siginterrupt): Likewise.
8599         * signal/sigisempty.c (sigisemptyset): Likewise.
8600         * signal/sigismem.c (sigismember): Likewise.
8601         * signal/signal.c (signal): Likewise.
8602         * signal/sigorset.c (sigorset): Likewise.
8603         * signal/sigpause.c (__sigpause): Likewise.
8604         * signal/sigpending.c (sigpending): Likewise.
8605         * signal/sigprocmask.c (__sigprocmask): Likewise.
8606         * signal/sigrelse.c (sigrelse): Likewise.
8607         * signal/sigreturn.c (__sigreturn): Likewise.
8608         * signal/sigset.c (sigset): Likewise.
8609         * signal/sigsetmask.c (__sigsetmask): Likewise.
8610         * signal/sigstack.c (sigstack): Likewise.
8611         * signal/sigsuspend.c (__sigsuspend): Likewise.
8612         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
8613         * signal/sysv_signal.c (__sysv_signal): Likewise.
8614         * socket/accept.c (accept): Likewise.
8615         * socket/accept4.c (__libc_accept4): Likewise.
8616         * socket/bind.c (__bind): Likewise.
8617         * socket/connect.c (__connect): Likewise.
8618         * socket/getpeername.c (getpeername): Likewise.
8619         * socket/getsockname.c (__getsockname): Likewise.
8620         * socket/getsockopt.c (getsockopt): Likewise.
8621         * socket/listen.c (__listen): Likewise.
8622         * socket/recv.c (__recv): Likewise.
8623         * socket/recvmsg.c (__recvmsg): Likewise.
8624         * socket/send.c (__send): Likewise.
8625         * socket/sendmsg.c (__sendmsg): Likewise.
8626         * socket/shutdown.c (shutdown): Likewise.
8627         * socket/sockatmark.c (sockatmark): Likewise.
8628         * socket/socket.c (__socket): Likewise.
8629         * stdio-common/ctermid.c (ctermid): Likewise.
8630         * stdio-common/cuserid.c (cuserid): Likewise.
8631         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
8632         * stdio-common/remove.c (remove): Likewise.
8633         * stdio-common/rename.c (rename): Likewise.
8634         * stdio-common/renameat.c (renameat): Likewise.
8635         * stdio-common/tempname.c (__gen_tempname): Likewise.
8636         * stdio-common/xbug.c (InitBuffer): Likewise.
8637         (AppendToBuffer): Likewise.
8638         (ReadFile): Likewise.
8639         * stdlib/a64l.c (a64l): Likewise.
8640         * stdlib/drand48_r.c (drand48_r): Likewise.
8641         * stdlib/getcontext.c (getcontext): Likewise.
8642         * stdlib/getenv.c (getenv): Likewise.
8643         * stdlib/l64a.c (l64a): Likewise.
8644         * stdlib/llabs.c (llabs): Likewise.
8645         * stdlib/lldiv.c (lldiv): Likewise.
8646         * stdlib/lrand48_r.c (lrand48_r): Likewise.
8647         * stdlib/mrand48_r.c (mrand48_r): Likewise.
8648         * stdlib/putenv.c (putenv): Likewise.
8649         * stdlib/random.c (__srandom): Likewise.
8650         (__initstate): Likewise.
8651         (__setstate): Likewise.
8652         * stdlib/random_r.c (__srandom_r): Likewise.
8653         (__setstate_r): Likewise.
8654         (__random_r): Likewise.
8655         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
8656         * stdlib/setcontext.c (setcontext): Likewise.
8657         * stdlib/setenv.c (setenv): Likewise.
8658         (unsetenv): Likewise.
8659         * stdlib/srand48.c (srand48): Likewise.
8660         * stdlib/srand48_r.c (__srand48_r): Likewise.
8661         * stdlib/swapcontext.c (swapcontext): Likewise.
8662         * stdlib/system.c (__libc_system): Likewise.
8663         * stdlib/tst-strtod.c (expand): Likewise.
8664         * stdlib/tst-strtol.c (expand): Likewise.
8665         * stdlib/tst-strtoll.c (expand): Likewise.
8666         * streams/fattach.c (fattach): Likewise.
8667         * streams/fdetach.c (fdetach): Likewise.
8668         * streams/getmsg.c (getmsg): Likewise.
8669         * streams/isastream.c (isastream): Likewise.
8670         * string/ffs.c (__ffs): Likewise.
8671         * string/ffsll.c (ffsll): Likewise.
8672         * string/memcmp.c (memcmp_common_alignment): Likewise.
8673         (memcmp_not_common_alignment): Likewise.
8674         (MEMCMP): Likewise.
8675         * string/memcpy.c (memcpy): Likewise.
8676         * string/memmove.c (MEMMOVE): Likewise.
8677         * string/memset.c (memset): Likewise.
8678         * string/rawmemchr.c (RAWMEMCHR): Likewise.
8679         * string/strchrnul.c (STRCHRNUL): Likewise.
8680         * string/strerror.c (strerror): Likewise.
8681         * string/strndup.c (__strndup): Likewise.
8682         * string/strverscmp.c (__strverscmp): Likewise.
8683         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
8684         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
8685         (clnttcp_freeres): Likewise.
8686         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
8687         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
8688         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
8689         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
8690         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
8691         (xdr_callhdr): Likewise.
8692         * sunrpc/rpcinfo.c (udpping): Likewise.
8693         (tcpping): Likewise.
8694         (pstatus): Likewise.
8695         (pmapdump): Likewise.
8696         (brdcst): Likewise.
8697         (deletereg): Likewise.
8698         (getprognum): Likewise.
8699         (getvers): Likewise.
8700         (get_inet_address): Likewise.
8701         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
8702         * sunrpc/svc_udp.c (svcudp_create): Likewise.
8703         (svcudp_stat): Likewise.
8704         (svcudp_recv): Likewise.
8705         (svcudp_reply): Likewise.
8706         (svcudp_getargs): Likewise.
8707         (svcudp_freeargs): Likewise.
8708         (svcudp_destroy): Likewise.
8709         * sunrpc/xdr.c (xdr_bytes): Likewise.
8710         (xdr_netobj): Likewise.
8711         (xdr_string): Likewise.
8712         (xdr_wrapstring): Likewise.
8713         * sunrpc/xdr_float.c (xdr_float): Likewise.
8714         (xdr_double): Likewise.
8715         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
8716         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
8717         * sysvipc/ftok.c (ftok): Likewise.
8718         * sysvipc/msgctl.c (msgctl): Likewise.
8719         * sysvipc/msgget.c (msgget): Likewise.
8720         * sysvipc/msgrcv.c (msgrcv): Likewise.
8721         * sysvipc/msgsnd.c (msgsnd): Likewise.
8722         * sysvipc/semget.c (semget): Likewise.
8723         * sysvipc/semop.c (semop): Likewise.
8724         * sysvipc/shmat.c (shmat): Likewise.
8725         * sysvipc/shmctl.c (shmctl): Likewise.
8726         * sysvipc/shmdt.c (shmdt): Likewise.
8727         * sysvipc/shmget.c (shmget): Likewise.
8728         * termios/cfmakeraw.c (cfmakeraw): Likewise.
8729         * termios/speed.c (cfgetospeed): Likewise.
8730         (cfgetispeed): Likewise.
8731         (cfsetospeed): Likewise.
8732         (cfsetispeed): Likewise.
8733         * termios/tcflow.c (tcflow): Likewise.
8734         * termios/tcflush.c (tcflush): Likewise.
8735         * termios/tcgetattr.c (__tcgetattr): Likewise.
8736         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
8737         * termios/tcgetsid.c (tcgetsid): Likewise.
8738         * termios/tcsendbrk.c (tcsendbreak): Likewise.
8739         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
8740         * time/adjtime.c (__adjtime): Likewise.
8741         * time/dysize.c (dysize): Likewise.
8742         * time/ftime.c (ftime): Likewise.
8743         * time/getitimer.c (__getitimer): Likewise.
8744         * time/gettimeofday.c (__gettimeofday): Likewise.
8745         * time/gmtime.c (__gmtime_r): Likewise.
8746         (gmtime): Likewise.
8747         * time/localtime.c (__localtime_r): Likewise.
8748         (localtime): Likewise.
8749         * time/offtime.c (__offtime): Likewise.
8750         * time/settimeofday.c (__settimeofday): Likewise.
8751         * time/stime.c (stime): Likewise.
8752         * time/strftime_l.c (tm_diff): Likewise.
8753         (iso_week_days): Likewise.
8754         * time/strptime.c (strptime): Likewise.
8755         * time/time.c (time): Likewise.
8756         * time/timespec_get.c (timespec_get): Likewise.
8757         * time/tzset.c (tzset_internal): Likewise.
8758         (compute_change): Likewise.
8759         (__tz_compute): Likewise.
8760         * wcsmbs/btowc.c (__btowc): Likewise.
8761         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
8762         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
8763         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
8764         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
8765         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
8766         * wcsmbs/wcscat.c (__wcscat): Likewise.
8767         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8768         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
8769         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
8770         * wcsmbs/wcscspn.c (wcscspn): Likewise.
8771         * wcsmbs/wcsdup.c (wcsdup): Likewise.
8772         * wcsmbs/wcslen.c (__wcslen): Likewise.
8773         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
8774         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
8775         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
8776         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
8777         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8778         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
8779         * wcsmbs/wcsspn.c (wcsspn): Likewise.
8780         * wcsmbs/wcsstr.c (wcsstr): Likewise.
8781         * wcsmbs/wcstok.c (wcstok): Likewise.
8782         * wcsmbs/wctob.c (wctob): Likewise.
8783         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
8784         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8785         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
8786         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
8787         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
8788         * wcsmbs/wmemset.c (__wmemset): Likewise.
8789         * wctype/wcfuncs.c (__towlower): Likewise.
8790         (__towupper): Likewise.
8792         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
8793         (lll_unlock_elision): Add adapt_count parameter.
8795 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
8797         * sysdeps/nptl/configure.ac: Do not give errors based on the
8798         results of top-level configure tests.
8799         * sysdeps/nptl/configure: Regenerated.
8801         * configure.ac (libc_cv_Bgroup): Remove configure test.
8802         * configure: Regenerated.
8803         * config.make.in (have-Bgroup): Remove variable.
8805         * configure.ac (sizeof_long_double): Remove configure test.
8806         * configure: Regenerated.
8807         * config.make.in (sizeof-long-double): Remove variable.
8809         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
8810         * configure: Regenerated.
8811         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
8812         variable.
8813         (exceptions): Likewise.
8814         * sysdeps/arm/configure: Regenerated.
8815         * config.make.in (exceptions): Remove variable.
8816         * Makeconfig (uses-callbacks): Use -fexceptions instead of
8817         $(exceptions).
8818         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
8819         (CFLAGS-vdprintf_chk.c): Likewise.
8820         (CFLAGS-printf_chk.c): Likewise.
8821         (CFLAGS-fprintf_chk.c): Likewise.
8822         (CFLAGS-vprintf_chk.c): Likewise.
8823         (CFLAGS-vfprintf_chk.c): Likewise.
8824         (CFLAGS-gets_chk.c): Likewise.
8825         (CFLAGS-fgets_chk.c): Likewise.
8826         (CFLAGS-fgets_u_chk.c): Likewise.
8827         (CFLAGS-fread_chk.c): Likewise.
8828         (CFLAGS-fread_u_chk.c): Likewise.
8829         (CFLAGS-wprintf_chk.c): Likewise.
8830         (CFLAGS-fwprintf_chk.c): Likewise.
8831         (CFLAGS-vwprintf_chk.c): Likewise.
8832         (CFLAGS-vfwprintf_chk.c): Likewise.
8833         (CFLAGS-fgetws_chk.c): Likewise.
8834         (CFLAGS-fgetws_u_chk.c): Likewise.
8835         * libio/Makefile (CFLAGS-fileops.c): Likewise.
8836         (CFLAGS-fputc.c): Likewise.
8837         (CFLAGS-fputwc.c): Likewise.
8838         (CFLAGS-freopen64.c): Likewise.
8839         (CFLAGS-freopen.c): Likewise.
8840         (CFLAGS-fseek.c): Likewise.
8841         (CFLAGS-fseeko64.c): Likewise.
8842         (CFLAGS-fseeko.c): Likewise.
8843         (CFLAGS-ftello64.c): Likewise.
8844         (CFLAGS-ftello.c): Likewise.
8845         (CFLAGS-fwide.c): Likewise.
8846         (CFLAGS-genops.c): Likewise.
8847         (CFLAGS-getc.c): Likewise.
8848         (CFLAGS-getchar.c): Likewise.
8849         (CFLAGS-getwc.c): Likewise.
8850         (CFLAGS-getwchar.c): Likewise.
8851         (CFLAGS-iofclose.c): Likewise.
8852         (CFLAGS-iofflush.c): Likewise.
8853         (CFLAGS-iofgetpos64.c): Likewise.
8854         (CFLAGS-iofgetpos.c): Likewise.
8855         (CFLAGS-iofgets.c): Likewise.
8856         (CFLAGS-iofgetws.c): Likewise.
8857         (CFLAGS-iofputs.c): Likewise.
8858         (CFLAGS-iofputws.c): Likewise.
8859         (CFLAGS-iofread.c): Likewise.
8860         (CFLAGS-iofsetpos64.c): Likewise.
8861         (CFLAGS-iofsetpos.c): Likewise.
8862         (CFLAGS-ioftell.c): Likewise.
8863         (CFLAGS-iofwrite.c): Likewise.
8864         (CFLAGS-iogetdelim.c): Likewise.
8865         (CFLAGS-iogetline.c): Likewise.
8866         (CFLAGS-iogets.c): Likewise.
8867         (CFLAGS-iogetwline.c): Likewise.
8868         (CFLAGS-ioputs.c): Likewise.
8869         (CFLAGS-ioseekoff.c): Likewise.
8870         (CFLAGS-ioseekpos.c): Likewise.
8871         (CFLAGS-iosetbuffer.c): Likewise.
8872         (CFLAGS-iosetvbuf.c): Likewise.
8873         (CFLAGS-ioungetc.c): Likewise.
8874         (CFLAGS-ioungetwc.c): Likewise.
8875         (CFLAGS-oldfileops.c): Likewise.
8876         (CFLAGS-oldiofclose.c): Likewise.
8877         (CFLAGS-oldiofgetpos64.c): Likewise.
8878         (CFLAGS-oldiofgetpos.c): Likewise.
8879         (CFLAGS-oldiofsetpos64.c): Likewise.
8880         (CFLAGS-oldiofsetpos.c): Likewise.
8881         (CFLAGS-peekc.c): Likewise.
8882         (CFLAGS-putc.c): Likewise.
8883         (CFLAGS-putchar.c): Likewise.
8884         (CFLAGS-putwc.c): Likewise.
8885         (CFLAGS-putwchar.c): Likewise.
8886         (CFLAGS-rewind.c): Likewise.
8887         (CFLAGS-wfileops.c): Likewise.
8888         (CFLAGS-wgenops.c): Likewise.
8889         (CFLAGS-oldiofopen.c): Likewise.
8890         (CFLAGS-iofopen.c): Likewise.
8891         (CFLAGS-iofopen64.c): Likewise.
8892         (CFLAGS-oldtmpfile.c): Likewise.
8893         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
8894         (CFLAGS-fprintf.c): Likewise.
8895         (CFLAGS-printf.c): Likewise.
8896         (CFLAGS-vfwprintf.c): Likewise.
8897         (CFLAGS-vfscanf.c): Likewise.
8898         (CFLAGS-vfwscanf.c): Likewise.
8899         (CFLAGS-fscanf.c): Likewise.
8900         (CFLAGS-scanf.c): Likewise.
8901         (CFLAGS-isoc99_vfscanf.c): Likewise.
8902         (CFLAGS-isoc99_vscanf.c): Likewise.
8903         (CFLAGS-isoc99_fscanf.c): Likewise.
8904         (CFLAGS-isoc99_scanf.c): Likewise.
8905         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
8906         (CFLAGS-isoc99_fwscanf.c): Likewise.
8907         (CFLAGS-isoc99_vwscanf.c): Likewise.
8908         (CFLAGS-isoc99_vfwscanf.c): Likewise.
8910         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
8911         after mkstemp64.
8912         * login/tst-utmp.c (do_prepare): Likewise.
8913         * rt/tst-aio.c (do_prepare): Likewise.
8914         * rt/tst-aio64.c (do_prepare): Likewise.
8916 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8918         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8919         (__lll_lock_elision): Remove adapt_count decrement...
8920         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8921         (__lll_trylock_elision): Likewise.
8922         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
8923         (__lll_unlock_elision): ... to here. And utilize
8924         new adapt_count parameter.
8925         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
8926         (__lll_unlock_elision): Update to include adapt_count
8927         parameter.
8928         (lll_unlock_elision): Pass pointer to adapt_count
8929         variable.
8931 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8933         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
8934         Add elision adapt_count parameter to list of arguments.
8935         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
8936         (lll_unlock_elision): Update with new parameter list
8937         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
8938         (lll_unlock_elision): Likewise.
8939         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
8940         (lll_unlock_elision): Likewise.
8942 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8944         [BZ #19122]
8945         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
8946         attribute_hidden.
8948         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
8949         attribute_hidden.
8950         [IS_IN (rtld)] (__strdup): Likewise.
8951         [IS_IN (rtld)] (__strerror_r): Likewise.
8952         [IS_IN (rtld)] (__strsep_g): Likewise.
8953         [IS_IN (rtld)] (memchr): Likewise.
8954         [IS_IN (rtld)] (memcmp): Likewise.
8955         [IS_IN (rtld)] (memcpy): Likewise.
8956         [IS_IN (rtld)] (memmove): Likewise.
8957         [IS_IN (rtld)] (memset): Likewise.
8958         [IS_IN (rtld)] (rawmemchr): Likewise.
8959         [IS_IN (rtld)] (stpcpy): Likewise.
8960         [IS_IN (rtld)] (strchr): Likewise.
8961         [IS_IN (rtld)] (strcmp): Likewise.
8962         [IS_IN (rtld)] (strlen): Likewise.
8963         [IS_IN (rtld)] (strnlen): Likewise.
8964         [IS_IN (rtld)] (strsep): Likewise.
8966         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
8967         attribute_hidden.
8968         [IS_IN (rtld)] (__strtoul_internal): Likewise.
8970         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
8971         attribute_hidden.
8972         [IS_IN (rtld)] (__libc_sigaction): Likewise.
8974         * include/setjmp.h (__longjmp): Add attribute_hidden.
8975         [IS_IN (rtld)] (__sigsetjmp): Likewise.
8977         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
8978         Add attribute_hidden.
8980         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
8981         [IS_IN (rtld)] (__open): Likewise.
8982         [IS_IN (rtld)] (__fcntl): Likewise.
8984         * include/dirent.h (__opendirat): Add attribute_hidden.
8985         (__getdents): Likewise.
8986         (__getdents64): Likewise.
8987         (__alloc_dir): Likewise.
8988         [IS_IN (rtld)] (__closedir): Likewise.
8989         [IS_IN (rtld)] (__fdopendir): Likewise.
8990         [IS_IN (rtld)] (__readdir): Likewise.
8991         [IS_IN (rtld)] (__readdir64): Likewise.
8992         [IS_IN (rtld)] (__rewinddir): Likewise.
8994         * include/dlfcn.h (_dl_catch_error): Moved to ...
8995         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
8996         attribute_hidden.
8998         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
8999         (_itoa_word): Likewise.
9001         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
9002         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
9003         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
9004         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
9005         (_dl_higher_prime_number): Likewise.
9006         (_dl_debug_printf_c): Likewise.
9007         (_dl_signal_cerror): Likewise.
9008         (_dl_receive_error): Likewise.
9009         (_dl_reloc_bad_type): Likewise.
9010         (_dl_resolve_conflicts): Likewise.
9011         (_dl_check_all_versions): Likewise.
9012         (_dl_check_map_versions): Likewise.
9013         (_dl_sort_fini): Likewise.
9014         (_dl_debug_initialize): Likewise.
9015         (_dl_init_paths): Likewise.
9016         (_dl_show_auxv): Likewise.
9017         (_dl_next_ld_env_entry): Likewise.
9018         (_dl_important_hwcaps): Likewise.
9019         (_dl_load_cache_lookup): Likewise.
9020         (_dl_update_slotinfo): Likewise.
9021         (_dl_show_scope): Likewise.
9023         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
9024         attribute_hidden.
9025         (_wordcopy_fwd_dest_aligned): Likewise.
9026         (_wordcopy_bwd_aligned): Likewise.
9027         (_wordcopy_bwd_dest_aligned): Likewise.
9029         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9030         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9031         Likewise.
9032         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9033         Likewise.
9034         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
9036 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9038         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
9039         GCC 5 requirement.
9041 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
9043         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
9044         test.
9045         * sysdeps/i386/configure: Regenerated.
9046         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
9047         code unconditional.
9049         * configure.ac (libc_cv_asm_previous_directive): Remove configure
9050         test.
9051         (libc_cv_asm_popsection_directive): Likewise.
9052         * configure: Regenerated.
9053         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
9054         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
9055         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
9056         (__make_section_unallocated): Make definition unconditional.
9057         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
9058         Remove conditional definition.
9059         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
9060         (__make_section_unallocated): Likewise.
9062         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
9063         * configure: Regenerated.
9064         * config.make.in (static-libgcc): Remove variable.
9065         * Makerules (build-shlib-helper): Use -static-libgcc instead of
9066         $(static-libgcc).
9067         (build-module-helper): Likewise.
9069         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
9070         * configure: Regenerated.
9072 2015-10-15  Florian Weimer  <fweimer@redhat.com>
9074         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
9075         (struct char_buffer): New type.
9076         (char_buffer_start, char_buffer_size, char_buffer_error)
9077         (char_buffer_rewind, char_buffer_add): New functions.
9078         (ADDW): Remove macro, replaced by the char_buffer_add function.
9079         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
9080         of extend_alloca.  Make control flow more explicit.
9082 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9084         [BZ #19137]
9085         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
9086         Add -fomit-frame-pointer.
9087         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
9089 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9091         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
9092         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
9093         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
9094         only if !__GNUC_PREREQ (5,0).
9095         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
9096         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
9097         (INTERNAL_SYSCALL_NCS): Likewise.
9098         (LOADREGS_0): New macro for GCC 5.
9099         (ASMARGS_0): Likewise.
9100         (LOADREGS_1): Likewise.
9101         (ASMARGS_1): Likewise.
9102         (LOADREGS_2): Likewise.
9103         (ASMARGS_2): Likewise.
9104         (LOADREGS_3): Likewise.
9105         (ASMARGS_3): Likewise.
9106         (LOADREGS_4): Likewise.
9107         (ASMARGS_4): Likewise.
9108         (LOADREGS_5): Likewise.
9109         (ASMARGS_5): Likewise.
9110         (LOADREGS_6): Likewise.
9111         (ASMARGS_6): Likewise.
9113 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9115         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
9116         -fomit-frame-pointer.
9117         (CFLAGS-mmap64.c): Likewise.
9118         (CFLAGS-semtimedop.c): Likewise.
9119         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
9120         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
9121         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9122         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9124 2015-10-15  Florian Weimer  <fweimer@redhat.com>
9126         [BZ #18928]
9127         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
9128         _dl_pointer_guard member.
9129         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
9130         initializer.
9131         (security_init): Always set up pointer guard.
9132         (process_envvars): Do not process LD_POINTER_GUARD.
9134 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
9136         [BZ #19134]
9137         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
9138         (.LC2): Likewise.
9139         (.LC3): Likewise.
9140         (__lround): Do not add 0.5 to integer or out-of-range arguments.
9142 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9144         [BZ #19129]
9145         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
9146         r0 and r1.
9148 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
9150         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
9152 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
9154         * include/stap-probe.h: Fix macro definition formatting.
9156 2015-10-14  Florian Weimer  <fweimer@redhat.com>
9158         [BZ #19074]
9159         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
9160         load and store num_ifs.
9162 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9164         [BZ #18822]
9165         * sysdeps/unix/sysv/linux/sched_getaffinity.c
9166         (__sched_getaffinity_new): Add libc_hidden_proto and
9167         libc_hidden_def.
9169 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9171         [BZ #19007]
9172         * scripts/localplt.awk: Also allow GOT references.
9173         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
9174         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
9175         with "+ REL R_386_GLOB_DAT".
9176         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
9177         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
9179 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9181         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
9182         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9183         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
9184         Likewise.
9185         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9186         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
9187         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
9188         INTERNAL_SYSCALLINTERNAL_SYSCALL and
9189         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9190         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
9191         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9192         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
9193         Likewise.
9194         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9196 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
9198         [BZ #19125]
9199         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
9200         <math_private.h> and <stdint.h>.
9201         (__llround): Avoid conversions to and from long long int, and
9202         subtractions, where those might raise spurious exceptions.
9203         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
9204         <math_private.h> and <stdint.h>.
9205         (__llroundf): Avoid conversions to and from long long int, and
9206         subtractions, where those might raise spurious exceptions.
9208 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9210         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
9211         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9212         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9213         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
9214         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9215         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9216         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
9217         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
9218         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
9219         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9220         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9221         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9222         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
9223         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9224         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9225         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
9226         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
9227         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9228         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
9229         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
9230         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9231         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
9232         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
9233         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9234         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
9235         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9236         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
9237         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9238         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9239         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
9240         (__xstat64_conv): Likewise.
9241         (__xstat32_conv): Likewise.
9243 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9245         * sysdeps/unix/sysv/linux/sysdep.h: New file.
9246         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
9247         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
9248         <sysdeps/unix/sysv/linux/sysdep.h>.
9249         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9250         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
9251         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
9252         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9253         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9254         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
9255         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
9256         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
9257         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
9258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9260         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9261         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9262         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9263         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9264         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9265         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
9266         (sysdep-dl-routines): Add sysdep.
9267         [$(subdir) == nptl] (libpthread-routines): Likewise.
9268         [$(subdir) == rt] (librt-routines): Likewise.
9269         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
9270         PIC when branching to SYSCALL_ERROR_LABEL.
9271         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
9272         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
9273         <sysdeps/unix/sysv/linux/sysdep.h>.
9274         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
9275         (SYSCALL_ERROR_ERRNO): Removed.
9276         (SYSCALL_ERROR_HANDLER): Changed to empty.
9277         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
9278         (__syscall_error): New prototype.
9279         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
9280         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
9282 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9284         [BZ #19124]
9285         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
9286         (_dl_runtime_resolve_avx512): Make it a hidden alias of
9287         _dl_runtime_resolve_avx.
9288         (_dl_runtime_profile_avx512): Make it a hidden alias of
9289         _dl_runtime_profile_avx.
9291 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
9293         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
9294         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
9295         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
9296         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
9298         [BZ #16422]
9299         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
9300         New configure test.
9301         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
9302         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
9303         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
9304         <math_private.h> and <stdint.h>.
9305         (__llrint): Avoid conversions to long long int where those might
9306         raise spurious exceptions.
9307         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
9308         <math_private.h> and <stdint.h>.
9309         (__llrintf): Avoid conversions to long long int where those might
9310         raise spurious exceptions.
9312 2015-10-12  Andreas Schwab  <schwab@suse.de>
9314         [BZ #18969]
9315         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
9316         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
9317         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
9318         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
9319         $(gen-locales).
9320         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
9321         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
9322         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
9323         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
9324         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
9325         $(gen-locales).
9326         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
9327         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
9328         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
9329         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
9330         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
9331         ($(objpfx)tst-ftell-active-handler.out)
9332         ($(objpfx)tst-ftell-append.out)
9333         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
9334         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
9335         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
9336         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
9337         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
9338         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
9339         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
9340         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
9341         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
9342         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
9343         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
9344         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
9345         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
9346         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
9347         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
9348         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
9349         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
9350         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
9351         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
9352         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
9353         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
9354         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
9355         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
9356         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
9357         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
9358         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
9359         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
9360         $(gen-locales).
9361         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
9362         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
9363         $(gen-locales).
9364         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
9365         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
9366         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
9367         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
9368         $(gen-locales).
9369         * libio/tst_wprintf2.c (main): Use explicit locale.
9370         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
9372 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9374         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
9375         __msg_sig_post.
9376         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
9378 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
9380         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9381         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9383         * sysdeps/arm/libm-test-ulps: Regenerated.
9385         [BZ #15470]
9386         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
9388         [BZ #16399]
9389         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
9390         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
9391         and <fix-fp-int-convert-overflow.h>.
9392         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
9393         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9394         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
9395         and <fix-fp-int-convert-overflow.h>.
9396         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
9397         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9398         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
9399         <fix-fp-int-convert-overflow.h>.
9400         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
9401         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9402         * sysdeps/ieee754/dbl-64/s_lround.c: Include
9403         <fix-fp-int-convert-overflow.h>.
9404         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
9405         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9406         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
9407         and <fix-fp-int-convert-overflow.h>.
9408         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
9409         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9410         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
9411         <limits.h> and <fix-fp-int-convert-overflow.h>.
9412         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
9413         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9414         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
9415         and <fix-fp-int-convert-overflow.h>.
9416         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
9417         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9418         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
9419         and <fix-fp-int-convert-overflow.h>.
9420         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
9421         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9422         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
9424 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
9426         [BZ #18589]
9427         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
9428         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
9429         $(gen-locales).
9431 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9432             Phil Blundell <pb@pbcl.net>
9434         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
9435         * nptl/tst-cancel26.c: New file.
9436         * nptl/tst-cancel27.c: Likewise.
9438 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
9440         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
9441         __ILP32__ isn't defined.
9442         (lrint): Likewise.
9443         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
9444         (lrintf): Likewise.
9445         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
9446         (lrintl): Likewise.
9447         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
9448         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
9449         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
9451 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9453         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
9454         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
9456         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
9457         file.
9458         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
9459         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
9461 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
9463         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
9464         configure test.
9465         * sysdeps/i386/configure: Regenerated.
9466         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
9467         configure test.
9468         * sysdeps/x86_64/configure: Regenerated.
9469         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
9470         Make code unconditional.
9472         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
9473         test.
9474         * sysdeps/i386/configure: Regenerated.
9475         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
9476         test.
9477         * sysdeps/x86_64/configure: Regenerated.
9478         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
9479         Make code unconditional.
9480         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
9481         Likewise.
9482         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
9483         Likewise.
9484         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9485         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
9486         code unconditional.
9487         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9488         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
9489         code unconditional.
9490         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9491         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
9492         code unconditional.
9493         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
9494         code unconditional.
9495         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9496         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
9497         code unconditional.
9498         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9499         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
9500         code unconditional.
9501         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9502         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
9503         code unconditional.
9504         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9505         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
9506         code unconditional.
9507         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9508         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
9510         [BZ #19095]
9511         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
9512         mantissa to long int before shifting left.
9514 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
9516         [BZ #19094]
9517         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
9518         <limits.h>.
9519         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9520         when result overflows but exception would not result from cast.
9521         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
9522         <limits.h>.
9523         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9524         when result overflows but exception would not result from cast.
9525         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
9526         <limits.h>.
9527         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9528         when result overflows but exception would not result from cast.
9529         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
9530         <limits.h>.
9531         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9532         when result overflows but exception would not result from cast.
9533         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
9534         <limits.h>.
9535         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9536         when result overflows but exception would not result from cast.
9537         * math/libm-test.inc (lrint_test_data): Add more tests.
9538         (llrint_test_data): Likewise.
9540 2015-10-08  Roland McGrath  <roland@hack.frob.com>
9542         [BZ #18872]
9543         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
9544         Move out from under [$(run-built-tests) = yes] conditional.
9545         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
9546         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
9548 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
9550         [BZ #18589]
9551         * string/Makefile (tests): Add bug-strcoll2.
9552         (LOCALES): Add cs_CZ.UTF-8.
9553         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
9555         [BZ #18589]
9556         * string/bug-strcoll2.c: New file.
9557         * locale/categories.def: Revert commit
9558         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
9559         * locale/langinfo.h: Likewise.
9560         * locale/localeinfo.h: Likewise.
9561         * locale/C-collate.c: Likewise.
9562         * locale/programs/ld-collate.c (collate_output): Likewise.
9563         * string/strcoll_l.c (STRDIFF): Likewise.
9564         (STRCOLL): Likewise.
9565         * wcsmbs/wcscoll_l.c: Likewise.
9567 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
9569         * math/libm-test.inc (lround_test_data): Do not expect the absence
9570         of "inexact" for some tests with non-integer arguments.
9571         (llround_test_data): Likewise.
9573         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
9574         test.
9575         (libc_cv_cc_sse2avx): Likewise.
9576         * sysdeps/i386/configure: Regenerated.
9577         * sysdeps/i386/i686/multiarch/Makefile
9578         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
9579         [$(subdir) = math].
9580         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
9581         code unconditional.
9582         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9583         Likewise.
9584         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
9585         Likewise.
9586         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9587         Likewise.
9588         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
9589         test.
9590         (libc_cv_cc_sse2avx): Likewise.
9591         * sysdeps/x86_64/configure: Regenerated.
9592         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
9593         unconditional.
9594         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
9595         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
9596         unconditional.
9597         (_dl_runtime_profile)
9598         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
9599         conditional code.
9600         * sysdeps/x86_64/fpu/multiarch/Makefile
9601         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
9602         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9603         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9604         * sysdeps/x86_64/fpu/multiarch/e_exp.c
9605         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9606         * sysdeps/x86_64/fpu/multiarch/e_log.c
9607         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9608         * sysdeps/x86_64/fpu/multiarch/s_atan.c
9609         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9610         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9611         Likewise.
9612         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9613         Likewise.
9614         * sysdeps/x86_64/fpu/multiarch/s_sin.c
9615         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9616         * sysdeps/x86_64/fpu/multiarch/s_tan.c
9617         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9618         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
9619         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
9620         (HAVE_SSE2AVX_SUPPORT): Likewise.
9622 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
9624         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
9625         instead of #pragma optimize.
9627 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9629         [BZ #17195]
9630         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
9631         as is similarly done in systrim and _int_free already.
9633 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9635         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
9637 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9639         [BZ #19088]
9640         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
9641         <limits.h>.
9642         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9643         overflows but exception would not result from cast.
9644         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
9645         and <limits.h>.
9646         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9647         overflows but exception would not result from cast.
9648         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
9649         <limits.h>.
9650         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9651         overflows but exception would not result from cast.
9652         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
9653         <limits.h>.
9654         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9655         overflows but exception would not result from cast.
9656         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
9657         <limits.h>.
9658         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9659         overflows but exception would not result from cast.
9660         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
9661         <limits.h>.
9662         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9663         overflows but exception would not result from cast.
9664         * math/libm-test.inc (lround_test_data): Add more tests.
9665         (llround_test_data): Likewise.
9667 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
9669         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
9670         (CFLAGS-ialloc.c): Ditto.
9671         (CFLAGS-scheck.c): Ditto.
9673 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9675         [BZ #19086]
9676         * manual/filesys.texi (Storage Allocation): Fix argument order for
9677         posix_fallocate64.
9679 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9681         [BZ #19085]
9682         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
9683         exponent below 48 inside case for non-overflowing exponent.
9684         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
9686 2015-10-07  Florian Weimer  <fweimer@redhat.com>
9688         * iconvdata/cp737.h (from_idx): Add const.
9689         * iconvdata/cp775.h (from_idx): Likewise.
9691 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9693         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
9694         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
9695         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
9697         [BZ #19079]
9698         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
9699         file, conditioned on [!_LP64].
9700         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
9701         [!_LP64] (__lround): Do not define as function or alias.
9702         [!_LP64] (lround): Likewise.
9703         [!_LP64] (__lroundl): Likewise.
9704         [!_LP64] (lroundl): Likewise.
9705         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
9706         macro.
9707         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9708         Likewise.
9710 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
9712         * math/libm-test.inc (lrint_test_data): Add more tests.
9713         (llrint_test_data): Likewise.
9714         (lround_test_data): Likewise.
9715         (llround_test_data): Likewise.
9717         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
9718         (llrint_test_data): Add tests used for lrint.
9720         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
9721         test.
9722         * sysdeps/i386/configure: Regenerated.
9723         * sysdeps/i386/i686/multiarch/Makefile
9724         [$(config-cflags-sse4) = yes]: Make code unconditional.
9725         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
9726         Likewise.
9727         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
9728         Likewise.
9729         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
9730         test.
9731         * sysdeps/x86_64/configure: Regenerated.
9732         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
9733         Make code unconditional.
9734         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
9735         Likewise.
9736         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
9737         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
9739         * scripts/rpm2dynsym.sh: Remove file.
9741 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9743         * configure.ac (libc_cv_cxx_thread_local): Define.
9744         * configure: Regenerate.
9745         * config.make.in (have-cxx-thread_local): Define.
9746         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
9747         (LDLIBS-tst-thread_local1): Define.
9748         (tests): Add tst-thread_local1.
9749         [have-cxx-thread_local != yes] (tests-unsupported): Add
9750         tst-thread_local1.
9751         * nptl/tst-thread_local1.cc: New file.
9753 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
9755         [BZ #19078]
9756         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
9757         (u_thres): Likewise.
9758         (__expl): Determine whether to call __kernel_standard_l based on
9759         value of result, not argument.
9761         * math/libm-test.inc (scalb_test_data): Add more expectations for
9762         the "inexact" exception.
9764         [BZ #19077]
9765         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
9766         0.0L for argument 1.0L.
9768         [BZ #19076]
9769         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
9770         constant 0.0L when computing infinite result.
9772 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9774         [BZ #10432]
9775         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
9776         malloc_usable_size.
9778 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9780         [BZ #19018]
9781         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9782         Mangle function pointer before storing it.
9783         (__call_tls_dtors): Demangle function pointer before calling it.
9785 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9787         [BZ #19012]
9788         * iconv/gconv_db.c (gen_steps): Check for additional errors.
9789         Clean up on failure.
9791 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
9793         [BZ #19071]
9794         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
9795         long int variable to store possibly incremented high part of
9796         mantissa.
9797         * math/libm-test.inc (lround_test_data): Add tests used for
9798         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
9799         for tests requiring 64-bit long.  Do not condition tests on
9800         [TEST_FLOAT] unnecessarily.
9801         (llround_test_data): Add tests used for lround.  Add another
9802         expectation for the "inexact" exception.  Do not condition tests
9803         on [TEST_FLOAT] unnecessarily.
9805         [BZ #887]
9806         [BZ #19049]
9807         [BZ #19050]
9808         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
9809         * sysdeps/ieee754/dbl-64/e_log10.c: Include
9810         <fix-int-fp-convert-zero.h>.
9811         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9812         * sysdeps/ieee754/dbl-64/e_log2.c: Include
9813         <fix-int-fp-convert-zero.h>.
9814         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9815         * sysdeps/ieee754/dbl-64/s_erf.c: Include
9816         <fix-int-fp-convert-zero.h>.
9817         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9818         * sysdeps/ieee754/dbl-64/s_logb.c: Include
9819         <fix-int-fp-convert-zero.h>.
9820         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9821         * sysdeps/ieee754/flt-32/e_log10f.c: Include
9822         <fix-int-fp-convert-zero.h>.
9823         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9824         * sysdeps/ieee754/flt-32/e_log2f.c: Include
9825         <fix-int-fp-convert-zero.h>.
9826         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9827         * sysdeps/ieee754/flt-32/s_erff.c: Include
9828         <fix-int-fp-convert-zero.h>.
9829         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9830         * sysdeps/ieee754/flt-32/s_logbf.c: Include
9831         <fix-int-fp-convert-zero.h>.
9832         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9833         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
9834         <fix-int-fp-convert-zero.h>.
9835         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9836         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
9837         <fix-int-fp-convert-zero.h>.
9838         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9839         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
9840         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
9841         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
9842         file.
9843         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
9845 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
9847         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9849 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
9851         [BZ #19059]
9852         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
9853         overflowing computation.
9854         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9855         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
9856         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9857         Likewise.
9858         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9859         Likewise.
9860         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
9861         Likewise.
9862         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9863         Likewise.
9864         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9865         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9866         Likewise.
9867         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9868         Likewise.
9869         * math/libm-test.inc (nexttoward_test_data): Add more tests.
9871         * nss/rewrite_field.c (__nss_rewrite_field): Use
9872         internal_function.
9873         * nss/valid_field.c (__nss_valid_field): Likewise.
9874         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
9876 2015-10-02  Florian Weimer  <fweimer@redhat.com>
9878         [BZ #18724]
9879         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
9880         (__nss_invalid_field_characters, __nss_valid_field)
9881         (__nss_valid_list_field, __nss_rewrite_field): Declare.
9882         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
9883         tst-field.c: New file.
9884         * nss/Makefile (routines): Add valid_field, rewrite_field.
9885         (tests-static): Define unconditionally.
9886         (tests): Include tests-static.
9887         [build-static-nss] (tests-static): Use append.
9888         [build-static-nss] (tests): Remove modification.
9889         * nss/getent.c (print_group): Call putgrent.  Report error.
9890         (print_gshadow): Call putsgent.  Report error.
9891         (print_passwd): Call putpwent.  Report error.
9892         (print_shadow): Call putspent.  Report error.
9893         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
9894         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
9895         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
9896         name, password, directory, shell fields for valid syntax.  Rewrite
9897         GECOS field to match syntax.
9898         * pwd/Makefile (tests): Add tst-putpwent.
9899         * pwd/tst-putpwent.c: New file.
9900         * grp/putgrent.c (putgrent): Convert to ISO function definition.
9901         Check grName, grpasswd, gr_mem fields for valid syntax.
9902         Change loop variable i to size_t.
9903         * grp/Makefile (tests): Add tst-putgrent.
9904         * grp/tst-putgrent.c: New file.
9905         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
9906         valid syntax.
9907         * shadow/Makefile (tests): Add tst-putspent.
9908         * shadow/tst-putspent.c: New file.
9909         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
9910         sg_mem fields for valid syntax.
9911         * gshadow/Makefile (tests): Add tst-putsgent.
9912         * gshadow/tst-putsgent.c: New file.
9914 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9916         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
9917         assembly instructions.
9919 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9921         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
9922         prefix from operands.
9924 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
9926         [BZ #16347]
9927         [BZ #19046]
9928         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
9929         <libc-internal.h>.
9930         (MAXLGM): Do not use diagnostic control macros.
9931         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
9932         threshold for ldbl-128ibm.
9933         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
9934         instead of multiplying by log then subtracting.
9935         * math/auto-libm-test-in: Add more tests of lgamma.
9936         * math/auto-libm-test-out: Regenerated.
9938         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
9939         (TYPE_HEX_DIG): Likewise.
9940         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
9941         precisions when printing floating-point numbers.
9942         (check_float_internal): Likewise.
9944 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
9946         [BZ #16620]
9947         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
9948         of log (10) rounded downward to 48 bits.
9949         (log10_low): Use corresponding low part of log (10).
9951         [BZ #19032]
9952         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
9953         compute result as (x - x) / (x - x) not as 0 / 0.
9954         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9955         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
9957         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9958         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
9959         and expm1.
9960         * math/auto-libm-test-out: Regenerated.
9961         * math/libm-test.inc (acos_test_data): Add more tests.
9962         (asin_test_data): Likewise.
9963         (asinh_test_data): Likewise.
9964         (atan_test_data): Likewise.
9965         (atanh_test_data): Likewise.
9966         (atan2_test_data): Likewise.
9967         (cbrt_test_data): Likewise.
9968         (ceil_test_data): Likewise.
9969         (copysign_test_data): Likewise.
9970         (cos_test_data): Likewise.
9971         (cosh_test_data): Likewise.
9972         (erf_test_data): Likewise.
9973         (erfc_test_data): Likewise.
9974         (exp_test_data): Likewise.
9975         (exp10_test_data): Likewise.
9976         (exp2_test_data): Likewise.
9977         (expm1_test_data): Likewise.
9978         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9980 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
9982         [BZ #19006]
9983         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
9984         to ...
9985         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
9986         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
9987         to ...
9988         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
9989         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
9990         to ...
9991         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
9992         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
9993         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
9994         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
9995         to ...
9996         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
9997         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9998         Moved to ...
9999         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
10000         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10001         Moved to ...
10002         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
10003         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
10004         to ...
10005         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
10006         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10007         Moved to ...
10008         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
10009         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
10010         to ...
10011         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
10012         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
10013         Removed.
10014         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
10015         Likewise.
10016         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
10017         Likewise.
10018         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
10019         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
10020         Likewise.
10021         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10022         Likewise.
10023         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10024         Likewise.
10025         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10026         Likewise.
10027         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10028         Likewise.
10029         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
10030         Likewise.
10031         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
10032         Likewise.
10033         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
10034         Likewise.
10035         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
10036         Likewise.
10037         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
10038         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
10039         Likewise.
10040         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10041         Likewise.
10042         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10043         Likewise.
10044         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10045         Likewise.
10046         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
10047         Likewise.
10048         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10049         Replace ../i486/pthread_cond_timedwait.S with
10050         ../pthread_cond_timedwait.S.
10052 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
10054         * math/libm-test.inc (acos_test_data): Refine expectations for
10055         errno and "inexact" exceptions.
10056         (acosh_test_data): Likewise.
10057         (asin_test_data): Likewise.
10058         (asinh_test_data): Likewise.
10059         (atan_test_data): Likewise.
10060         (atanh_test_data): Likewise.
10061         (atan2_test_data): Likewise.
10062         (cbrt_test_data): Likewise.
10063         (ceil_test_data): Likewise.
10064         (copysign_test_data): Likewise.
10065         (cosh_test_data): Likewise.
10066         (erf_test_data): Likewise.
10067         (erfc_test_data): Likewise.
10068         (exp_test_data): Likewise.
10069         (exp10_test_data): Likewise.
10070         (exp2_test_data): Likewise.
10071         (expm1_test_data): Likewise.
10072         (fabs_test_data): Likewise.
10073         (floor_test_data): Likewise.
10074         (fma_test_data): Likewise.
10075         (fmax_test_data): Likewise.
10076         (fmin_test_data): Likewise.
10077         (fmod_test_data): Likewise.
10078         (fpclassify_test_data): Likewise.
10079         (frexp_test_data): Likewise.
10080         (hypot_test_data): Likewise.
10081         (ilogb_test_data): Likewise.
10082         (isgreater_test_data): Likewise.
10083         (isgreaterequal_test_data): Likewise.
10084         (isinf_test_data): Likewise.
10085         (isless_test_data): Likewise.
10086         (islessequal_test_data): Likewise.
10087         (islessgreater_test_data): Likewise.
10088         (isnan_test_data): Likewise.
10089         (isnormal_test_data): Likewise.
10090         (issignaling_test_data): Likewise.
10091         (isunordered_test_data): Likewise.
10092         (j0_test_data): Likewise.
10093         (j1_test_data): Likewise.
10094         (jn_test_data): Likewise.
10095         (lgamma_test_data): Likewise.
10096         (lrint_test_data): Likewise.
10097         (llrint_test_data): Likewise.
10098         (log_test_data): Likewise.
10099         (log10_test_data): Likewise.
10100         (log1p_test_data): Likewise.
10101         (log2_test_data): Likewise.
10102         (logb_test_data): Likewise.
10103         (lround_test_data): Likewise.
10104         (llround_test_data): Likewise.
10105         (modf_test_data): Likewise.
10106         (nearbyint_test_data): Likewise.
10107         (nextafter_test_data): Likewise.
10108         (nexttoward_test_data): Likewise.
10109         (pow_test_data): Likewise.
10110         (remainder_test_data): Likewise.
10111         (remquo_test_data): Likewise.
10112         (rint_test_data): Likewise.
10113         (round_test_data): Likewise.
10114         (signbit_test_data): Likewise.
10115         (sinh_test_data): Likewise.
10116         (sqrt_test_data): Likewise.
10117         (tanh_test_data): Likewise.
10118         (tgamma_test_data): Likewise.
10119         (trunc_test_data): Likewise.
10120         (y0_test_data): Likewise.
10121         (y1_test_data): Likewise.
10122         (yn_test_data): Likewise.
10123         (significand_test_data): Likewise.
10125 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
10127         * manual/filesys.texi (Storage Allocation): Document that
10128         posix_fallocate emulation fails when fd is open with O_WRONLY.
10130 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
10132         [BZ #19016]
10133         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
10134         allow more cases with X^2 + Y^2 >= 0.5.
10135         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
10136         normal element in sum instead of special-casing based on values of
10137         arguments.
10138         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
10139         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
10140         -1 as normal element in sum instead of special-casing based on
10141         values of arguments.
10142         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
10143         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
10144         (__x2y2m1): Update comment.
10145         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
10146         as normal element in sum instead of special-casing based on values
10147         of arguments.
10148         * math/s_clog.c (__clog): Handle more cases using log1p without
10149         hypot.
10150         * math/s_clog10.c (__clog10): Likewise.
10151         * math/s_clog10f.c (__clog10f): Likewise.
10152         * math/s_clog10l.c (__clog10l): Likewise.
10153         * math/s_clogf.c (__clogf): Likewise.
10154         * math/s_clogl.c (__clogl): Likewise.
10155         * math/auto-libm-test-in: Add more tests of clog and clog10.
10156         * math/auto-libm-test-out: Regenerated.
10157         * sysdeps/i386/fpu/libm-test-ulps: Update.
10158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10160 2015-09-28  Martin Sebor  <msebor@redhat.com>
10162         [BZ #18969]
10163         * string/Makefile (LOCALES): Define.
10164         (gen-locales.mk): Include.
10165         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
10166         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
10167         * string/tst-strxfrm2.c (do_test): Print the name of the locale
10168         on setlocale failure.
10170 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
10172         [BZ #18985]
10173         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
10174         (__strftime_internal): Likewise.
10175         * time/tst-strftime.c (do_bz18985): New test.
10176         (do_test): Call it.
10178 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
10180         [BZ #18956]
10181         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
10182         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
10183         extracting high part.
10184         * math/auto-libm-test-in: Add another test of pow.
10185         * math/auto-libm-test-out: Regenerated.
10186         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10188 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
10190         [BZ #18825]
10191         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
10192         New macro.
10193         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
10194         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10195         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
10196         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
10197         DBL_NARROW_EVAL, reloading the PIC register as needed.
10198         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
10199         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
10200         FLT_NARROW_EVAL.  Use separate return path for case when first
10201         argument is NaN.
10202         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
10203         DEFINE_LDBL_MIN.
10204         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
10205         PIC register.
10206         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
10207         math_check_force_underflow_nonneg.
10208         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
10209         underflow for subnormal result.
10210         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10211         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
10212         math_check_force_underflow_nonneg.
10213         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
10214         math_check_force_underflow.
10215         * sysdeps/x86_64/fpu/x86_64-math-asm.h
10216         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
10217         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
10218         DEFINE_LDBL_MIN.
10219         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
10220         * math/auto-libm-test-in: Add more tests of pow.
10221         * math/auto-libm-test-out: Regenerated.
10223 2015-09-25  Florian Weimer  <fweimer@redhat.com>
10225         * nss/bug17079.c (init_test_items): Add diagnostic for
10226         inconsistent entries.
10227         (test_buffer_size): Skip inconsistent entries.
10229 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
10231         [BZ #13304]
10232         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
10233         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
10234         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
10236         [BZ #13304]
10237         * sysdeps/microblaze/s_fma.c: New file.
10238         * sysdeps/microblaze/s_fmaf.c: Likewise.
10239         * sysdeps/microblaze/sfp-machine.h: Likewise.
10241 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
10243         [BZ #17250]
10244         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
10245         member.
10247 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
10249         [BZ #18803]
10250         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
10251         (MO): New macro.
10252         (__ieee754_hypot) [PIC]: Load PIC register.
10253         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
10254         DBL_NARROW_EVAL.
10255         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
10256         math_check_force_underflow_nonneg in case where result might be
10257         tiny.
10258         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10259         Likewise.
10260         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10261         Likewise.
10262         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
10263         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
10264         * math/auto-libm-test-in: Add more tests of hypot.
10265         * math/auto-libm-test-out: Regenerated.
10267 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
10269         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
10271 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
10273         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
10274         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
10275         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
10276         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
10277         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
10278         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
10279         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
10281         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
10282         LOAD_PIC_REG.
10284         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
10285         (FLT_CHECK_FORCE_UFLOW): Likewise.
10286         (DBL_CHECK_FORCE_UFLOW): Likewise.
10287         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
10288         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
10289         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
10290         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10291         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10292         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10293         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10294         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10295         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
10296         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10297         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
10298         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
10299         (flt_min): Replace with use of DEFINE_FLT_MIN.
10300         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
10301         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
10302         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10303         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
10304         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
10305         (flt_min): Replace with use of DEFINE_FLT_MIN.
10306         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
10307         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
10308         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10309         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
10310         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
10311         (flt_min): Replace with use of DEFINE_FLT_MIN.
10312         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
10313         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
10314         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
10315         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
10316         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
10317         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
10318         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
10319         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
10320         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10321         (__atan): Use DBL_CHECK_FORCE_UFLOW.
10322         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
10323         (flt_min): Replace with use of DEFINE_FLT_MIN.
10324         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
10325         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
10326         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10327         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
10328         main computation.
10329         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
10330         (flt_min): Replace with use of DEFINE_FLT_MIN.
10331         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
10332         main computation.
10333         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
10334         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10335         (MO): New macro.
10336         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
10337         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
10338         (flt_min): Replace with use of DEFINE_FLT_MIN.
10339         (MO): New macro.
10340         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
10341         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
10342         (__log1pl): Use MO.
10344         [BZ #19003]
10345         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
10346         $(config-cflags-nofma).
10348 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10350         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10352 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
10354         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
10355         (TWO127): Likewise.
10357         * sysdeps/generic/math_private.h (fabs_tg): New macro.
10358         (min_of_type): Likewise.
10359         (math_check_force_underflow): Likewise.
10360         (math_check_force_underflow_nonneg): Likewise.
10361         (math_check_force_underflow_complex): Likewise.
10362         * math/e_exp2l.c (__ieee754_exp2l): Use
10363         math_check_force_underflow_nonneg.
10364         * math/k_casinh.c (__kernel_casinh): Likewise.
10365         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10366         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10367         * math/s_catan.c (__catan): Use
10368         math_check_force_underflow_complex.
10369         * math/s_catanf.c (__catanf): Likewise.
10370         * math/s_catanh.c (__catanh): Likewise.
10371         * math/s_catanhf.c (__catanhf): Likewise.
10372         * math/s_catanhl.c (__catanhl): Likewise.
10373         * math/s_catanl.c (__catanl): Likewise.
10374         * math/s_ccosh.c (__ccosh): Likewise.
10375         * math/s_ccoshf.c (__ccoshf): Likewise.
10376         * math/s_ccoshl.c (__ccoshl): Likewise.
10377         * math/s_cexp.c (__cexp): Likewise.
10378         * math/s_cexpf.c (__cexpf): Likewise.
10379         * math/s_cexpl.c (__cexpl): Likewise.
10380         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
10381         * math/s_clog10.c (__clog10): Likewise.
10382         * math/s_clog10f.c (__clog10f): Likewise.
10383         * math/s_clog10l.c (__clog10l): Likewise.
10384         * math/s_clogf.c (__clogf): Likewise.
10385         * math/s_clogl.c (__clogl): Likewise.
10386         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
10387         * math/s_csinf.c (__csinf): Likewise.
10388         * math/s_csinh.c (__csinh): Likewise.
10389         * math/s_csinhf.c (__csinhf): Likewise.
10390         * math/s_csinhl.c (__csinhl): Likewise.
10391         * math/s_csinl.c (__csinl): Likewise.
10392         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
10393         * math/s_csqrtf.c (__csqrtf): Likewise.
10394         * math/s_csqrtl.c (__csqrtl): Likewise.
10395         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
10396         * math/s_ctanf.c (__ctanf): Likewise.
10397         * math/s_ctanh.c (__ctanh): Likewise.
10398         * math/s_ctanhf.c (__ctanhf): Likewise.
10399         * math/s_ctanhl.c (__ctanhl): Likewise.
10400         * math/s_ctanl.c (__ctanl): Likewise.
10401         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
10402         instead of volatile.
10403         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
10404         math_check_force_underflow.
10405         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10406         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
10407         volatile when forcing underflow.
10408         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10409         math_check_force_underflow_nonneg.
10410         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10411         Likewise.
10412         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
10413         math_check_force_underflow.
10414         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10415         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10416         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10417         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
10418         math_check_force_underflow_nonneg.
10419         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
10420         math_check_force_underflow.
10421         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
10422         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
10423         instead of volatile.
10424         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
10425         math_check_force_underflow.
10426         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10427         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10428         math_check_force_underflow_nonneg.
10429         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
10430         math_check_force_underflow.
10431         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
10432         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10433         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
10434         math_check_force_underflow_nonneg.
10435         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10436         Likewise.
10437         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
10438         math_check_force_underflow.
10439         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10440         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
10441         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10442         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
10443         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10444         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
10445         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
10446         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
10447         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10448         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
10449         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
10450         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
10451         Likewise.
10452         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
10453         math_check_force_underflow_nonneg.
10454         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10455         Likewise.
10456         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
10457         math_check_force_underflow.
10458         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10459         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
10460         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10461         Likewise.
10462         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
10463         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
10464         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
10465         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
10466         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
10467         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
10468         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
10469         instead of volatile.
10470         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
10471         math_check_force_underflow.
10472         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
10473         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
10474         math_check_force_underflow.
10475         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
10476         Likewise.
10477         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10478         Use math_check_force_underflow_nonneg.
10479         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
10480         math_check_force_underflow.
10481         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
10482         Likewise.
10483         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10484         Likewise.
10485         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10486         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10487         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10488         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10489         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
10490         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10491         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
10492         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
10493         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
10494         math_check_force_underflow_nonneg.
10495         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
10496         math_check_force_underflow.
10497         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10498         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
10499         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
10500         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
10501         math_check_force_underflow_nonneg.
10502         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
10503         math_check_force_underflow.
10504         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
10505         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
10506         instead of volatile.
10507         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
10508         math_check_force_underflow.
10510         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
10511         * stdlib/strtod_l.c: Include <math_private.h>.
10512         (overflow_value): Use math_narrow_eval.
10513         (underflow_value): Likewise.
10514         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10515         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10516         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
10517         (__ieee754_gamma_r): Likewise.
10518         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
10519         Likewise.
10520         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10521         Likewise.
10522         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10523         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
10524         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
10525         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
10526         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10527         (__ieee754_gammaf_r): Likewise.
10528         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10529         Likewise.
10530         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10531         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
10532         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
10533         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
10534         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
10535         volatile.
10536         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
10537         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
10538         math_narrow_eval.
10539         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
10540         Likewise.
10541         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10542         Likewise.
10543         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
10544         Likewise.
10545         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
10546         volatile.
10547         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
10548         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
10549         math_narrow_eval.
10550         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10551         Likewise.
10552         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10553         Likewise.
10555 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
10557         * nptl/Versions: Remove ignored symbols.
10559 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10561         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
10562         * nss/Makefile (tests): Update.
10564 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10566         * nss/bug18287.c: New file.
10567         * nss/Makefile (tests): Add bug18287.
10569 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10571         * mach/Versions (__mach_host_self_): Add symbol.
10573 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10575         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
10576         vm_page_size.
10578 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10580         Really fix sysdeps/i386/fpu/s_scalbn.S build
10582         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
10583         (libc: GLIBC_2_22): Remove unused version set.
10585 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10587         * config.make.in (enable-timezone-tools): New variable.
10588         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
10589         (enable_timezone_tools): Export to generated files.
10590         * configure: Regenerate.
10591         * INSTALL: Regenerate.
10592         * manual/install.texi (--disable-timezone-tools): Document new flag.
10593         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
10594         ifeq ($(enable-timezone-tools),yes) check.
10596 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10598         * timezone/Makefile: Revert previous change.
10600         [BZ #18980]
10601         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
10602         (DEFINE_DBL_MIN): Likewise.
10603         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10604         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10605         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10606         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10607         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
10608         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10609         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10610         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
10611         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
10612         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10613         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10614         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
10615         (flt_min): Replace with use of DEFINE_FLT_MIN.
10616         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10617         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
10618         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10619         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10620         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
10621         (flt_min): Replace with use of DEFINE_FLT_MIN.
10622         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10623         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
10624         (flt_min): Replace with use of DEFINE_FLT_MIN.
10625         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10626         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
10627         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
10628         (__ieee754_hypot): Use DBL_NARROW_EVAL.
10629         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
10630         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
10631         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
10632         (__ieee754_pow): Use DBL_NARROW_EVAL.
10633         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
10634         (__ieee754_powf): Use FLT_NARROW_EVAL.
10635         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
10636         (__ieee754_expf_sse2): Convert double-precision result to single
10637         precision.
10638         * sysdeps/i386/fpu/libm-test-ulps: Update.
10640 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10642         * timezone/Makefile: Ignore unused variable errors due to private.h
10643         (time_t_min) and (time_t_max).
10644         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
10645         Likewise.
10647 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10649         [BZ #18981]
10650         * sysdeps/i386/fpu/i386-math-asm.h: New file.
10651         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
10652         (__ieee754_scalb): Use DBL_NARROW_EVAL.
10653         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
10654         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
10655         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
10656         (__scalbn): Use DBL_NARROW_EVAL.
10657         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
10658         (__scalbnf): Use FLT_NARROW_EVAL.
10660 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10662         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
10663         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
10664         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
10665         * stdio-common/printf_fp.c (___printf_fp):
10666         Use signbit to get the sign. Use isinf macro to allow inlining.
10667         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
10668         * stdio-common/printf_size.c (__printf_size): Likewise.
10670 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10672         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
10674 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10676         [BZ #18980]
10677         * sysdeps/generic/math_private.h: Include <float.h>.
10678         (math_narrow_eval): New macro.
10679         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
10680         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
10681         math_narrow_eval on overflowing return value.
10682         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
10683         Likewise.
10684         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10685         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
10686         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
10687         Likewise.
10688         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
10690 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10692         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
10693         * math/Makefile: Remove isinf_ns.c.
10694         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
10695         * math/multc3.c (__multc3): Likewise.
10696         * math/s_casin.c (__casin): Likewise.
10697         * math/s_casinf.c (__casinf): Likewise.
10698         * math/s_casinl.c (__casinl): Likewise.
10699         * math/s_cproj.c (__cproj): Likewise.
10700         * math/s_cprojf.c (__cprojf): Likewise.
10701         * math/s_cprojl.c (__cprofl): Likewise.
10702         * math/s_ctan.c (__ctan): Likewise.
10703         * math/s_ctanf.c (__ctanf): Likewise.
10704         * math/s_ctanh.c (__ctanh): Likewise.
10705         * math/s_ctanhf.c (__ctanhf): Likewise.
10706         * math/s_ctanhl.c (__ctanhl): Likewise.
10707         * math/s_ctanl.c (__ctanl): Likewise.
10708         * math/w_fmod.c (__fmod): Likewise.
10709         * math/w_fmodf.c (__fmodf): Likewise.
10710         * math/w_fmodl.c (_fmodl): Likewise.
10711         * math/w_remainder.c (__remainder): Likewise.
10712         * math/w_remainderf.c (__remainderf): Likewise.
10713         * math/w_remainderl.c (__remainderl): Likewise.
10714         * math/w_scalb.c (__scalb): Likewise.
10715         * math/w_scalbf.c (__scalbf): Likewise.
10716         * math/w_scalbl.c (__scalbl): Likewise.
10717         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
10718         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
10719         with isinf.
10720         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
10721         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
10722         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
10723         __isinf_nsf with isinf.
10724         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
10725         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
10726         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
10727         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
10728         with isinf.
10729         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
10730         __isinf_nsl with isinf.
10731         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
10732         with isinf.
10733         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
10734         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
10735         __isinf_nsl with isinf.
10736         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
10737         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
10738         with isinf.
10740 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10742         * resolv/base64.c (rcsid): Remove unused static.
10743         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
10744         static.  (tqpi1): Likewise.
10745         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
10746         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
10747         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
10748         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
10749         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
10750         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
10751         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
10752         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
10753         Likewise.
10755 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
10757         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
10758         <nptl/pthreadP.h>.
10759         (_longjmp_unwind): Use __libc_ptf_call.
10760         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
10762 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
10764         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
10765         * sysdeps/arm/__longjmp.S: Likewise.
10767 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10769         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
10770         Use __builtin_signbit.
10771         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
10772         Use __builtin_signbitf.
10773         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
10774         Use __builtin_signbitl.
10775         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10776         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
10778 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10780         [BZ #15367]
10781         [BZ #17441]
10783         * math/Makefile: Build test-snan.c with -fsignaling-nans.
10784         * math/math.h (fpclassify): Use __builtin_fpclassify when
10785         available.  (signbit): Use __builtin_signbit(f/l).
10786         (isfinite): Use__builtin_isfinite.  (isnormal): Use
10787         __builtin_isnormal.  (isnan): Use __builtin_isnan.
10788         (isinf): Use __builtin_isinf_sign.
10790 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10792         * benchtests/Makefile: Add bench-math-inlines, link with libm.
10793         * benchtests/bench-math-inlines.c: New benchmark.
10794         * benchtests/bench-util.h: New file.
10795         * benchtests/bench-util.c: New file.
10796         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
10798 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
10800         * elf/tst-dlmopen1.c: Define TEST_SO.
10801         (do_test): Use TEST_SO.
10803         * elf/dl-load.c: Include libc-internal.h.
10804         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
10806 2015-09-18  Vincent Bernat  <vincent@bernat.im>
10808         [BZ #17887]
10809         * time/strptime_l.c (__strptime_internal): Make %z accept
10810         [+-]HH:MM time zones.
10812 2015-09-18  Vincent Bernat  <vincent@bernat.im>
10814         [BZ #17886]
10815         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
10816         valid time zone.
10818 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
10820         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
10821         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
10822         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10823         (__ASSUME_FDATASYNC): Delete.
10825 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10827         * conform/linknamespace.pl: Require weak undefined symbols to be
10828         in the standard namespace.
10829         (%strong_syms): Rename to %seen_syms.
10830         (%strong_seen): Rename to %seen_where.
10832 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
10834         [BZ #18970]
10835         * misc/error.c (error): Replace pthread_setcancelstate with
10836         __pthread_setcancelstate.
10837         (error_at_line): Likewise.
10838         * posix/wordexp.c (parse_comm): Likewise.
10839         * stdlib/fmtmsg.c (fmtmsg): Likewise.
10840         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
10841         (__pthread_setcancelstate): This.
10842         (pthread_setcancelstate): Add an alias.
10843         * nptl/nptl-init.c (pthread_functions): Replace
10844         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
10845         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
10846         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
10847         hidden_proto.
10848         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
10849         it with hidden_def.
10850         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
10851         (pthread_setcancelstate): Renamed to ...
10852         (__pthread_setcancelstate): This.
10853         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
10854         __libc_ptf_call with __pthread_setcancelstate.
10856 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10857             Andreas Schwab  <schwab@suse.de>
10859         [BZ #17118]
10860         * math/s_ctan.c (__ctan): Determine sign of zero real part of
10861         result when imaginary part of argument is infinite using sine and
10862         cosine.
10863         * math/s_ctanf.c (__ctanf): Likewise.
10864         * math/s_ctanl.c (__ctanl): Likewise.
10865         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
10866         of result when real part of argument is infinite using sine and
10867         cosine.
10868         * math/s_ctanhf.c (__ctanhf): Likewise.
10869         * math/s_ctanhl.c (__ctanhl): Likewise.
10870         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
10871         (ctanh_test_data): Add more tests of ctanh.
10873 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10875         [BZ #15384]
10876         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
10877         bit-mask as in subtraction.
10878         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
10879         Likewise.
10880         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
10881         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
10882         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
10884         [BZ #18951]
10885         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
10886         underflow exception for small results.
10887         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10888         Likewise.
10889         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10890         Likewise.
10891         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10892         Likewise.
10893         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10894         Likewise.
10895         * math/auto-libm-test-in: Add more tests of tgamma.
10896         * math/auto-libm-test-out: Regenerated.
10898 2015-09-17  Andreas Schwab  <schwab@suse.de>
10900         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
10902 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
10904         [BZ #18977]
10905         * math/bits/mathcalls.h
10906         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
10907         not declare.
10908         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
10909         Likewise.
10910         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
10911         Likewise.
10912         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
10913         Likewise.
10914         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
10915         Likewise.
10916         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
10917         Likewise.
10918         * conform/data/math.h-data
10919         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
10920         function.
10921         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
10922         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
10923         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
10924         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
10925         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
10926         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
10927         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
10928         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
10929         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
10930         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
10931         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
10933         [BZ #6803]
10934         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
10935         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
10936         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
10937         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
10938         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
10939         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
10940         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
10941         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
10942         [NO_LONG_DOUBLE] (scalbnl): Likewise.
10943         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
10944         Likewise.
10945         [NO_LONG_DOUBLE] (scalbnl): Likewise.
10946         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
10947         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
10948         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
10949         long_double_symbol calls.
10950         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
10951         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
10952         strong alias of __ldexpl.
10953         (scalbnl): Define using long_double_symbol.
10954         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
10955         Remove alias.
10956         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
10957         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
10958         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
10959         (scalbln_test_data): Add more errno expectations.
10961 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
10963         Cache the host port like we cache the task port.  This way we do not
10964         need to call the kernel just to get the port.  Furthermore, we no
10965         longer increase the reference count on every invocation of
10966         `mach_host_self'.
10968         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
10969         Protect declarations against the macro expansion.
10970         * mach/mach_init.c (__mach_host_self_): New variable.
10971         (mach_init): Initialize `__mach_host_self_'.
10972         * mach/mach_init.h (__mach_host_self_): New declaration.
10973         (__mach_host_self, mach_host_self): New macros.
10974         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
10975         Release reference.
10977 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
10979         [BZ #4404]
10980         * po/de.po: Update from Translation Project.
10982         [BZ #16415]
10983         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
10984         (__expm1l): Remove code to handle positive infinity and overflow.
10985         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
10986         variable.
10987         (__expm1l): Remove code to handle positive infinity and overflow.
10989 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
10990             Paul Pluzhnikov  <ppluzhnikov@google.com>
10992         [BZ #18872]
10993         * stdio-common/Makefile (tst-printf-bz18872): New test.
10994         (tst-printf-bz18872-mem.out): Likewise.
10995         * stdio-common/tst-printf-bz18872.sh: Generate new test.
10996         * stdio-common/vfprintf.c: Fix memory leaks.
10998 2015-09-16  Andreas Schwab  <schwab@suse.de>
11000         [BZ #17244]
11001         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
11002         Remove extra va_start/va_end calls.
11004         [BZ #17243]
11005         * posix/execl.c (execl): Add missing va_end.
11006         * posix/execle.c (execle): Likewise.
11007         * posix/execlp.c (execlp): Likewise.
11009 2015-09-15  Roland McGrath  <roland@hack.frob.com>
11011         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
11012         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
11014 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
11016         [BZ #18967]
11017         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
11018         undefine around includes of <bits/mathcalls.h>.
11019         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
11020         not declare function.
11021         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
11022         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
11023         (scalb): Likewise.
11024         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
11025         not define macro.
11026         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
11027         variable.
11028         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11029         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11030         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11032         [BZ #18857]
11033         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
11034         return non-finite argument without doing ordered comparisons on
11035         it.
11037         [BZ #16296]
11038         * math/fenv.h (fegetround): Use __attribute_pure__.
11039         * include/fenv.h (__fegetround): Likewise.
11041         [BZ #18595]
11042         * math/s_ctan.c (__ctan): Force underflow exception for results
11043         whose real or imaginary part has small absolute value.
11044         * math/s_ctanf.c (__ctanf): Likewise.
11045         * math/s_ctanh.c (__ctanh): Likewise.
11046         * math/s_ctanhf.c (__ctanhf): Likewise.
11047         * math/s_ctanhl.c (__ctanhl): Likewise.
11048         * math/s_ctanl.c (__ctanl): Likewise.
11049         * math/auto-libm-test-in: Do not allow missing underflow for ctan
11050         and ctanh.  Add more tests of ctan and ctanh.
11052         [BZ #15918]
11053         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
11054         handling of cases where one argument is an infinity.
11056         [BZ #18875]
11057         [BZ #18966]
11058         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
11059         (MO): New macro.
11060         (__ieee754_exp10): For small results, force underflow exception
11061         and remove excess range and precision from return value.
11062         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
11063         (MO): New macro.
11064         (__ieee754_exp10f): For small results, force underflow exception
11065         and remove excess range and precision from return value.
11066         * math/auto-libm-test-in: Add more tests of exp10.
11067         * math/auto-libm-test-out: Regenerated.
11069 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
11071         [BZ #18875]
11072         [BZ #18961]
11073         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
11074         (MO): New macro.
11075         (__ieee754_exp): For small results, force underflow exception and
11076         remove excess range and precision from return value.
11077         (__exp_finite): Likewise.
11078         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
11079         (MO): New macro.
11080         (__ieee754_expf): For small results, force underflow exception and
11081         remove excess range and precision from return value.
11082         (__expf_finite): Likewise.
11083         * math/auto-libm-test-in: Add more tests of exp.
11084         * math/auto-libm-test-out: Regenerated.
11086         [BZ #16521]
11087         [BZ #18875]
11088         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
11089         small results.
11090         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
11091         (MO): New macro.
11092         (__ieee754_exp2): For small results, force underflow exception and
11093         remove excess range and precision from return value.
11094         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
11095         (MO): New macro.
11096         (__ieee754_exp2f): For small results, force underflow exception
11097         and remove excess range and precision from return value.
11098         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
11099         (MO): New macro.
11100         (__ieee754_exp2l): Force underflow exception for small results.
11101         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11102         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
11103         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
11104         (MO): New macro.
11105         (__ieee754_exp2l): Force underflow exception for small results.
11106         * math/auto-libm-test-in: Add more tests or exp2.
11107         * math/auto-libm-test-out: Regenerated.
11109 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
11111         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
11113         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
11114         /dev/null.
11116 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11118         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11119         io fs process)): Drop spurious backslash.
11121 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11123         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
11124         Use sysinfo system call instead of parsing /proc/meminfo.
11125         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
11126         Likewise.
11128 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
11130         [BZ #16985]
11131         * programs/localedef.c (main): Display argv[remaining] when
11132         output_path is NULL.
11134 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
11136         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11137         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
11138         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
11139         tanh.
11140         * math/auto-libm-test-out: Regenerated.
11141         * sysdeps/i386/fpu/libm-test-ulps: Update.
11142         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11143         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11146 2015-09-11  Roland McGrath  <roland@hack.frob.com>
11148         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
11149         Use 'override' keyword to freeze the value here, preventing
11150         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
11152 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
11154         [BZ #14912]
11155         * sysdeps/aarch64/bits/atomic.h: Move to ...
11156         * sysdeps/aarch64/atomic-machine.h: ...here.
11157         (_AARCH64_BITS_ATOMIC_H): Rename macro to
11158         _AARCH64_ATOMIC_MACHINE_H.
11159         * sysdeps/alpha/bits/atomic.h: Move to ...
11160         * sysdeps/alpha/atomic-machine.h: ...here.
11161         * sysdeps/arm/bits/atomic.h: Move to ...
11162         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
11163         * bits/atomic.h: Move to ...
11164         * sysdeps/generic/atomic-machine.h: ...here.
11165         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11166         * sysdeps/i386/bits/atomic.h: Move to ...
11167         * sysdeps/i386/atomic-machine.h: ...here.
11168         * sysdeps/ia64/bits/atomic.h: Move to ...
11169         * sysdeps/ia64/atomic-machine.h: ...here.
11170         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
11171         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
11172         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11173         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
11174         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
11175         * sysdeps/microblaze/bits/atomic.h: Move to ...
11176         * sysdeps/microblaze/atomic-machine.h: ...here.
11177         * sysdeps/mips/bits/atomic.h: Move to ...
11178         * sysdeps/mips/atomic-machine.h: ...here.
11179         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
11180         * sysdeps/powerpc/bits/atomic.h: Move to ...
11181         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
11182         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
11183         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
11184         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
11185         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
11186         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
11187         <atomic-machine.h> instead of <bits/atomic.h>.
11188         * sysdeps/s390/bits/atomic.h: Move to ...
11189         * sysdeps/s390/atomic-machine.h: ...here.
11190         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
11191         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
11192         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11193         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
11194         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
11195         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
11196         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
11197         * sysdeps/tile/bits/atomic.h: Move to ...
11198         * sysdeps/tile/atomic-machine.h: ...here.
11199         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
11200         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
11201         <sysdeps/tile/atomic-machine.h> instead of
11202         <sysdeps/tile/bits/atomic.h>.
11203         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11204         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
11205         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
11206         <sysdeps/tile/atomic-machine.h> instead of
11207         <sysdeps/tile/bits/atomic.h>.
11208         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11209         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
11210         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
11211         <sysdeps/arm/atomic-machine.h> instead of
11212         <sysdeps/arm/bits/atomic.h>.
11213         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
11214         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
11215         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11216         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
11217         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
11218         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11219         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
11220         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
11221         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
11222         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
11223         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
11224         * sysdeps/x86_64/bits/atomic.h: Move to ...
11225         * sysdeps/x86_64/atomic-machine.h: ...here.
11226         * include/atomic.h: Include <atomic-machine.h> instead of
11227         <bits/atomic.h>.
11229         * sysdeps/mips/mips32/libm-test-ulps: Update.
11230         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11232         [BZ #18952]
11233         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
11234         not convert non-integer negative arguments to int to determine the
11235         value of signgam.
11236         * math/auto-libm-test-in: Add more tests of lgamma.
11237         * math/auto-libm-test-out: Regenerated.
11239         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
11240         cosh, csqrt, erfc, expm1 and lgamma.
11241         * math/auto-libm-test-out: Regenerated.
11242         * sysdeps/i386/fpu/libm-test-ulps: Update.
11243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11245 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
11247         [BZ #2542]
11248         [BZ #2543]
11249         [BZ #2558]
11250         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
11251         __lgamma_neg for arguments from -28.0 to -2.0.
11252         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
11253         __lgamma_negf for arguments from -15.0 to -2.0.
11254         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11255         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
11256         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
11257         Call __lgamma_negl for arguments from -33.0 to -2.0.
11258         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
11259         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
11260         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11261         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
11262         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11263         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11264         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
11265         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
11266         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
11267         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
11268         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
11269         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
11270         (__lgamma_neg): Likewise.
11271         (__lgamma_negl): Likewise.
11272         (__lgamma_product): Likewise.
11273         (__lgamma_productl): Likewise.
11274         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
11275         * math/auto-libm-test-in: Add more tests of lgamma.
11276         * math/auto-libm-test-out: Regenerated.
11277         * sysdeps/i386/fpu/libm-test-ulps: Update.
11278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11280 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
11282         [BZ #18675]
11283         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
11285 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
11287         [BZ #14912]
11288         * bits/libc-lock.h: Move to ...
11289         * sysdeps/generic/libc-lock.h: ...here.
11290         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11291         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
11292         * sysdeps/mach/hurd/libc-lock.h: ...here.
11293         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11294         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
11295         * sysdeps/mach/bits/libc-lock.h: Move to ...
11296         * sysdeps/mach/libc-lock.h: ...here.
11297         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11298         * sysdeps/nptl/bits/libc-lock.h: Move to ...
11299         * sysdeps/nptl/libc-lock.h: ...here.
11300         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11301         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
11302         * sysdeps/nptl/libc-lockP.h: ...here.
11303         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
11304         * crypt/crypt_util.c: Include <libc-lock.h> instead of
11305         <bits/libc-lock.h>.
11306         * dirent/scandir-tail.c: Likewise.
11307         * dlfcn/dlerror.c: Likewise.
11308         * elf/dl-close.c: Likewise.
11309         * elf/dl-iteratephdr.c: Likewise.
11310         * elf/dl-lookup.c: Likewise.
11311         * elf/dl-open.c: Likewise.
11312         * elf/dl-support.c: Likewise.
11313         * elf/dl-writev.h: Likewise.
11314         * elf/rtld.c: Likewise.
11315         * grp/fgetgrent.c: Likewise.
11316         * gshadow/fgetsgent.c: Likewise.
11317         * gshadow/sgetsgent.c: Likewise.
11318         * iconv/gconv_conf.c: Likewise.
11319         * iconv/gconv_db.c: Likewise.
11320         * iconv/gconv_dl.c: Likewise.
11321         * iconv/gconv_int.h: Likewise.
11322         * iconv/gconv_trans.c: Likewise.
11323         * include/link.h: Likewise.
11324         * inet/getnameinfo.c: Likewise.
11325         * inet/getnetgrent.c: Likewise.
11326         * inet/getnetgrent_r.c: Likewise.
11327         * intl/bindtextdom.c: Likewise.
11328         * intl/dcigettext.c: Likewise.
11329         * intl/finddomain.c: Likewise.
11330         * intl/gettextP.h: Likewise.
11331         * intl/loadmsgcat.c: Likewise.
11332         * intl/localealias.c: Likewise.
11333         * intl/textdomain.c: Likewise.
11334         * libidn/idn-stub.c: Likewise.
11335         * libio/libioP.h: Likewise.
11336         * locale/duplocale.c: Likewise.
11337         * locale/freelocale.c: Likewise.
11338         * locale/newlocale.c: Likewise.
11339         * locale/setlocale.c: Likewise.
11340         * login/getutent_r.c: Likewise.
11341         * login/getutid_r.c: Likewise.
11342         * login/getutline_r.c: Likewise.
11343         * login/utmp-private.h: Likewise.
11344         * login/utmpname.c: Likewise.
11345         * malloc/mtrace.c: Likewise.
11346         * misc/efgcvt.c: Likewise.
11347         * misc/error.c: Likewise.
11348         * misc/fstab.c: Likewise.
11349         * misc/getpass.c: Likewise.
11350         * misc/mntent.c: Likewise.
11351         * misc/syslog.c: Likewise.
11352         * nis/nis_call.c: Likewise.
11353         * nis/nis_callback.c: Likewise.
11354         * nis/nss-default.c: Likewise.
11355         * nis/nss_compat/compat-grp.c: Likewise.
11356         * nis/nss_compat/compat-initgroups.c: Likewise.
11357         * nis/nss_compat/compat-pwd.c: Likewise.
11358         * nis/nss_compat/compat-spwd.c: Likewise.
11359         * nis/nss_nis/nis-alias.c: Likewise.
11360         * nis/nss_nis/nis-ethers.c: Likewise.
11361         * nis/nss_nis/nis-grp.c: Likewise.
11362         * nis/nss_nis/nis-hosts.c: Likewise.
11363         * nis/nss_nis/nis-network.c: Likewise.
11364         * nis/nss_nis/nis-proto.c: Likewise.
11365         * nis/nss_nis/nis-pwd.c: Likewise.
11366         * nis/nss_nis/nis-rpc.c: Likewise.
11367         * nis/nss_nis/nis-service.c: Likewise.
11368         * nis/nss_nis/nis-spwd.c: Likewise.
11369         * nis/nss_nisplus/nisplus-alias.c: Likewise.
11370         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
11371         * nis/nss_nisplus/nisplus-grp.c: Likewise.
11372         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
11373         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
11374         * nis/nss_nisplus/nisplus-network.c: Likewise.
11375         * nis/nss_nisplus/nisplus-proto.c: Likewise.
11376         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
11377         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
11378         * nis/nss_nisplus/nisplus-service.c: Likewise.
11379         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
11380         * nis/ypclnt.c: Likewise.
11381         * nptl/libc_pthread_init.c: Likewise.
11382         * nss/getXXbyYY.c: Likewise.
11383         * nss/getXXent.c: Likewise.
11384         * nss/getXXent_r.c: Likewise.
11385         * nss/nss_db/db-XXX.c: Likewise.
11386         * nss/nss_db/db-netgrp.c: Likewise.
11387         * nss/nss_db/nss_db.h: Likewise.
11388         * nss/nss_files/files-XXX.c: Likewise.
11389         * nss/nss_files/files-alias.c: Likewise.
11390         * nss/nsswitch.c: Likewise.
11391         * posix/regex_internal.h: Likewise.
11392         * posix/wordexp.c: Likewise.
11393         * pwd/fgetpwent.c: Likewise.
11394         * resolv/res_hconf.c: Likewise.
11395         * resolv/res_libc.c: Likewise.
11396         * shadow/fgetspent.c: Likewise.
11397         * shadow/lckpwdf.c: Likewise.
11398         * shadow/sgetspent.c: Likewise.
11399         * socket/opensock.c: Likewise.
11400         * stdio-common/reg-modifier.c: Likewise.
11401         * stdio-common/reg-printf.c: Likewise.
11402         * stdio-common/reg-type.c: Likewise.
11403         * stdio-common/vfprintf.c: Likewise.
11404         * stdio-common/vfscanf.c: Likewise.
11405         * stdlib/abort.c: Likewise.
11406         * stdlib/cxa_atexit.c: Likewise.
11407         * stdlib/fmtmsg.c: Likewise.
11408         * stdlib/random.c: Likewise.
11409         * stdlib/setenv.c: Likewise.
11410         * string/strsignal.c: Likewise.
11411         * sunrpc/auth_none.c: Likewise.
11412         * sunrpc/bindrsvprt.c: Likewise.
11413         * sunrpc/create_xid.c: Likewise.
11414         * sunrpc/key_call.c: Likewise.
11415         * sunrpc/rpc_thread.c: Likewise.
11416         * sysdeps/arm/backtrace.c: Likewise.
11417         * sysdeps/generic/ldsodefs.h: Likewise.
11418         * sysdeps/generic/stdio-lock.h: Likewise.
11419         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
11420         * sysdeps/i386/backtrace.c: Likewise.
11421         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11422         * sysdeps/m68k/backtrace.c: Likewise.
11423         * sysdeps/mach/hurd/cthreads.c: Likewise.
11424         * sysdeps/mach/hurd/dirstream.h: Likewise.
11425         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
11426         * sysdeps/nptl/malloc-machine.h: Likewise.
11427         * sysdeps/nptl/stdio-lock.h: Likewise.
11428         * sysdeps/posix/dirstream.h: Likewise.
11429         * sysdeps/posix/getaddrinfo.c: Likewise.
11430         * sysdeps/posix/system.c: Likewise.
11431         * sysdeps/pthread/aio_suspend.c: Likewise.
11432         * sysdeps/s390/s390-32/backtrace.c: Likewise.
11433         * sysdeps/s390/s390-64/backtrace.c: Likewise.
11434         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11435         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11436         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
11437         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
11438         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
11439         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11440         * sysdeps/unix/sysv/linux/system.c: Likewise.
11441         * sysdeps/x86_64/backtrace.c: Likewise.
11442         * time/alt_digit.c: Likewise.
11443         * time/era.c: Likewise.
11444         * time/tzset.c: Likewise.
11445         * wcsmbs/wcsmbsload.c: Likewise.
11446         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
11447         instead of <bits/libc-lock.h> in comment.
11449 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
11451         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
11452         Only use .set mips2 if the current ISA is below mips2.
11453         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
11454         Likewise.
11455         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
11456         mips32r2 if the current ISA is below mips32r2.
11457         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
11458         (TLS_IE): Updated to use the TLD_RDHWR macro.
11459         (TLS_LE): Likewise.
11460         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
11461         __ASSEMBLER__ condition.
11463 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11465         Fix parallel build of before-compile targets.
11467         * sysdeps/mach/Makefile ($(patsubst
11468         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
11469         mach-before-compile target.
11470         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11471         io fs process)): Move rule to dedicated hurd-before-compile target.
11473 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11475         Fix rules generating headers in hurd/ and mach/ when initial make call
11476         has subdir= explicitly set.
11478         * sysdeps/mach/Makefile ($(patsubst
11479         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
11480         calling $(MAKE).
11481         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11482         io fs process)): Force subdir to hurd when calling $(MAKE).
11483         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
11484         subdir to mach when calling $(MAKE).
11486 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
11488         Check sysheaders when looking for Mach and Hurd headers
11490         * sysdeps/mach/configure.ac: Add sysheaders check.
11491         * sysdeps/mach/configure: Regenerate.
11492         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
11493         * sysdeps/mach/hurd/configure: Regenerate.
11495 2015-09-04  Roland McGrath  <roland@hack.frob.com>
11497         [BZ #18921]
11498         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
11499         Fix inverted sense of test of 'o_directory_works' value.
11500         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
11501         Bernhard Voelker <mail@bernhard-voelker.de>.
11503 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
11505         [BZ #14912]
11506         * bits/linkmap.h: Move to ...
11507         * sysdeps/generic/linkmap.h: ...here.
11508         * sysdeps/aarch64/bits/linkmap.h: Move to ...
11509         * sysdeps/aarch64/linkmap.h: ...here.
11510         * sysdeps/arm/bits/linkmap.h: Move to ...
11511         * sysdeps/arm/linkmap.h: ...here.
11512         * sysdeps/hppa/bits/linkmap.h: Move to ...
11513         * sysdeps/hppa/linkmap.h: ...here.
11514         * sysdeps/ia64/bits/linkmap.h: Move to ...
11515         * sysdeps/ia64/linkmap.h: ...here.
11516         * sysdeps/mips/bits/linkmap.h: Move to ...
11517         * sysdeps/mips/linkmap.h: ...here.
11518         * sysdeps/s390/bits/linkmap.h: Move to ...
11519         * sysdeps/s390/linkmap.h: ...here.
11520         * sysdeps/sh/bits/linkmap.h: Move to ...
11521         * sysdeps/sh/linkmap.h: ...here.
11522         * sysdeps/x86/bits/linkmap.h: Move to ...
11523         * sysdeps/x86/linkmap.h: ...here.
11524         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
11526 2015-09-04  Andreas Schwab  <schwab@suse.de>
11528         [BZ #18635]
11529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
11530         (__makecontext): Terminate FDE before return label.
11531         (__novec_makecontext): Likewise.
11533 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11535         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
11536         first member of struct sv in syscall macro.
11538 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
11540         [BZ #14912]
11541         * bits/stdio-lock.h: Move to ...
11542         * sysdeps/generic/stdio-lock.h: ...here.
11543         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
11544         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
11545         * sysdeps/nptl/stdio-lock.h: ...here.
11546         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
11547         * include/libio.h: Include <stdio-lock.h> instead of
11548         <bits/stdio-lock.h>.
11549         * sysdeps/nptl/fork.c: Likewise.
11550         * sysdeps/pthread/flockfile.c: Likewise.
11551         * sysdeps/pthread/ftrylockfile.c: Likewise.
11552         * sysdeps/pthread/funlockfile.c: Likewise.
11554         [BZ #14912]
11555         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
11556         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
11557         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
11558         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
11559         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
11560         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11561         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
11563 2015-09-03  Roland McGrath  <roland@hack.frob.com>
11565         * elf/Makefile (test-xfail-tst-protected1a): New variable.
11566         (test-xfail-tst-protected1b): New variable.
11568 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
11570         [BZ #14912]
11571         * bits/libc-tsd.h: Move to ...
11572         * sysdeps/generic/libc-tsd.h: ...here.
11573         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
11574         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
11575         * sysdeps/mach/hurd/libc-tsd.h: ...here.
11576         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
11577         * include/ctype.h: Include <libc-tsd.h> instead of
11578         <bits/libc-tsd.h>.
11579         * include/rpc/rpc.h: Likewise.
11580         * locale/localeinfo.h: Likewise.
11581         * sunrpc/rpc_thread.c: Likewise.
11582         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
11583         * sysdeps/nptl/malloc-machine.h: Likewise.
11585         * Makefile (headers): Remove bits/libc-lock.h.
11586         * libio/Makefile (headers): Remove bits/stdio-lock.h.
11588         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
11589         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
11590         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
11591         <bits/stdio-lock.h>.
11592         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
11593         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
11595 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11597         [BZ #18757]
11598         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
11599         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
11600         BZ #18757.
11602 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11604         * malloc/mtrace.pl: Filter out NULL entries.
11606 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
11608         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
11609         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
11610         macro.
11612         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
11613         (TCP_CC_INFO): Likewise.
11614         (TCP_SAVE_SYN): Likewise.
11615         (TCP_SAVED_SYN): Likewise.
11617 2015-08-31  Brett Neumeier <brett@neumeier.us>
11619         [BZ #18870]
11620         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
11622 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
11624         [BZ #18873]
11625         Fix broken overflow check in posix_fallocate
11626         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
11627         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
11628         Fix parenthesization typo.
11630 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
11632         [BZ #18887]
11633         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
11634         tst-mntent-blank-passno.
11635         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
11636         * misc/tst-mntent-blank-corrupt.c: New test.
11637         * misc/tst-mntent-blank-passno.c: New test ripped from ...
11638         * misc/tst-mntent.c (do_test): ... here.
11640 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
11642         [BZ #4404]
11643         * po/de.po: Fix SIGALRM typo.
11645 2015-08-28  James Perkins  <james@loowit.net>
11647         * time/tst-strptime2.c (tests): Replace short list of test
11648         strings for strptime %z specifier with code which exhaustively
11649         tests every combination of sign and 0 to 5 digits. Tests for
11650         rejection of invalid strings.
11652 2015-08-28  James Perkins  <james@loowit.net>
11654         [BZ #16141]
11655         * time/strptime_l.c (__strptime_internal): Fix %z minutes
11656         calculation, removing incorrect decimal time rounding, so that
11657         all minute values result in a valid seconds value.
11658         * time/strptime_l.c (__strptime_internal): Extend %z time zone
11659         offset range limits to UTC-99:59 through UTC+99:59 to parse
11660         current and historical use cases.
11661         * time/tst-strptime2.c (tests): Modify and add tests for the
11662         strptime %z input field descriptor, specifically conversion of
11663         minutes to seconds and validating an offset range of -9959 to
11664         +9959.
11666 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11667             Dmitry V. Levin  <ldv@altlinux.org>
11669         [BZ #18877]
11670         * posix/Makefile (tests): Add tst-mmap-offset.
11671         * posix/tst-mmap.c: New file.
11672         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
11673         offset calculation for negative values.
11675 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11677         * sysdeps/i386/init-arch.h: New file.
11678         * sysdeps/i386/i586/init-arch.h: Likewise.
11679         * sysdeps/i386/i686/init-arch.h: Likewise.
11680         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
11681         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
11682         * sysdeps/x86/cpu-features.h (bit_I586): New.
11683         (bit_I686): Likewise.
11684         (bit_CX8): Likewise.
11685         (bit_CMOV): Likewise.
11686         (index_CX8): Likewise.
11687         (index_CMOV): Likewise.
11688         (index_I586): Likewise.
11689         (index_I686): Likewise.
11690         (reg_CX8): Likewise.
11691         (reg_CMOV): Likewise.
11692         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
11693         available at compile-time.
11694         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
11695         available at compile-time.
11696         * sysdeps/x86/init-arch.h (USE_I586): New macro.
11697         (USE_I686): Likewise.
11699 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11701         * sysdeps/i386/bcopy.S: New file.
11702         * sysdeps/i386/bzero.S: Likewise.
11703         * sysdeps/i386/memcpy.S: Likewise.
11704         * sysdeps/i386/memmove.S: Likewise.
11705         * sysdeps/i386/mempcpy.S: Likewise.
11706         * sysdeps/i386/memset.S: Likewise.
11707         * sysdeps/i386/bzero.c: Removed.
11708         * sysdeps/i386/memset.c: Likewise.
11709         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
11710         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
11711         * sysdeps/i386/i586/memset_chk.S: Likewise.
11712         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
11713         * sysdeps/i386/memcpy_chk.S: Here.
11714         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
11715         * sysdeps/i386/memmove_chk.S: Here.
11716         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
11717         * sysdeps/i386/mempcpy_chk.S: Likewise.
11718         * sysdeps/i386/i686/memset_chk.S: Moved to ...
11719         * sysdeps/i386/memset_chk.S: Likewise.
11721 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
11723         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
11724         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
11725         file, move DIAG_POP_NEEDS_COMMENT to end of file.
11726         * soft-fp/fmadf4.c: Ditto.
11727         * soft-fp/fmatf4.c: Ditto.
11729 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11731         * sysdeps/i386/i586/Implies: Removed.
11732         * sysdeps/i386/i686/Implies: Likewise.
11734 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11736         * sysdeps/i386/i486/strlen.S: Moved to ...
11737         * sysdeps/i386/strlen.S: Here.
11739 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11741         * sysdeps/i386/i486/strcat.S: Moved to ...
11742         * sysdeps/i386/strcat.S: Here.
11744 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11746         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
11747         * sysdeps/i386/pthread_spin_trylock.S: Here.
11748         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
11749         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
11751 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11753         * sysdeps/i386/i486/string-inlines.c: Moved to ...
11754         * sysdeps/i386/string-inlines.c: Here.
11756 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11758         * sysdeps/i386/i486/htonl.S: Moved ...
11759         * sysdeps/i386/htonl.S: here.
11761 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11763         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
11764         * sysdeps/i386/bits/atomic.h: Here.
11766 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11768         * sysdeps/i386/i486/Versions: Removed.
11770 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11772         [BZ #2898]
11773         * misc/mktemp.c: Add mkdtemp to the link_warning message.
11774         Based on patch by Aurelien Jarno.
11776 2015-08-26  Stan Shebs  <stanshebs@google.com>
11778         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
11779         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11781 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11783         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
11784         * sysdeps/powerpc/dl-procinfo.c:
11785         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
11786         feature so it shows when LD_SHOW_AUXV=1.
11788 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11790         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11791         (__arch_compare_and_exchange_val_32_acq): Remove and use common
11792         definition.  ISA 2.07B no longer requires full sync.
11794 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
11796         [BZ #18863]
11797         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
11798         (si_call_addr): Define.
11799         (si_syscall): Define.
11800         (si_arch): Define.
11802 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11804         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
11805         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
11806         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
11807         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
11808         (__memset_zero_constant_len_parameter): New.
11809         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
11810         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
11811         (__memset_zero_constant_len_parameter): Don't define if
11812         __memset_chk or USE_AS_BZERO are defined.
11814         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
11815         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
11816         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
11818         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
11819         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
11820         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
11821         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
11822         comments.
11823         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
11824         -mno-mmx for $(all-rtld-routines).
11825         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
11826         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
11827         i386.
11829 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11831         * sysdeps/generic/unwind.h
11832         (_Unwind_Word): Use __mode__(__unwind_word__)
11833         instead of __mode__(__word__).
11834         (_Unwind_Sword): Likewise.
11836         * sysdeps/s390/s390-64/utf8-utf16-z9.c
11837         (MAX_NEEDED_INPUT): New define.
11838         (MAX_NEEDED_OUTPUT): New define.
11840         * NEWS: New item for IBM z13 string optimizations.
11842         * sysdeps/s390/multiarch/memrchr-c.c: New File.
11843         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
11844         * sysdeps/s390/multiarch/memrchr.c: Likewise.
11845         * sysdeps/s390/multiarch/Makefile
11846         (sysdep_routines): Add memrchr functions.
11847         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11848         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
11850         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
11851         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
11852         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
11853         * sysdeps/s390/multiarch/Makefile
11854         (sysdep_routines): Add wmemcmp functions.
11855         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11856         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
11857         * benchtests/bench-wmemcmp.c: New File.
11858         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
11860         * sysdeps/s390/multiarch/wmemset-c.c: New File.
11861         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
11862         * sysdeps/s390/multiarch/wmemset.c: Likewise.
11863         * sysdeps/s390/multiarch/Makefile
11864         (sysdep_routines): Add wmemset functions.
11865         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11866         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
11867         * wcsmbs/wmemset.c: Use WMEMSET if defined.
11868         * string/test-memset.c: Add wmemset support.
11869         * wcsmbs/test-wmemset.c: New File.
11870         * wcsmbs/Makefile (strop-tests): Add wmemset.
11871         * benchtests/bench-memset.c: Add wmemset support.
11872         * benchtests/bench-wmemset.c: New File.
11873         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
11875         * sysdeps/s390/multiarch/memccpy-c.c: New File.
11876         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
11877         * sysdeps/s390/multiarch/memccpy.c: Likewise.
11878         * sysdeps/s390/multiarch/Makefile
11879         (sysdep_routines): Add memccpy functions.
11880         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11881         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
11882         * string/memccpy.c: Use MEMCCPY if defined.
11884         * sysdeps/s390/multiarch/memchr-vx.S: New File.
11885         * sysdeps/s390/multiarch/memchr.c: Likewise.
11886         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
11887         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
11888         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
11889         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
11890         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
11891         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
11892         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
11893         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
11894         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
11895         and rawmemchr functions.
11896         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11897         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
11898         and wmemchr.
11899         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
11900         * string/test-memchr.c: Add wmemchr support.
11901         * wcsmbs/test-wmemchr.c: New File.
11902         * wcsmbs/Makefile (strop-tests): Add wmemchr.
11903         * benchtests/bench-memchr.c: Add wmemchr support.
11904         * benchtests/bench-wmemchr.c: New File.
11905         * benchtests/Makefile (wcsmbs-bench): wmemchr.
11907         * sysdeps/s390/multiarch/strcspn-c.c: New File.
11908         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
11909         * sysdeps/s390/multiarch/strcspn.c: Likewise.
11910         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
11911         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
11912         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
11913         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
11914         wcscspn functions.
11915         * sysdeps/s390/multiarch/ifunc-impl-list.c
11916         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
11917         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
11918         * string/test-strcspn.c: Add wcscspn support.
11919         * wcsmbs/test-wcscspn.c: New File.
11920         * wcsmbs/Makefile (strop-tests): Add wcscspn.
11921         * benchtests/bench-strcspn.c: Add wcscspn support.
11922         * benchtests/bench-wcscspn.c: New File.
11923         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
11925         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
11926         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
11927         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
11928         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
11929         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
11930         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
11931         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
11932         wcspbrk functions.
11933         * sysdeps/s390/multiarch/ifunc-impl-list.c
11934         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
11935         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
11936         * string/test-strpbrk.c: Add wcspbrk support.
11937         * wcsmbs/test-wcspbrk.c: New File.
11938         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
11939         * benchtests/bench-strpbrk.c: Add wcspbrk support.
11940         * benchtests/bench-wcspbrk.c: New File.
11941         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
11943         * sysdeps/s390/multiarch/strspn-c.c: New File.
11944         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
11945         * sysdeps/s390/multiarch/strspn.c: Likewise.
11946         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
11947         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
11948         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
11949         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
11950         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
11951         wcsspn functions.
11952         * sysdeps/s390/multiarch/ifunc-impl-list.c
11953         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
11954         * string/test-strspn.c: Add wcsspn support.
11955         * wcsmbs/test-wcsspn.c: New File.
11956         * wcsmbs/Makefile (strop-tests): Add wcsspn.
11957         * benchtests/bench-strspn.c: Add wcsspn support.
11958         * benchtests/bench-wcsspn.c: New File.
11959         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
11961         * sysdeps/s390/multiarch/strrchr-c.c: New File.
11962         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
11963         * sysdeps/s390/multiarch/strrchr.c: Likewise.
11964         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
11965         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
11966         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
11967         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
11968         wcsrchr functions.
11969         * sysdeps/s390/multiarch/ifunc-impl-list.c
11970         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
11971         * benchtests/bench-wcsrchr.c: New File.
11972         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
11974         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
11975         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
11976         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
11977         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
11978         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
11979         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
11980         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
11981         wcschrnul functions.
11982         * sysdeps/s390/multiarch/ifunc-impl-list.c
11983         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
11984         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
11985         * string/test-strchr.c: Add wcschrnul support.
11986         * wcsmbs/test-wcschrnul.c: New File.
11987         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
11988         * benchtests/bench-strchr.c: Add wcschrnul support.
11989         * benchtests/bench-wcschrnul.c: New File.
11990         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
11992         * sysdeps/s390/multiarch/strchr-c.c: New File.
11993         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
11994         * sysdeps/s390/multiarch/strchr.c: Likewise.
11995         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
11996         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
11997         * sysdeps/s390/multiarch/wcschr.c: Likewise.
11998         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
11999         wcschr functions.
12000         * sysdeps/s390/multiarch/ifunc-impl-list.c
12001         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
12002         * string/strchr.c (STRCHR): Define and use macro.
12003         * benchtests/bench-wcschr.c: New File.
12004         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
12006         * sysdeps/s390/multiarch/strncmp-c.c: New File.
12007         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
12008         * sysdeps/s390/multiarch/strncmp.c: Likewise.
12009         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
12010         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
12011         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
12012         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
12013         wcsncmp functions.
12014         * sysdeps/s390/multiarch/ifunc-impl-list.c
12015         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
12016         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
12017         * benchtests/bench-strncmp.c: Add wcsncmp support.
12018         * benchtests/bench-wcsncmp.c: New File.
12019         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
12021         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
12022         * sysdeps/s390/multiarch/strcmp.c: Likewise.
12023         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
12024         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
12025         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
12026         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
12027         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
12028         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
12029         wcscmp functions.
12030         * sysdeps/s390/multiarch/ifunc-impl-list.c
12031         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
12032         * string/strcmp.c (STRCMP): Define and use macro.
12033         * benchtests/bench-wcscmp.c: New File.
12034         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
12035         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
12036         instead of _HAVE_STRING_ARCH_memchr.
12038         * sysdeps/s390/multiarch/strncat-c.c: New File.
12039         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
12040         * sysdeps/s390/multiarch/strncat.c: Likewise.
12041         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
12042         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
12043         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
12044         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
12045         wcsncat functions.
12046         * sysdeps/s390/multiarch/ifunc-impl-list.c
12047         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
12048         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
12049         * string/test-strncat.c: Add wcsncat support.
12050         * wcsmbs/test-wcsncat.c: New File.
12051         * wcsmbs/Makefile (strop-tests): Add wcsncat.
12052         * benchtests/bench-strncat.c: Add wcsncat support.
12053         * benchtests/bench-wcsncat.c: New File.
12054         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
12056         * sysdeps/s390/multiarch/strcat-c.c: New File.
12057         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
12058         * sysdeps/s390/multiarch/strcat.c: Likewise.
12059         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
12060         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
12061         * sysdeps/s390/multiarch/wcscat.c: Likewise.
12062         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
12063         wcscat functions.
12064         * sysdeps/s390/multiarch/ifunc-impl-list.c
12065         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
12066         * string/strcat.c (STRCAT): Define and use macro.
12067         * wcsmbs/wcscat.c: Use WCSCAT if defined.
12068         * string/test-strcat.c: Add wcscat support.
12069         * wcsmbs/test-wcscat.c: New File.
12070         * wcsmbs/Makefile (strop-tests): Add wcscat.
12071         * benchtests/bench-strcat.c: Add wcscat support.
12072         * benchtests/bench-wcscat.c: New File.
12073         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
12075         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
12076         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
12077         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
12078         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
12079         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
12080         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
12081         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
12082         wcpncpy functions.
12083         * sysdeps/s390/multiarch/ifunc-impl-list.c
12084         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
12085         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
12086         * string/test-stpncpy.c: Add wcpncpy support.
12087         * wcsmbs/test-wcpncpy.c: New File.
12088         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
12089         * benchtests/bench-stpncpy.c: Add wcpncpy support.
12090         * benchtests/bench-wcpncpy.c: New File.
12091         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
12093         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
12094         * sysdeps/s390/multiarch/strncpy.c: Likewise.
12095         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
12096         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
12097         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
12098         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
12099         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
12100         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
12101         wcsncpy functions.
12102         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
12103         * sysdeps/s390/multiarch/ifunc-impl-list.c
12104         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
12105         * string/test-strncpy.c: Add wcsncpy support.
12106         * wcsmbs/test-wcsncpy.c: New File.
12107         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
12108         * benchtests/bench-strncpy.c: Add wcsncpy support.
12109         * benchtests/bench-wcsncpy.c: New File.
12110         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
12112         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
12113         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
12114         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
12115         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
12116         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
12117         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
12118         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
12119         wcpcpy functions.
12120         * string/stpcpy.c: Use STPCPY if defined.
12121         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
12122         * sysdeps/s390/multiarch/ifunc-impl-list.c
12123         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
12124         * string/test-stpcpy.c: Add wcpcpy support.
12125         * wcsmbs/test-wcpcpy.c: New File.
12126         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
12127         * benchtests/bench-stpcpy.c: Add wcpcpy support.
12128         * benchtests/bench-wcpcpy.c: New File.
12129         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
12131         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
12132         * sysdeps/s390/multiarch/strcpy.c: Likewise.
12133         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
12134         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
12135         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
12136         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
12137         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
12138         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
12139         wcscpy functions.
12140         * sysdeps/s390/multiarch/ifunc-impl-list.c
12141         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
12142         * benchtests/bench-wcscpy.c: New File.
12143         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
12145         * sysdeps/s390/multiarch/strnlen-c.c: New File.
12146         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
12147         * sysdeps/s390/multiarch/strnlen.c: Likewise.
12148         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
12149         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
12150         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
12151         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
12152         wcsnlen functions.
12153         * sysdeps/s390/multiarch/ifunc-impl-list.c
12154         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
12155         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
12156         * string/test-strnlen.c: Add wcsnlen support.
12157         * wcsmbs/test-wcsnlen.c: New File.
12158         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
12159         * benchtests/bench-strnlen.c: Add wcsnlen support.
12160         * benchtests/bench-wcsnlen.c: New File.
12161         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
12163         * sysdeps/s390/multiarch/Makefile: New File.
12164         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
12165         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
12166         * sysdeps/s390/multiarch/strlen.c: Likewise.
12167         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
12168         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
12169         * sysdeps/s390/multiarch/wcslen.c: Likewise.
12170         * string/strlen.c (STRLEN): Define and use macro.
12171         * sysdeps/s390/multiarch/ifunc-impl-list.c
12172         (IFUNC_VX_IMPL): New macro function.
12173         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
12174         * benchtests/Makefile (wcsmbs-bench): New variable.
12175         (string-bench-all): Added wcsmbs-bench.
12176         * benchtests/bench-wcslen.c: New File.
12178         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
12179         s390_vx_libc_ifunc2): New macro function.
12181         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
12182         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
12183         assembler support.
12184         * sysdeps/s390/configure: Regenerated.
12186         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
12187         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
12189         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
12190         * sysdeps/s390/dl-procinfo.h: Add vector capability.
12191         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
12193         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
12194         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
12195         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
12196         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
12197         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
12198         (memcmp, bcmp): Use __memcmp_default as alias source.
12199         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
12200         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
12201         Rename to __memcmp_default.
12202         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
12203         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
12204         (memcpy): Use __memcpy_default as alias source.
12205         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
12206         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
12207         Rename to __memcpy_default.
12208         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
12209         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
12210         (memset): Use __memset_default as alias source.
12211         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
12212         * sysdeps/s390/s390-32/memset.S (__memset_g5):
12213         Rename to __memset_default.
12214         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
12215         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
12216         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
12217         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
12218         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
12219         (memcmp, bcmp): Use __memcmp_default as alias source.
12220         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
12221         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
12222         Rename to __memcmp_default.
12223         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
12224         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
12225         (memcpy): Use __memcpy_default as alias source.
12226         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
12227         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
12228         Rename to __memcpy_default.
12229         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
12230         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
12231         (memset): Use __memset_default as alias source.
12232         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
12233         * sysdeps/s390/s390-64/memset.S (__memset_z900):
12234         Rename to __memset_default.
12235         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
12236         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
12238         [BZ #18610]
12239         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
12240         __ieee_instruction_pointer to __unused.
12241         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
12242         __ieee_instruction_pointer.
12243         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
12244         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
12245         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12246         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12247         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
12248         Mark dxc-field as reserved.
12250 2015-08-25  Roland McGrath  <roland@hack.frob.com>
12252         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
12253         if the weak reference is not null.
12255 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12257         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
12259         [BZ #11214]
12260         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
12262 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12264         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
12265         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
12266         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
12267         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
12268         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
12269         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
12270         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
12271         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
12272         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
12273         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
12274         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
12275         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
12276         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
12277         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
12278         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
12279         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
12280         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
12281         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
12283 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12285         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
12286         register other than r0 for tabort, it has special meaning.
12287         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
12288         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
12289         transaction before starting syscall.
12291 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12293         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
12295 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12297         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
12299         * sysdeps/x86_64/rtld-memcmp.c: Removed.
12300         * sysdeps/x86_64/rtld-memset.S: Likewise.
12301         * sysdeps/x86_64/rtld-strchr.S: Likewise.
12302         * sysdeps/x86_64/rtld-strlen.S: Likewise.
12303         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
12304         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
12306         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
12308 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
12310         * debug/strcpy_chk.c: Improve performance.
12311         * debug/stpcpy_chk.c: Likewise.
12312         * sysdeps/x86_64/strcpy_chk.S: Remove.
12313         * sysdeps/x86_64/stpcpy_chk.S: Remove.
12315         [BZ #18240]
12316         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
12318 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12320         [BZ #15128]
12321         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
12322         ifuncmain8.
12323         (modules-names): Add ifuncmod8.
12324         ($(objpfx)ifuncmain8): New rule.
12325         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
12326         <cpuid.h>.
12327         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
12328         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
12329         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
12330         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
12331         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
12332         * sysdeps/x86_64/dl-trampoline.h: Likewise.
12333         * sysdeps/x86_64/ifuncmain8.c: New file.
12334         * sysdeps/x86_64/ifuncmod8.c: Likewise.
12335         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
12336         Removed.
12337         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
12338         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
12339         Change rtld_savespace_sse to __glibc_unused2.
12340         (RTLD_CHECK_FOREIGN_CALL): Removed.
12341         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
12342         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
12343         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
12345 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
12347         * sysdeps/aarch64/bzero.S (__bzero): Remove.
12349 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
12351         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
12352         Unconditionally set __fpcr to avoid uninialized warning.
12353         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
12355 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12357         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
12358         is corrupt.
12360         * malloc/arena.c (arena_get2): Drop unused argument.
12361         (arena_lock): Adjust.
12362         (arena_get_retry): Likewise.
12364 2015-08-24  Andreas Schwab  <schwab@suse.de>
12366         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
12367         Don't define.
12368         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12369         (__ASSUME_IPC64): Don't undef.
12370         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
12371         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12372         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12373         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
12374         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
12375         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
12376         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
12377         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
12378         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
12379         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
12380         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
12381         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
12382         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
12383         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
12384         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
12385         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
12386         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
12387         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
12388         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
12389         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
12390         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
12392 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
12394         * manual/Makefile (install): Only build manual when perl is available.
12396 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12398         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
12399         '#undef memcpy' by '#undef memchr'.
12401 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12403         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
12404         memchr not point to the internal __GI_memchr implementation.
12406 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
12408         * timezone/Makefile (CFLAGS-zdump.c): Remove
12409         -Wno-strict-prototypes.
12410         (CFLAGS-zic.c): Likewise.
12411         (CFLAGS-ialloc.c): Likewise.
12412         (CFLAGS-scheck.c): Likewise.
12414         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
12415         -Wno-error=undef.
12417 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12419         * i386/i686/multiarch/strcasestr-c.c: Removed.
12420         * x86_64/multiarch/strcasestr.c: Likewise.
12421         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12422         Remove strcasestr.
12424 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
12426         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
12428         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
12429         variables for high and low parts before possibly modifying them.
12431 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12433         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
12434         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
12435         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
12436         of "multiarch/init-arch.h".
12437         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
12438         * sysdeps/x86/init-arch.h: This.
12440 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12442         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
12443         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
12445 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
12447         [BZ #17787]
12448         * manual/macros.texi: Add twoexp macro.
12449         * manual/filesys.texi: Fix exponents.
12450         * manual/llio.texi: Likewise.
12451         * manual/stdio.texi: Likewise.
12453 2015-08-20  Florian Weimer  <fweimer@redhat.com>
12455         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
12456         incorrect use.
12458 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
12460         [BZ #18370]
12461         * math/s_csqrt.c (__csqrt): Force underflow exception for results
12462         whose real or imaginary part has small absolute value.
12463         * math/s_csqrtf.c (__csqrtf): Likewise.
12464         * math/s_csqrtl.c (__csqrtl): Likewise.
12465         * math/auto-libm-test-in: Add more tests of csqrt.
12466         * math/auto-libm-test-out: Regenerated.
12467         * sysdeps/i386/fpu/libm-test-ulps: Update.
12469 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12471         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
12472         __ppc_set_ppr_very_low): New functions.
12473         * manual/platform.texi: Add documentation about
12474         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
12476 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
12478         * string/stpncpy.c (stpncpy): Improve performance using
12479         __strnlen/memcpy/memset.
12481 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12483         [BZ #18796]
12484         * scripts/test-installation.pl: Don't add -lmvec to build options if
12485         libmvec wasn't built.
12487 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
12489         [BZ #14341]
12490         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
12491         case when there is a gap between DT_REL and DT_JMPREL sections.
12492         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
12493         (LDFLAGS-tst-split-dynreloc): New.
12494         (tst-split-dynreloc-ENV): Likewise.
12495         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
12496         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
12498 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12500         [BZ #18822]
12501         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
12502         attribute_hidden.
12503         (__xstat64_conv): Likewise.
12504         (__xstat32_conv): Likewise.
12506 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12508         [BZ #18822]
12509         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
12510         Don't load %ebx when calling __setcontext.  Call __setcontext
12511         with HIDDEN_JUMPTARGET.
12512         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
12513         libc_hidden_def.
12515 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12517         * sysdeps/i386/i686/Makefile
12518         [$(subdir) == string] (sysdep_routines): Moved to ...
12519         * sysdeps/i386/Makefile: Here.
12520         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
12521         * sysdeps/i386/cacheinfo.c: Here.
12522         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
12523         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
12524         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
12525         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
12527 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12529         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
12530         __i586__ is defined.
12531         (HAS_I686): Defined to 1 if __i686__ is defined.
12533 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
12535         * elf/Makefile [$(have-z-execstack) = yes]
12536         (CPPFLAGS-tst-execstack.c): New variable.
12538         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
12539         conditional to [defined UTMPX || _HAVE_UT_TYPE].
12540         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
12541         UTMPX || _HAVE_UT_TV].
12542         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
12543         UTMPX || _HAVE_UT_TV - 0].
12545 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
12547         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
12548         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
12549         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
12551 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12553         * sysdeps/powerpc/dl-procinfo.c:
12554         (_dl_powerpc_cap_flags): Added missing strings for some
12555         hwcap features.
12556         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
12558 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
12560         Port the 0x7efe...feff pattern to GCC 6.
12561         See Steve Ellcey's bug report in:
12562         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
12563         * string/memrchr.c (MEMRCHR):
12564         * string/rawmemchr.c (RAWMEMCHR):
12565         * string/strchr.c (strchr):
12566         * string/strchrnul.c (STRCHRNUL):
12567         Rewrite code to avoid issues with signed shift overflow.
12569 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
12571         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
12572         whether cpuid is available only if HAS_CPUID is 0.
12573         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
12574         (HAS_I586): Likewise.
12575         (HAS_I686): Likewise.
12577 2015-08-18  Zack Weinberg  <zackw@panix.com>
12579         * misc/Versions (libc): Add GLIBC_2.23.
12581 2015-08-18  Alan Modra  <amodra@gmail.com>
12583         [BZ #18421]
12584         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
12585         .Lp__global.
12586         (_start): Load %dp via .Lp__global.
12587         [!SHARED]: Use .section .rodata.
12589 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12591         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
12592         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
12594 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12596         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
12597         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
12599 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12601         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
12602         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
12604 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12606         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
12607         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
12609 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12611         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
12612         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
12614 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12616         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
12617         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
12619 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12621         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
12623 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12625         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
12626         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
12627         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12628         (__ASSUME_LWS_CAS): Delete.
12630 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12632         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
12633         * sysdeps/hppa/configure: Regenerated.
12634         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
12635         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
12636         * sysdeps/hppa/nptl/tls.h: Likewise.
12638 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
12640         [BZ #18823]
12641         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
12642         for scaling up small arguments.
12643         * math/s_csqrtf.c (__csqrtf): Likewise.
12644         * math/s_csqrtl.c (__csqrtl): Likewise.
12645         * math/auto-libm-test-in: Add more tests of csqrt.
12646         * math/auto-libm-test-out: Regenerated.
12648 2015-08-17  Andreas Schwab  <schwab@suse.de>
12650         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
12651         version set GLIBC_2.19.
12653 2015-08-16  Zack Weinberg  <zackw@panix.com>
12655         [BZ #18681]
12656         * misc/regexp.h: This interface is no longer supported.
12657         Remove all contents, leaving only an #error directive.
12658         * misc/regexp.c (loc1, loc2, locs, step, advance):
12659         Demote to compatibility symbols.
12661 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
12663         [BZ #18084]
12664         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
12665         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
12666         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12667         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
12668         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
12669         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
12670         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
12671         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
12672         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12674 2015-08-15  Zack Weinberg  <zackw@panix.com>
12676         [BZ #18795]
12677         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
12678         buffer length is known to be too large, not if it's known to be
12679         small enough.
12680         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
12681         overflow at runtime, involving a length parameter, twice: once
12682         with a compile-time constant length parameter, once without.
12684 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
12686         [BZ #18824]
12687         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
12688         scaling x * y up instead of down.
12689         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12690         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12691         * math/auto-libm-test-in: Add more tests of fma.
12692         * math/auto-libm-test-out: Regenerated.
12694 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12696         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12698 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12700         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
12701         unnecessary movq.
12702         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
12703         Likewise.
12705 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
12707         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12708         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
12709         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
12710         and tgamma.
12711         * math/auto-libm-test-out: Regenerated.
12712         * sysdeps/i386/fpu/libm-test-ulps: Update.
12713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12715         [BZ #16520]
12716         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
12717         (__tanh): Force underflow exception for arguments with small
12718         absolute value.
12719         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
12720         (__tanhf): Force underflow exception for arguments with small
12721         absolute value.
12722         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
12723         (__tanhl): Force underflow exception for arguments with small
12724         absolute value.
12725         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
12726         (__tanhl): Force underflow exception for arguments with small
12727         absolute value.
12728         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
12729         (__tanhl): Force underflow exception for arguments with small
12730         absolute value.
12731         * math/auto-libm-test-in: Add more tests of tanh.
12732         * math/auto-libm-test-out: Regenerated.
12733         * sysdeps/i386/fpu/libm-test-ulps: Update.
12735 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12737         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
12738         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
12740 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12742         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
12743         <cpuid.h>.
12745 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12747         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
12748         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
12750 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12752         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
12753         Remove $(objpfx)init-arch.o.
12754         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
12755         init-arch.
12756         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
12757         (INIT_ARCH_EXT): Defined as empty.
12758         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
12759         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
12760         __init_cpu_features call.  Replace HAS_XXX with
12761         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12762         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
12763         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
12764         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
12765         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
12766         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
12767         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
12768         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
12769         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
12770         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
12771         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
12772         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
12773         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
12774         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
12775         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
12776         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
12777         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
12778         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
12779         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
12780         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
12781         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
12782         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
12783         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
12784         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
12785         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
12786         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
12787         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
12788         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
12789         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
12790         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
12791         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
12792         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
12793         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
12794         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
12795         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
12796         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
12798 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12800         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
12801         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12802         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
12803         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
12804         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
12805         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
12806         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
12807         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
12808         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
12809         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
12810         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
12811         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
12812         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12813         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12814         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12815         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12816         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12817         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12818         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12819         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12820         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12821         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12822         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12823         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12824         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12825         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12826         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12827         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12828         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12829         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12830         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12831         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12832         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12833         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12834         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12835         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12836         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12837         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12838         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12839         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12840         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12841         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12842         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12844 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12846         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
12847         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12848         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12849         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12850         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12851         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
12852         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12853         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
12854         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12855         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12856         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12857         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
12858         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
12859         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
12860         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
12861         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
12862         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
12863         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
12864         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
12865         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
12866         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
12867         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
12868         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
12869         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12870         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12871         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
12872         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
12873         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
12874         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12875         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12876         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12877         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12878         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12879         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12880         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12881         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12882         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12883         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12884         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12885         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12886         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12887         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12888         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12890 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12892         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
12893         (dl_platform_init): Call init_cpu_features.
12894         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
12895         * sysdeps/i386/i686/cacheinfo.c
12896         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
12897         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
12898         * sysdeps/i386/i686/multiarch/Versions: Removed.
12899         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
12900         Removed.
12901         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
12902         * sysdeps/unix/sysv/linux/x86/Makefile
12903         (libpthread-sysdep_routines): Remove init-arch.
12904         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
12905         <sysdeps/x86_64/dl-procinfo.c> instead of
12906         sysdeps/generic/dl-procinfo.c>.
12907         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
12908         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
12909         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
12910         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
12911         [$(subdir) == elf] (tests-static): Add
12912         tst-get-cpu-features-static.
12913         * sysdeps/x86/Versions: New file.
12914         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
12915         * sysdeps/x86/cpu-features.c: Likewise.
12916         * sysdeps/x86/cpu-features.h: Likewise.
12917         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
12918         * sysdeps/x86/libc-start.c: Likewise.
12919         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
12920         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
12921         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
12922         * sysdeps/x86_64/dl-procinfo.c: Likewise.
12923         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
12924         Assume USE_MULTIARCH is defined and don't check it.
12925         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
12926         (is_amd): Likewise.
12927         (max_cpuid): Likewise.
12928         (intel_check_word): Likewise.
12929         (__cache_sysconf): Don't call __init_cpu_features.
12930         (__x86_preferred_memory_instruction): Removed.
12931         (init_cacheinfo): Don't call __init_cpu_features. Replace
12932         __cpu_features with GLRO(dl_x86_cpu_features).
12933         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
12934         (dl_platform_init): Call init_cpu_features.
12935         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
12936         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
12937         * sysdeps/x86_64/multiarch/Versions: Removed.
12938         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
12939         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
12940         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
12941         Removed.
12942         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
12944 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12946         [BZ #18820]
12947         * libio/Makefile (test-fmemopen-mem): New test.
12948         * libio/test-fmemopen.c (do_bz18820): New test.
12949         * libio/fmemopen.c (__fmemopen): Fix memory leak.
12950         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
12952 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12954         [BZ #16734]
12955         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
12956         (FREE_BUF): Delete.
12957         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
12958         * libio/genops.c (_IO_setb): Use malloc and free directly.
12959         (_IO_default_doallocate, _IO_default_finish): Likewise.
12960         ( _IO_unbuffer_all): Likewise.
12961         ( libc_freeres_fn): Likewise.
12962         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12963         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12964         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
12965         (_IO_wdefault_doallocate): Likewise.
12967 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12969         [BZ #18086]
12970         * sysdeps/posix/nice.c (nice): Restore old errno.
12971         * posix/tst-nice.c (do_test): Add test for BZ #18086.
12973 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
12975         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
12977 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12979         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
12980         __bcopy and add a weak_alias to bcopy.
12981         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
12982         for static build.
12984         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
12985         cleanup macro usage.
12986         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
12987         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
12988         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12989         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
12990         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12991         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
12992         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
12993         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
12994         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12995         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
12996         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12997         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
12998         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12999         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
13000         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13001         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
13002         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
13003         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
13004         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
13006         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
13007         libc_hidden_def.
13008         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
13010         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
13011         (sysdep_routines): Add strstr-ppc64.
13012         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
13014 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
13016         [BZ #18778]
13017         * elf/Makefile (tests): Add Add tst-nodelete2.
13018         (modules-names): Add tst-nodelete2mod.
13019         (tst-nodelete2mod.so-no-z-defs): New.
13020         ($(objpfx)tst-nodelete2): Likewise.
13021         ($(objpfx)tst-nodelete2.out): Likewise.
13022         (LDFLAGS-tst-nodelete2): Likewise.
13023         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
13024         out of loop through all loaded libraries.
13025         * elf/tst-nodelete2.c: New file.
13026         * elf/tst-nodelete2mod.c: Likewise.
13027         * elf/tst-znodelete-zlib.cc: Delete.
13029 2015-08-11  Andreas Schwab  <schwab@suse.de>
13031         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
13032         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
13033         (__openat64_nocancel): Likewise.
13035 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
13037         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
13038         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
13039         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
13040         * math/auto-libm-test-out: Regenerated.
13041         * sysdeps/i386/fpu/libm-test-ulps: Update.
13042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13044 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
13046         [BZ #18790]
13047         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
13048         threshold for returning +/- 1.
13049         * math/auto-libm-test-in: Add more tests of tanh.
13050         * math/auto-libm-test-out: Regenerated.
13051         * sysdeps/i386/fpu/libm-test-ulps: Update.
13053 2015-08-10  Andreas Schwab  <schwab@suse.de>
13055         [BZ #18781]
13056         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
13057         MORE_OFLAGS to oflag.
13058         * io/test-lfs.c (do_test): Test openat64.
13060 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
13062         [BZ #18789]
13063         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
13064         smaller threshold for returning the argument.
13065         * math/auto-libm-test-in: Add more tests of sinh.
13066         * math/auto-libm-test-out: Regenerated.
13067         * sysdeps/i386/fpu/libm-test-ulps: Update.
13069 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
13071         [BZ #18674]
13072         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
13073         break.
13075 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
13077         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
13078         (generated): Don't add $(addprefix z.,$(tzfiles)).
13080 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13082         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
13083         * scripts/sysd-rules.awk: Likewise.
13085 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13087         * iconvdata/tst-tables.sh: Change echo -n to printf.
13088         * nss/db-Makefile: Likewise.
13089         * posix/tst-getconf.sh: Likewise.
13090         * stdio-common/tst-unbputc.sh: Likewise.
13092 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13094         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
13095         MADV_*_PAGES defines behind this feature check.
13097 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
13099         [BZ #18480]
13100         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
13101         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
13102         Define.
13103         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
13104         LOAD_REGS_5, LOAD_REGS_6): Update.
13105         (INTERNAL_SYSCALL): Update using new LOAD defines.
13106         (INTERNAL_SYSCALL_NCS): Likewise.
13107         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
13109 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13111         [BZ #16734]
13112         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
13114 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13116         [BZ #17905]
13117         * catgets/Makefile (tst-catgets-mem): New test.
13118         * catgets/catgets.c (catopen): Don't use unbounded alloca.
13119         * catgets/open_catalog.c (__open_catalog): Likewise.
13120         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
13122 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
13124         [BZ #18787]
13125         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
13126         clobber registers.
13127         (atomic_compare_and_exchange_val_acq): Use register asms to assign
13128         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
13129         Cast return to __typeof (oldval).
13131 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
13133         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
13134         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
13135         and delete sys/syscall.h include.
13137 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
13139         [BZ #16517]
13140         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
13141         (tan): Force underflow exception for arguments with small absolute
13142         value.
13143         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
13144         (__kernel_tanf): Force underflow exception for arguments with
13145         small absolute value.
13146         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
13147         (__kernel_tanl): Force underflow exception for arguments with
13148         small absolute value.
13149         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
13150         (__kernel_tanl): Force underflow exception for arguments with
13151         small absolute value.
13152         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
13153         (__kernel_tanl): Force underflow exception for arguments with
13154         small absolute value.
13155         * math/auto-libm-test-in: Add more tests of tan.
13156         * math/auto-libm-test-out: Regenerated.
13158 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13160         Fix sysdeps/i386/fpu/s_scalbn.S build
13162         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
13164 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
13166         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
13168 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13170         Fix gcrt0.o compilation
13172         When static-start-installed-name is different from
13173         start-installed-name, we must not use the shared objects.
13175         * csu/Makefile
13176         (extra-objs): Add gmon-start.o when building shared library and
13177         $(static-start-installed-name) is different from
13178         $(start-installed-name).
13179         $(objpfx)g$(static-start-installed-name): When building shared
13180         library and $(static-start-installed-name) is different from
13181         $(static-start-installed-name), revert to non-shared rule,
13182         i.e. using $(objpfx)% and gmon-start.o.
13184 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
13186         [BZ #16519]
13187         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
13188         (__ieee754_sinh): Force underflow exception for arguments with
13189         small absolute value.
13190         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
13191         (__ieee754_sinhf): Force underflow exception for arguments with
13192         small absolute value.
13193         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
13194         (__ieee754_sinhl): Force underflow exception for arguments with
13195         small absolute value.
13196         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
13197         (__ieee754_sinhl): Force underflow exception for arguments with
13198         small absolute value.
13199         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
13200         (__ieee754_sinhl): Force underflow exception for arguments with
13201         small absolute value.
13202         * math/auto-libm-test-in: Add more tests of sinh.
13203         * math/auto-libm-test-out: Regenerated.
13204         * sysdeps/i386/fpu/libm-test-ulps: Update.
13206 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13208         * libio/oldfileops.c: Include unistd.h.
13210 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
13212         * stdlib/isomac.c: Include ctype.h.
13214 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
13216         * dirent/tst-seekdir.c (main): Converted to ...
13217         (do_test): ... this.
13218         (TEST_FUNCTION): New macro.
13219         Include test-skeleton.c.
13220         * elf/tst-dlmodcount.c (main): Converted to ...
13221         (do_test): ... this.
13222         (TEST_FUNCTION): New macro.
13223         Include test-skeleton.c.
13224         * elf/tst-order-main.c (main): Converted to ...
13225         (do_test): ... this.
13226         (TEST_FUNCTION): New macro.
13227         Include test-skeleton.c.
13228         * elf/tst-pie2.c (main): Converted to ...
13229         (do_test): ... this.
13230         (TEST_FUNCTION): New macro.
13231         Include test-skeleton.c.
13232         * inet/tst-ether_aton.c (main): Converted to ...
13233         (do_test): ... this.
13234         (TEST_FUNCTION): New macro.
13235         Include test-skeleton.c.
13236         * misc/tst-mntent.c (main): Converted to ...
13237         (do_test): ... this.
13238         (TEST_FUNCTION): New macro.
13239         Include test-skeleton.c.
13240         * misc/tst-tsearch.c (main): Converted to ...
13241         (do_test): ... this.
13242         (TEST_FUNCTION): New macro.
13243         Include test-skeleton.c.
13244         * posix/tst-regexloc.c (main): Converted to ...
13245         (do_test): ... this.
13246         (TEST_FUNCTION): New macro.
13247         Include test-skeleton.c.
13248         * resolv/tst-aton.c (main): Converted to ...
13249         (do_test): ... this.
13250         (TEST_FUNCTION): New macro.
13251         Include test-skeleton.c.
13252         * stdio-common/test-fwrite.c (main): Converted to ...
13253         (do_test): ... this.
13254         (TEST_FUNCTION): New macro.
13255         Include test-skeleton.c.
13256         * stdio-common/tst-ferror.c (main): Converted to ...
13257         (do_test): ... this.
13258         (TEST_FUNCTION): New macro.
13259         Include test-skeleton.c.
13260         * stdio-common/tst-printf.c (main): Converted to ...
13261         (do_test): ... this.
13262         (TEST_FUNCTION): New macro.
13263         Include test-skeleton.c.
13264         * stdio-common/tst-printfsz.c (main): Converted to ...
13265         (do_test): ... this.
13266         (TEST_FUNCTION): New macro.
13267         Include test-skeleton.c.
13268         * stdlib/tst-strtod.c (main): Converted to ...
13269         (do_test): ... this.
13270         (TEST_FUNCTION): New macro.
13271         Include test-skeleton.c.
13272         * string/tst-strlen.c (main): Converted to ...
13273         (do_test): ... this.
13274         (TEST_FUNCTION): New macro.
13275         Include test-skeleton.c.
13276         * string/tst-svc.c (main): Converted to ...
13277         (do_test): ... this.
13278         (TEST_FUNCTION): New macro.
13279         Include test-skeleton.c.
13280         * time/tst-strptime.c (main): Converted to ...
13281         (do_test): ... this.
13282         (TEST_FUNCTION): New macro.
13283         Include test-skeleton.c.
13284         * timezone/tst-timezone.c (main): Converted to ...
13285         (do_test): ... this.
13286         (TEST_FUNCTION): New macro.
13287         Include test-skeleton.c.
13289 2015-08-05  Zack Weinberg  <zackw@panix.com>
13291         * misc/regexp.h: Update comments.
13293 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
13295         [BZ #18635]
13296         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
13297         before return label.
13299 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13301         [BZ #18661]
13302         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
13303         when calling __errno_location.
13304         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
13305         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
13307 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13309         [BZ #18661]
13310         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
13311         (__lll_timedwait_tid): Align stack to 16 bytes when calling
13312         __gettimeofday.
13314 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13316         [BZ #18661]
13317         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13318         (__start_context): Don't use pop to restore %rdi so that stack
13319         is aligned to 16 bytes when calling __setcontext.
13321 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13323         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
13324         only for libc.
13325         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13327 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13329         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
13330         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
13331         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
13333 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13335         * string/memccpy.c (memccpy):
13336         Improve performance by using memchr/memcpy/__mempcpy.
13338 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13340         * string/strncpy.c (strncpy):
13341         Improve performance by using __strnlen/memcpy.
13343 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13345         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13346         Optimize to avoid an unnecessary FPCR read.
13348 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13350         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
13351         Optimize to reduce FPCR/FPSR accesses.
13353 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13355         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
13356         dead->data[category] != NULL.
13358 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
13360         [BZ #18647]
13361         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
13362         and |x| close to 1, use absolute value of x when computing log.
13363         * math/auto-libm-test-in: Add more tests of pow.
13364         * math/auto-libm-test-out: Regenerated.
13366 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13368         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
13369         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
13370         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
13372 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
13374         [BZ #18525]
13375         * locales/km_KH: Remove timezone definition.
13376         * locales/lo_LA: Likewise.
13377         * locales/my_MM: Likewise.
13378         * locales/nan_TW@latin: Likewise.
13379         * locales/th_TH: Likewise.
13380         * locales/uk_UA: Likewise.
13382 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
13384         [BZ #18265]
13385         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
13386         (wcsncat): Likewise.
13387         (wcscmp): Likewise.
13388         (wcsncmp): Likewise.
13390 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13392         * test-skeleton.c (usage): New function.
13393         (main): Call usage when opt is '?'.
13395 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13397         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
13398         before first use.
13400 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13402         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
13403         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
13404         in there too.
13406 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
13408         * version.h (RELEASE): Set to "development".
13409         (VERSION): Set to "2.22.90"
13411         * version.h (RELEASE): Set to "stable".
13412         (VERSION): Set to "2.22"
13413         * include/features.h (__GLIBC_MINOR__): Set to 22.
13415 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
13417         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
13418         Restructure macro to avoid "value computed is not used" warning.
13419         (atomic_compare_and_exchange_val_acq): Likewise.
13421 2015-08-04  Andreas Schwab  <schwab@suse.de>
13423         [BZ #18635]
13424         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
13425         ret.
13426         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
13428 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
13430         * po/pl.po: Updated translation.
13431         * po/uk.po: Likewise.
13432         * po/fi.po: Likewise.
13433         * po/ko.po: Likewise.
13434         * po/ru.po: Likewise.
13435         * po/vi.po: Likewise.
13437 2015-07-31  Zack Weinberg  <zackw@panix.com>
13439         [BZ #18681]
13440         * regexp.h: Add unconditional #warning stating that this header
13441         will be removed soon.  Revise banner comment to match.
13442         (compile): Consistently use ERROR instead of RETURN to report
13443         errors (partial fix for bz#18681).
13444         * regexp.c: Don't include regexp.h. Remove some unnecessary
13445         declarations.
13447 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
13449         * po/libc.pot: Regenerated.
13451 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
13453         [BZ #18740]
13454         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
13455         float-vlen4-arch-ext-cflags): Removed.
13456         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
13457         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
13459 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13461         [BZ #14113]
13462         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
13463         aligned to __aligned__.
13464         (pthread_cond_t, pthread_rwlock_t): Likewise.
13466 2015-07-30  Torvald Riegel  <triegel@redhat.com>
13468         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
13470 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13472         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
13473         (struct sigaction): Change sa_flags from a long to an int, and add
13474         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
13476 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13478         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
13479         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
13480         sysdeps/generic/sysdep.h include.
13481         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
13482         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
13483         sysdeps/hppa/sysdep.h.
13484         (ENTRY, PSEUDO): Undefine before defining.
13486 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13488         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
13489         from scratch to use INTERNAL_SYSCALL.
13491 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
13493         [BZ #18078]
13494         * scripts/check-localplt.awk: Support alternate relocations.
13495         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
13496         sections.
13497         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
13498         malloc entries with + REL R_386_GLOB_DAT.
13499         * sysdeps/x86_64/localplt.data: New file.
13501 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
13503         [BZ #18731]
13504         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
13505         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13506         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13508 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13510         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
13512 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13514         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
13515         directly in terms of __sync_fetch_and_add and delete (int) cast.
13517 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13519         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
13520         the -D_ASM_IA64_CURRENT_H flag.
13522 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13524         [BZ #18641]
13525         * pwd/pwd.h (putpwent): Delete __nonnull markings.
13527 2015-07-27  Andreas Schwab  <schwab@suse.de>
13529         * conform/conformtest.pl (checknamespace): Filter out string
13530         literals while tokenizing.
13532 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
13534         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13535         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
13536         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13538 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
13540         * nptl/tst-join7mod.c: Add #include <string.h>.
13542 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
13544         * sysdeps/nios2/libm-test-ulps: Update.
13546 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
13548         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
13549         Fix order of arguments to the rt_sigprocmask syscall.
13550         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
13551         Likewise.
13553 2015-07-24  Roland McGrath  <roland@hack.frob.com>
13555         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
13557 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13559         [BZ #18457]
13560         * nptl/Makefile (tests): New test case tst-join7.
13561         (modules-names): New test case module tst-join7mod.
13562         * nptl/tst-join7.c: New file.
13563         * nptl/tst-join7mod.c: New file.
13564         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
13565         all translation units in libc.so, libpthread.so and rtld.
13567 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13571 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
13573         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
13574         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13575         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13576         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13577         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13578         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13579         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13580         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13581         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13582         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13583         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13584         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13585         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
13586         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
13587         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
13588         implementation.
13590 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13592         [BZ #17711]
13593         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13594         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
13595         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13596         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13597         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
13598         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13600 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13602         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
13603         instead of just saying load lock in the comments.
13605 2015-07-23  Roland McGrath  <roland@hack.frob.com>
13607         * sysdeps/unix/Subdirs: Moved ...
13608         * sysdeps/posix/Subdirs: ... here.
13609         * login/pty.h (struct termios, struct winsize): Add forward decls.
13610         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
13611         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
13612         * sysdeps/arm/nacl/libc.abilist: Updated.
13613         * sysdeps/nacl/libutil.abilist: New file.
13615         * bits/signum.h: Update comments to mention 1003.1-2013 too.
13616         (SIGWINCH): New macro.
13618         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
13619         * sysdeps/arm/nacl/libc.abilist: Add it.
13621 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13623         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
13625 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13627         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13628         Swap __glibc_reserved0 and sa_flags order.
13630 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13632         [BZ #18657]
13633         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
13634         are pending TLS destructor calls.
13635         * include/link.h (struct link_map): Add concurrency note for
13636         L_TLS_DTOR_COUNT.
13637         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13638         Don't touch the link map flag.  Atomically increment
13639         l_tls_dtor_count.
13640         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
13641         Avoid taking the load lock and don't touch the link map flag.
13642         * stdlib/tst-tls-atexit-nodelete.c: New test case.
13643         * stdlib/Makefile (tests): Use it.
13644         * stdlib/tst-tls-atexit.c (do_test): dlopen
13645         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
13646         to allow tst-tls-atexit-nodelete test case to use it.
13648 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13650         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
13651         to bits/types.h.
13652         (msgqnum_t): New typedef.
13653         (msglen_t): Likewise.
13654         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
13655         and msg_qbytes type to msglen_t.
13657 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13659         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
13660         pad0 to __glibc_reserved0.
13661         (struct stat64): Likewise.
13663 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13665         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13666         Change sa_flags from a long to an int and add __glibc_reserved0 before
13667         it for padding.
13669 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13671         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
13672         anonymous by deleting "siginfo" name.
13674 2015-07-21  Roland McGrath  <roland@hack.frob.com>
13676         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
13677         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
13678         rather than __nacl_irt_filename.
13679         * sysdeps/nacl/xstat.c (__xstat): Likewise.
13681         * NEWS: New item for arm-nacl port.
13682         * sysdeps/arm/nacl/libc.abilist: New file.
13683         * sysdeps/nacl/ld.abilist: New file.
13684         * sysdeps/nacl/libBrokenLocale.abilist: New file.
13685         * sysdeps/nacl/libanl.abilist: New file.
13686         * sysdeps/nacl/libcrypt.abilist: New file.
13687         * sysdeps/nacl/libdl.abilist: New file.
13688         * sysdeps/nacl/libm.abilist: New file.
13689         * sysdeps/nacl/libpthread.abilist: New file.
13690         * sysdeps/nacl/libresolv.abilist: New file.
13691         * sysdeps/nacl/librt.abilist: New file.
13693 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
13695         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
13696         __startcontext to initialize the new context.
13697         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
13698         up CFI directive to forbid further backtracing.
13700 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
13702         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
13703         reference.
13704         * charmaps/ANSI_X3.4-1968: Likewise.
13705         * charmaps/BS_4730: Likewise.
13706         * charmaps/BS_VIEWDATA: Likewise.
13707         * charmaps/CP1250: Likewise.
13708         * charmaps/CP1251: Likewise.
13709         * charmaps/CP1252: Likewise.
13710         * charmaps/CP1253: Likewise.
13711         * charmaps/CP1254: Likewise.
13712         * charmaps/CP1255: Likewise.
13713         * charmaps/CP1256: Likewise.
13714         * charmaps/CSN_369103: Likewise.
13715         * charmaps/EBCDIC-DK-NO: Likewise.
13716         * charmaps/GB_1988-80: Likewise.
13717         * charmaps/GREEK-CCITT: Likewise.
13718         * charmaps/GREEK7: Likewise.
13719         * charmaps/INIS-8: Likewise.
13720         * charmaps/ISIRI-3342: Likewise.
13721         * charmaps/ISO_2033-1983: Likewise.
13722         * charmaps/ISO_5427-EXT: Likewise.
13723         * locales/POSIX: Likewise.
13724         * locales/ar_SA: Likewise.
13725         * locales/be_BY: Likewise.
13726         * locales/be_BY@latin: Likewise.
13727         * locales/ca_ES: Likewise.
13728         * locales/cs_CZ: Likewise.
13729         * locales/da_DK: Likewise.
13730         * locales/de_BE: Likewise.
13731         * locales/de_CH: Likewise.
13732         * locales/de_LU: Likewise.
13733         * locales/en_AU: Likewise.
13734         * locales/en_BW: Likewise.
13735         * locales/en_CA: Likewise.
13736         * locales/en_DK: Likewise.
13737         * locales/en_GB: Likewise.
13738         * locales/en_IE: Likewise.
13739         * locales/en_NZ: Likewise.
13740         * locales/en_ZA: Likewise.
13741         * locales/en_ZW: Likewise.
13742         * locales/es_AR: Likewise.
13743         * locales/es_BO: Likewise.
13744         * locales/es_CL: Likewise.
13745         * locales/es_CO: Likewise.
13746         * locales/es_DO: Likewise.
13747         * locales/es_EC: Likewise.
13748         * locales/es_ES: Likewise.
13749         * locales/es_HN: Likewise.
13750         * locales/es_MX: Likewise.
13751         * locales/es_PA: Likewise.
13752         * locales/es_PE: Likewise.
13753         * locales/es_PY: Likewise.
13754         * locales/es_SV: Likewise.
13755         * locales/es_US: Likewise.
13756         * locales/es_UY: Likewise.
13757         * locales/es_VE: Likewise.
13758         * locales/et_EE: Likewise.
13759         * locales/fa_IR: Likewise.
13760         * locales/fo_FO: Likewise.
13761         * locales/fr_CA: Likewise.
13762         * locales/fr_CH: Likewise.
13763         * locales/gv_GB: Likewise.
13764         * locales/he_IL: Likewise.
13765         * locales/hr_HR: Likewise.
13766         * locales/id_ID: Likewise.
13767         * locales/is_IS: Likewise.
13768         * locales/it_CH: Likewise.
13769         * locales/iw_IL: Likewise.
13770         * locales/kl_GL: Likewise.
13771         * locales/ko_KR: Likewise.
13772         * locales/kw_GB: Likewise.
13773         * locales/lg_UG: Likewise.
13774         * locales/lt_LT: Likewise.
13775         * locales/lv_LV: Likewise.
13776         * locales/mi_NZ: Likewise.
13777         * locales/nhn_MX: Likewise.
13778         * locales/nl_BE: Likewise.
13779         * locales/pl_PL: Likewise.
13780         * locales/sk_SK: Likewise.
13781         * locales/sl_SI: Likewise.
13782         * locales/sv_FI: Likewise.
13783         * locales/tl_PH: Likewise.
13784         * locales/tr_TR: Likewise.
13785         * locales/vi_VN: Likewise.
13787 2015-07-21  Khem Raj  <raj.khem@gmail.com>
13789         [BZ #17475]
13790         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
13791         of tu_IN and bh_IN.
13793 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
13795         [BZ #18694]
13796         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
13797         bits/wordsize.h.
13798         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
13800 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13802         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
13803         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
13804         (spawn_thread): New function.
13805         (load): Rename to reg_dtor_and_close.  Move dlopen to...
13806         (do_test): ... here.  Use IS_LOADED to test for its
13807         availability.
13809 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
13811         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13813 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
13815         [BZ #18696]
13816         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
13817         si_addr_bnd.
13818         (si_lower): New.
13819         (si_upper): Likewise.
13821 2015-07-16  David S. Miller  <davem@davemloft.net>
13823         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
13825 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13827         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
13828         buffer.
13829         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
13830         fail output information.
13832 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13834         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
13835         and strstr-ppc64..
13836         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13837         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
13838         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
13839         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
13840         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
13842 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
13844         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
13845         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13846         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
13847         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13849 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
13851         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
13852         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
13853         rtld_hidden_proto.
13854         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
13856 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13858         * tst-nodelete-opened.c (do_test): Add comment to clarify how
13859         the test can fail.
13861         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
13863         [BZ #18676]
13864         * elf/tst-nodelete-opened.c: New test case.
13865         * elf/tst-nodelete-opened-lib.c: New test case module.
13866         * elf/Makefile (tests, modules-names): Use them.
13867         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
13868         early.
13870 2015-07-15  David S. Miller  <davem@davemloft.net>
13872         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
13873         futex-intenal.h
13874         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
13875         * sysdeps/sparc/sparc64/Makefile: Likewise.
13876         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
13877         Remove space from macro define.
13878         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
13880 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
13882         [BZ #17475]
13883         * locale/iso-639.def: Update Bhili and Tulu language codes as
13884         per iso639-3.
13886 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
13888         * elf/tst-leaks1.c (main): Converted to ...
13889         (do_test): ... this.
13890         (TEST_FUNCTION): New macro.
13891         Include test-skeleton.c.
13892         * localedata/tst-langinfo.c (main): Converted to ...
13893         (do_test): ... this.
13894         (TEST_FUNCTION): New macro.
13895         Include test-skeleton.c.
13896         * math/test-fpucw.c (main): Converted to ...
13897         (do_test): ... this.
13898         (TEST_FUNCTION): New macro.
13899         Include test-skeleton.c.
13900         * math/test-tgmath.c (main): Converted to ...
13901         (do_test): ... this.
13902         (TEST_FUNCTION): New macro.
13903         Include test-skeleton.c.
13904         * math/test-tgmath2.c (main): Converted to ...
13905         (do_test): ... this.
13906         (TEST_FUNCTION): New macro.
13907         Include test-skeleton.c.
13908         * setjmp/tst-setjmp.c (main): Converted to ...
13909         (do_test): ... this.
13910         (TEST_FUNCTION): New macro.
13911         Include test-skeleton.c.
13912         * stdio-common/tst-sscanf.c (main): Converted to ...
13913         (do_test): ... this.
13914         (TEST_FUNCTION): New macro.
13915         Include test-skeleton.c.
13916         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
13917         (do_test): ... this.
13918         (TEST_FUNCTION): New macro.
13919         Include test-skeleton.c.
13921         * elf/tst-audit9.c (main): Converted to ...
13922         (do_test): ... this.
13923         (TEST_FUNCTION): New macro.
13924         Include test-skeleton.c.
13926 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
13928         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
13930 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13932         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
13933         New variable.
13935 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13937         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13939 2015-07-14  Roland McGrath  <roland@hack.frob.com>
13941         * sysdeps/generic/dl-fileid.h: New file.
13942         * sysdeps/posix/dl-fileid.h: New file.
13943         * sysdeps/nacl/dl-fileid.h: New file.
13944         * include/link.h: Include <dl-fileid.h>.
13945         (struct link_map): Replace l_dev and l_ino with l_file_id.
13946         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
13947         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
13948         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
13950 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13952         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
13954 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13956         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
13957         Add iff $CXX is set.
13958         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
13959         Likewise.
13960         (tst-nodelete-zmodiff): Likewise.
13961         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
13963 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13965         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
13967 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
13969         * sysdeps/aarch64/fpu/math_private.h
13970         (define math_opt_barrier): Add AArch64 version.
13971         (math_force_eval): Likewise.
13973 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
13975         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
13977 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
13979         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
13980         %ld with %jd and cast to intmax_t.
13981         (do_test_length_zero): Likewise.
13983 2015-07-10  Roland McGrath  <roland@hack.frob.com>
13985         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
13987 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
13989         * sysdeps/tile/libm-test-ulps: Regenerated.
13991         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
13992         Comment out the whole function, not just its body.
13994 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13996         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
13997         locks.
13999         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
14001 2015-07-10  Torvald Riegel  <triegel@redhat.com>
14003         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
14004         (sem_assume_only_signals_cause_futex_EINTR): Remove.
14006 2015-07-10  Torvald Riegel  <triegel@redhat.com>
14008         * sysdeps/nptl/futex-internal.h: New file.
14009         * sysdeps/nacl/futex-internal.h: New file.
14010         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
14011         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
14012         error checking.
14013         (setxid_unmark_thread): Likewise.
14014         (__nptl_setxid): Likewise.
14015         (__wait_lookup_done): Likewise.
14016         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
14017         * nptl/nptl-init.c (sighandler_setxid): Likewise.
14018         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
14019         * nptl/pthread_once.c (clear_once_control): Likewise.
14020         (__pthread_once_slow): Likewise.
14021         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
14022         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
14023         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
14024         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14025         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
14026         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
14027         Likewise.
14028         (__pthread_rwlock_rdlock): Likewise.
14029         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14030         Likewise.
14031         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14032         Likewise.
14033         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
14034         Likewise.
14035         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
14036         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
14037         Likewise.
14038         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
14039         __ASSUME_PRIVATE_FUTEX check.
14040         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
14041         Check that shared futexes are supported.
14042         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
14043         wrappers with error checking.
14044         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
14045         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
14046         * nptl/pthread_barrierattr_setpshared.c
14047         (pthread_barrierattr_setpshared): Check that shared futexes are
14048         supported.
14049         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
14050         Likewise.
14051         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
14052         Likewise.
14053         * nptl/sem_init.c (futex_private_if_supported): Remove.
14054         (__new_sem_init): Adapt and check that shared futexes are supported.
14055         * nptl/sem_open.c (sem_open): Likewise.
14056         * nptl/sem_post.c (futex_wake): Remove.
14057         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
14058         (do_futex_wait): Use futex wrappers with error checking.
14059         * nptl/sem_wait.c: Include lowlevellock.h.
14060         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
14061         Use futex_supports_pshared.
14062         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
14063         Use futex wrappers with error checking.
14064         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
14065         Likewise.
14066         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
14067         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
14068         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
14069         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
14070         (futex_wake): Likewise.
14071         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
14072         (do_futex_wait): Use futex wrappers with error checking.
14073         (__new_sem_wait_slow): Update EINTR handling.
14074         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
14076 2015-07-09  Martin Sebor  <msebor@redhat.com>
14078         [BZ #18435]
14079         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
14080         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
14081         * nptl/Makefile (test-xfail-tst-once5): Define.
14083 2015-07-09  Roland McGrath  <roland@hack.frob.com>
14085         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
14086         * elf/dl-minimal.c: For readability, reorder some definitions and
14087         introduce more page breaks.  Include <stdio.h>.
14088         (__libc_fatal): New function.
14090         * include/unistd.h: Add rtld_hidden_proto for _exit.
14091         * posix/_exit.c: Add rtld_hidden_def.
14092         * sysdeps/mach/hurd/_exit.c: Likewise.
14093         * sysdeps/nacl/_exit.c: Likewise.
14094         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
14095         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
14097 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
14099         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
14100         bndmov encoding with zero displacement.
14102 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
14103             H.J. Lu  <hongjiu.lu@intel.com>
14105         [BZ #18134]
14106         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
14107         * sysdeps/i386/configure: Regenerated.
14108         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
14109         (_dl_runtime_profile): Save and restore Intel MPX return bound
14110         registers when calling _dl_call_pltexit.  Add
14111         PRESERVE_BND_REGS_PREFIX before return.
14112         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
14113         (LRV_BND1_OFFSET): Likewise.
14114         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
14115         lrv_bnd1.
14116         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
14117         typo in bndmov encoding.
14118         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
14119         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
14120         branch instructions to preserve bounds.
14122 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
14125         [GLIBC_2.22]: Add fmemopen.
14127 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14129         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
14130         returns an error, also try to use host port from __mach_host_self for
14131         the __vm_wire call.
14132         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
14134 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14136         [BZ #18400]
14137         [BZ #18648]
14138         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
14139         Fix pr_uid and pr_gid members.
14140         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
14141         definition to elf_greg_t.
14143 2015-07-08  Roland McGrath  <roland@hack.frob.com>
14145         [BZ #18383]
14146         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
14147         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
14148         * sysdeps/arm/configure: Regenerated.
14149         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
14150         (test-xfail-tst-tlsalign-static): Variable removed.
14152         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
14153         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
14154         rather than explicit 'ln -s'.
14156         * resolv/rpc/netdb.h: New file.
14157         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
14159 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14161         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
14162         length buffers.
14163         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
14164         test-skeleton.c.
14166         [BZ #6544]
14167         [BZ #11216]
14168         [BZ #12836]
14169         [BZ #13151]
14170         [BZ #13152]
14171         [BZ #14292]
14172         * include/stdio.h (fmemopen): Remove hidden prototype.
14173         (__fmemopen): Add new hidden prototype.
14174         * libio/Makefile: Add oldfmemopen object.
14175         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
14176         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
14177         compliance.
14178         * libio/oldfmemopen.c: New file: old fmemopen implementation for
14179         symbol compatibility.
14180         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
14181         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
14182         fmemopen.
14183         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
14184         on append and read mode.
14185         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
14186         fmemopen.
14187         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
14188         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
14189         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
14190         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
14191         Likewise.
14192         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
14193         [GLIBC_2.22]: Likewise.
14194         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
14195         Likewise.
14196         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
14197         Likewise.
14198         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
14199         [GLIBC_2.22]: Likewise.
14200         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
14201         [GLIBC_2.22]: Likewise.
14202         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
14203         [GLIBC_2.22]: Likewise.
14204         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
14205         [GLIBC_2.22]: Likewise.
14206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
14207         [GLIBC_2.22]: Likewise.
14208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
14209         [GLIBC_2.22]: Likewise.
14210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
14211         [GLIBC_2.22]: Likewise.
14212         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
14213         Likewise.
14214         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
14215         Likewise.
14216         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
14217         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
14218         [GLIBC_2.22]: Likewise.
14219         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
14220         [GLIBC_2.22]: Likewise.
14221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
14222         [GLIBC_2.22]: Likewise.
14223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
14224         [GLIBC_2.22]: Likewise.
14225         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
14226         Likewise.
14227         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
14228         Likewise.
14229         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
14230         Likewise.
14231         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
14232         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
14234 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
14236         [BZ #18643]
14237         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
14238         IPV6_PATHMTU, and IPV6_DONTFRAG.
14240 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
14242         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
14243         and _IO_UNBUFFERED.
14244         * libio/oldfileops.c: Likewise.
14245         * libio/wfileops.c: Likewise.
14247 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
14249         * nscd/selinux.c: Delete selinux/flask.h include.
14251 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
14253         [BZ #18641]
14254         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
14255         (putpwent): Likewise.
14256         (getpwnam): Likewise.
14257         (getpwent_r): Likewise.
14258         (getpwuid_r): Likewise.
14259         (getpwnam_r): Likewise.
14260         (fgetpwent_r): Likewise.
14262 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
14264         [BZ #18557]
14265         * inet/rcmd.c (__validuser2_sa): Check user first to
14266         short-circuit host check.
14268 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
14269             Mikhail Ilin  <m.ilin@samsung.com>
14271         [BZ #17833]
14272         * elf/Makefile (tests): Add tst-nodelete.
14273         (modules-names): Add tst-nodelete-uniquemod.
14274         (tst-nodelete-uniquemod.so-no-z-defs): New.
14275         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
14276         (tst-nodelete-zmod.so-no-z-defs): Likewise.
14277         ($(objpfx)tst-nodelete): Likewise.
14278         ($(objpfx)tst-nodelete.out): Likewise.
14279         (LDFLAGS-tst-nodelete): Likewise.
14280         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
14281         * elf/dl-close.c (_dl_close_worker): Add a parameter to
14282         implement forced object deletion.
14283         (_dl_close): Pass false to _dl_close_worker.
14284         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
14285         * elf/tst-nodelete.cc: New file.
14286         * elf/tst-nodeletelib.cc: Likewise.
14287         * elf/tst-znodeletelib.cc: Likewise.
14288         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
14290 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14292         [BZ #18508]
14293         * stdlib/Makefile ($(objpfx)tst-makecontext3):
14294         Depend on $(libdl).
14295         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
14296         is not called infinitely times.
14297         (backtrace_helper): New function.
14298         (trace_arg): New struct.
14299         (st1): Enlarge stack size.
14300         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14301         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
14302         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14303         Likewise.
14305 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14307         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14309 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14311         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
14312         Include sys/types.h instead of bits/types.h.
14313         Remove inclusion of bits/wordsize.h.
14315 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14317         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
14318         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
14319         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
14320         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
14321         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
14322         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
14324 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14326         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
14327         link-defines.sym.
14328         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
14329         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
14330         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
14331         and LR_SIZE.
14332         * sysdeps/i386/link-defines.sym: New file.
14334 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14336         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
14337         (modules-names): Add tst-auditmod3a tst-auditmod3b.
14338         ($(objpfx)tst-audit3): New rule.
14339         ($(objpfx)tst-audit3.out): Likewise.
14340         * sysdeps/i386/tst-audit3.c: New file.
14341         * sysdeps/i386/tst-audit3.h: Likewise.
14342         * sysdeps/i386/tst-auditmod3a.c: Likewise.
14343         * sysdeps/i386/tst-auditmod3b.c: Likewise.
14345 2015-07-07  Torvald Riegel  <triegel@redhat.com>
14347         [BZ #18633]
14348         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
14349         pointer in C code.
14350         (__strcat_c): Likewise.
14351         (__strcat_g): Likewise.
14353 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
14355         [BZ #18592]
14356         * misc/sbrk.c: Set errno to ENOMEM on overflow.
14358 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
14360         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
14361         New function.  (__ieee754_sqrtf): New function.
14362         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
14363         New function.
14364         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
14365         New function.
14367 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
14369         * sysdeps/ieee754/support.c: Remove unused file.
14371 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14373         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
14374         registers instead of d ones so the layout is kernel abi compatible.
14375         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
14376         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
14377         Likewise.
14379 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14381         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14383 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
14385         [BZ #18619]
14386         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
14387         and return argument in case of subnormal argument.
14389 2015-07-01  Martin Sebor  <msebor@redhat.com>
14391         [BZ #18435]
14392         * nptl/Makefile: Add tst-once5.cc.
14393         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
14394         Remove macro redefinitions.
14395         * nptl/tst-once5.cc: New test.
14397 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
14399         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14401         * sysdeps/arm/libm-test-ulps: Regenerated.
14403         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14404         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14406 2015-06-30  Torvald Riegel  <triegel@redhat.com>
14408         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
14409         lll_lock_wait_private and lll_futex_wake probes.
14411         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
14412         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
14413         Likewise.
14414         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
14415         atomic_spin_nop.
14416         * sysdeps/x86_64/bits/atomic.h: Likewise.
14417         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
14418         to atomic_spin_nop and move ...
14419         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
14420         ... here and ...
14421         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
14422         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
14423         atomic_spin_nop instead of BUSY_WAIT_NOP.
14424         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
14425         Likewise.
14426         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
14427         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
14428         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
14429         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
14430         instead of atomic_delay.
14432 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
14434         [BZ #18613]
14435         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
14436         X_ADJ not X when adjusting exponent.
14437         (__ieee754_gamma_r): Do intermediate computations in
14438         round-to-nearest then adjust overflowing and underflowing results
14439         as needed.
14440         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
14441         of X_ADJ not X when adjusting exponent.
14442         (__ieee754_gammaf_r): Do intermediate computations in
14443         round-to-nearest then adjust overflowing and underflowing results
14444         as needed.
14445         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
14446         log of X_ADJ not X when adjusting exponent.
14447         (__ieee754_gammal_r): Do intermediate computations in
14448         round-to-nearest then adjust overflowing and underflowing results
14449         as needed.  Use 1.0L not 1.0f as numerator of division.
14450         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
14451         log of X_ADJ not X when adjusting exponent.
14452         (__ieee754_gammal_r): Do intermediate computations in
14453         round-to-nearest then adjust overflowing and underflowing results
14454         as needed.  Use 1.0L not 1.0f as numerator of division.
14455         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
14456         of X_ADJ not X when adjusting exponent.
14457         (__ieee754_gammal_r): Do intermediate computations in
14458         round-to-nearest then adjust overflowing and underflowing results
14459         as needed.  Use 1.0L not 1.0f as numerator of division.
14460         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
14461         to auto-libm-test-in.
14462         (tgamma_test): Use ALL_RM_TEST.
14463         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
14464         tests of tgamma with spurious-overflow.
14465         * math/auto-libm-test-out: Regenerated.
14466         * math/gen-libm-have-vector-test.sh: Do not check for START.
14467         * sysdeps/i386/fpu/libm-test-ulps: Update.
14468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14470         [BZ #18612]
14471         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
14472         arguments, just return 0.5 times the argument, with underflow
14473         forced as needed.
14474         * math/auto-libm-test-in: Add more tests of j1.
14475         * math/auto-libm-test-out: Regenerated.
14477         [BZ #16559]
14478         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
14479         (__ieee754_j1): Force underflow exception for small results.
14480         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14481         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
14482         (__ieee754_j1f): Force underflow exception for small results.
14483         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14484         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14485         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14486         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
14487         (__ieee754_j1l): Force underflow exception for small results.
14488         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14489         * math/auto-libm-test-in: Add more tests of j1 and jn.
14490         * math/auto-libm-test-out: Regenerated.
14492         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
14493         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
14494         (PF_MPLS): Likewise.
14495         (AF_IB): Likewise.
14496         (AF_MPLS): Likewise.
14497         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
14498         value and macro.
14499         (MS_RMT_MASK): Include MS_LAZYTIME.
14501 2015-06-26  Mel Gorman  <mgorman@suse.de>
14503         [BZ #18502]
14504         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
14505         already minimal.
14507 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
14509         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
14510         (DT_MIPS_NUM): Update.
14511         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
14512         DT_MIPS_RLD_MAP_REL.
14514 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
14516         [BZ #16559]
14517         [BZ #18602]
14518         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
14519         round-to-nearest internally then recompute results that
14520         underflowed to zero in the original rounding mode.
14521         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14522         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14523         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14524         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14525         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
14526         * sysdeps/i386/fpu/libm-test-ulps: Update.
14527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14529 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
14531         * NEWS: Fixed description of link with vector math library.
14533 2015-06-25  Andreas Schwab  <schwab@suse.de>
14535         [BZ #18549]
14536         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
14537         * libio/test-fmemopen.c (do_test): Add test for it.
14539 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
14541         [BZ #17841]
14542         * Makeconfig (no-pie-ldflag): New.
14543         (+link): Set to $(+link-pie) if default to PIE.
14544         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
14545         * config.make.in (build-pie-default): New.
14546         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
14547         is default.  AC_SUBST.
14548         * configure: Regenerated.
14549         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
14551 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14553         * nptl/descr.h (struct pthread): Change type of field setxid_futex
14554         to 'unsigned int'.
14556         * resolv/gai_misc.h (struct waitlist): Change type of field
14557         counterp to 'volatile unsigned int *'.
14558         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
14559         FUTEXADDR and OLDVAL.
14560         * resolv/getaddrinfo_a.c (getaddrinfo_a):
14561         Give local variable TOTAL type 'volatile unsigned int'.
14562         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14563         * resolv/gai_suspend.c (gai_suspend):
14564         Give local variable CNTR type 'unsigned int'.
14566         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
14567         counterp to 'volatile unsigned int *'.
14568         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
14569         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
14570         (aio_suspend): Give local variable CNTR type 'unsigned int'.
14571         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
14572         Give local variable TOTAL type 'volatile unsigned int'.
14573         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14575 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14577         [BZ #18383]
14578         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
14579         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
14580         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
14581         comment for i386/x86-64.
14582         (test-xfail-tst-tlsalign-extern-static): Removed.
14584 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14586         * math/test-double.h: New file.
14587         * math/test-float.h: Likewise.
14588         * math/test-ldouble.h: Likewise.
14589         * math/test-math-inline.h: Likewise.
14590         * math/test-math-no-inline.h: Likewise.
14591         * math/test-math-scalar.h: Likewise.
14592         * math/test-math-vector.h: Likewise.
14593         * math/test-vec-loop.h: Remove file.  Contents moved into
14594         test-math-vector.h.
14595         * math/libm-test.inc (MATHCONST): Do not document macro.
14596         * math/test-double.c: Include test-double.h, test-math-no-inline.h
14597         and test-math-scalar.h.
14598         (FUNC): Remove macro.
14599         (FUNC_TEST): Likewise.
14600         (FLOAT): Likewise.
14601         (MATHCONST): Likewise.
14602         (PRINTF_EXPR): Likewise.
14603         (PRINTF_XEXPR): Likewise.
14604         (PRINTF_NEXPR): Likewise.
14605         (TEST_DOUBLE): Likewise.
14606         (TEST_MATHVEC): Likewise.
14607         (__NO_MATH_INLINES): Likewise.
14608         * math/test-float.c: Include test-float.h, test-math-no-inline.h
14609         and test-math-scalar.h.
14610         (FUNC): Remove macro.
14611         (FUNC_TEST): Likewise.
14612         (FLOAT): Likewise.
14613         (MATHCONST): Likewise.
14614         (PRINTF_EXPR): Likewise.
14615         (PRINTF_XEXPR): Likewise.
14616         (PRINTF_NEXPR): Likewise.
14617         (TEST_FLOAT): Likewise.
14618         (TEST_MATHVEC): Likewise.
14619         (__NO_MATH_INLINES): Likewise.
14620         * math/test-idouble.c: Include test-double.h, test-math-inline.h
14621         and test-math-scalar.h.
14622         (FUNC): Remove macro.
14623         (FUNC_TEST): Likewise.
14624         (FLOAT): Likewise.
14625         (MATHCONST): Likewise.
14626         (PRINTF_EXPR): Likewise.
14627         (PRINTF_XEXPR): Likewise.
14628         (PRINTF_NEXPR): Likewise.
14629         (TEST_DOUBLE): Likewise.
14630         (TEST_MATHVEC): Likewise.
14631         (TEST_INLINE): Likewise.
14632         (__NO_MATH_INLINES): Likewise.
14633         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
14634         test-math-scalar.h.
14635         (FUNC): Remove macro.
14636         (FUNC_TEST): Likewise.
14637         (FLOAT): Likewise.
14638         (MATHCONST): Likewise.
14639         (PRINTF_EXPR): Likewise.
14640         (PRINTF_XEXPR): Likewise.
14641         (PRINTF_NEXPR): Likewise.
14642         (TEST_FLOAT): Likewise.
14643         (TEST_MATHVEC): Likewise.
14644         (TEST_INLINE): Likewise.
14645         (__NO_MATH_INLINES): Likewise.
14646         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
14647         and test-math-scalar.h.
14648         (FUNC): Remove macro.
14649         (FUNC_TEST): Likewise.
14650         (FLOAT): Likewise.
14651         (MATHCONST): Likewise.
14652         (PRINTF_EXPR): Likewise.
14653         (PRINTF_XEXPR): Likewise.
14654         (PRINTF_NEXPR): Likewise.
14655         (TEST_LDOUBLE): Likewise.
14656         (TEST_MATHVEC): Likewise.
14657         (TEST_INLINE): Likewise.
14658         (__NO_MATH_INLINES): Likewise.
14659         * math/test-ldouble.c: Include test-ldouble.h,
14660         test-math-no-inline.h and test-math-scalar.h.
14661         (FUNC): Remove macro.
14662         (FUNC_TEST): Likewise.
14663         (FLOAT): Likewise.
14664         (MATHCONST): Likewise.
14665         (PRINTF_EXPR): Likewise.
14666         (PRINTF_XEXPR): Likewise.
14667         (PRINTF_NEXPR): Likewise.
14668         (TEST_LDOUBLE): Likewise.
14669         (TEST_MATHVEC): Likewise.
14670         (__NO_MATH_INLINES): Likewise.
14671         * math/test-double-vlen2.h: Include test-double.h,
14672         test-math-no-inline.h and test-math-vector.h.
14673         (FLOAT): Remove macro.
14674         (FUNC): Likewise.
14675         (MATHCONST): Likewise.
14676         (PRINTF_EXPR): Likewise.
14677         (PRINTF_XEXPR): Likewise.
14678         (PRINTF_NEXPR): Likewise.
14679         (TEST_DOUBLE): Likewise.
14680         (TEST_MATHVEC): Likewise.
14681         (__NO_MATH_INLINES): Likewise.
14682         (CNCT): Likewise.
14683         (CONCAT): Likewise.
14684         (WRAPPER_NAME): Likewise.
14685         (WRAPPER_DECL): Likewise.
14686         (WRAPPER_DECL_ff): Likewise.
14687         (WRAPPER_DECL_fFF): Likewise.
14688         (VECTOR_WRAPPER): Likewise.
14689         (VECTOR_WRAPPER_ff): Likewise.
14690         (VECTOR_WRAPPER_fFF): Likewise.
14691         (VEC_LEN): New macro.
14692         * math/test-double-vlen4.h: Include test-double.h,
14693         test-math-no-inline.h and test-math-vector.h.
14694         (FLOAT): Remove macro.
14695         (FUNC): Likewise.
14696         (MATHCONST): Likewise.
14697         (PRINTF_EXPR): Likewise.
14698         (PRINTF_XEXPR): Likewise.
14699         (PRINTF_NEXPR): Likewise.
14700         (TEST_DOUBLE): Likewise.
14701         (TEST_MATHVEC): Likewise.
14702         (__NO_MATH_INLINES): Likewise.
14703         (CNCT): Likewise.
14704         (CONCAT): Likewise.
14705         (WRAPPER_NAME): Likewise.
14706         (WRAPPER_DECL): Likewise.
14707         (WRAPPER_DECL_ff): Likewise.
14708         (WRAPPER_DECL_fFF): Likewise.
14709         (VECTOR_WRAPPER): Likewise.
14710         (VECTOR_WRAPPER_ff): Likewise.
14711         (VECTOR_WRAPPER_fFF): Likewise.
14712         (VEC_LEN): New macro.
14713         * math/test-double-vlen8.h: Include test-double.h,
14714         test-math-no-inline.h and test-math-vector.h.
14715         (FLOAT): Remove macro.
14716         (FUNC): Likewise.
14717         (MATHCONST): Likewise.
14718         (PRINTF_EXPR): Likewise.
14719         (PRINTF_XEXPR): Likewise.
14720         (PRINTF_NEXPR): Likewise.
14721         (TEST_DOUBLE): Likewise.
14722         (TEST_MATHVEC): Likewise.
14723         (__NO_MATH_INLINES): Likewise.
14724         (CNCT): Likewise.
14725         (CONCAT): Likewise.
14726         (WRAPPER_NAME): Likewise.
14727         (WRAPPER_DECL): Likewise.
14728         (WRAPPER_DECL_ff): Likewise.
14729         (WRAPPER_DECL_fFF): Likewise.
14730         (VECTOR_WRAPPER): Likewise.
14731         (VECTOR_WRAPPER_ff): Likewise.
14732         (VECTOR_WRAPPER_fFF): Likewise.
14733         (VEC_LEN): New macro.
14734         * math/test-float-vlen4.h: Include test-float.h,
14735         test-math-no-inline.h and test-math-vector.h.
14736         (FLOAT): Remove macro.
14737         (FUNC): Likewise.
14738         (MATHCONST): Likewise.
14739         (PRINTF_EXPR): Likewise.
14740         (PRINTF_XEXPR): Likewise.
14741         (PRINTF_NEXPR): Likewise.
14742         (TEST_FLOAT): Likewise.
14743         (TEST_MATHVEC): Likewise.
14744         (__NO_MATH_INLINES): Likewise.
14745         (CNCT): Likewise.
14746         (CONCAT): Likewise.
14747         (WRAPPER_NAME): Likewise.
14748         (WRAPPER_DECL): Likewise.
14749         (WRAPPER_DECL_ff): Likewise.
14750         (WRAPPER_DECL_fFF): Likewise.
14751         (VECTOR_WRAPPER): Likewise.
14752         (VECTOR_WRAPPER_ff): Likewise.
14753         (VECTOR_WRAPPER_fFF): Likewise.
14754         (VEC_LEN): New macro.
14755         * math/test-float-vlen8.h: Include test-float.h,
14756         test-math-no-inline.h and test-math-vector.h.
14757         (FLOAT): Remove macro.
14758         (FUNC): Likewise.
14759         (MATHCONST): Likewise.
14760         (PRINTF_EXPR): Likewise.
14761         (PRINTF_XEXPR): Likewise.
14762         (PRINTF_NEXPR): Likewise.
14763         (TEST_FLOAT): Likewise.
14764         (TEST_MATHVEC): Likewise.
14765         (__NO_MATH_INLINES): Likewise.
14766         (CNCT): Likewise.
14767         (CONCAT): Likewise.
14768         (WRAPPER_NAME): Likewise.
14769         (WRAPPER_DECL): Likewise.
14770         (WRAPPER_DECL_ff): Likewise.
14771         (WRAPPER_DECL_fFF): Likewise.
14772         (VECTOR_WRAPPER): Likewise.
14773         (VECTOR_WRAPPER_ff): Likewise.
14774         (VECTOR_WRAPPER_fFF): Likewise.
14775         (VEC_LEN): New macro.
14776         * math/test-float-vlen16.h: Include test-float.h,
14777         test-math-no-inline.h and test-math-vector.h.
14778         (FLOAT): Remove macro.
14779         (FUNC): Likewise.
14780         (MATHCONST): Likewise.
14781         (PRINTF_EXPR): Likewise.
14782         (PRINTF_XEXPR): Likewise.
14783         (PRINTF_NEXPR): Likewise.
14784         (TEST_FLOAT): Likewise.
14785         (TEST_MATHVEC): Likewise.
14786         (__NO_MATH_INLINES): Likewise.
14787         (CNCT): Likewise.
14788         (CONCAT): Likewise.
14789         (WRAPPER_NAME): Likewise.
14790         (WRAPPER_DECL): Likewise.
14791         (WRAPPER_DECL_ff): Likewise.
14792         (WRAPPER_DECL_fFF): Likewise.
14793         (VECTOR_WRAPPER): Likewise.
14794         (VECTOR_WRAPPER_ff): Likewise.
14795         (VECTOR_WRAPPER_fFF): Likewise.
14796         (VEC_LEN): New macro.
14797         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
14798         test-vec-loop.h.
14799         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14800         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14801         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14802         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14803         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14804         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14805         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
14807 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14809         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
14810         (__getlogin_r): ... this.
14812 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14814         [BZ #18594]
14815         * math/s_ccosh.c (__ccosh): Compare with least normal value
14816         instead of comparing class with FP_SUBNORMAL.
14817         * math/s_ccoshf.c (__ccoshf): Likewise.
14818         * math/s_ccoshl.c (__ccoshl): Likewise.
14819         * math/s_cexp.c (__cexp): Likewise.
14820         * math/s_cexpf.c (__cexpf): Likewise.
14821         * math/s_cexpl.c (__cexpl): Likewise.
14822         * math/s_csin.c (__csin): Likewise.
14823         * math/s_csinf.c (__csinf): Likewise.
14824         * math/s_csinh.c (__csinh): Likewise.
14825         * math/s_csinhf.c (__csinhf): Likewise.
14826         * math/s_csinhl.c (__csinhl): Likewise.
14827         * math/s_csinl.c (__csinl): Likewise.
14828         * math/s_ctan.c (__ctan): Likewise.
14829         * math/s_ctanf.c (__ctanf): Likewise.
14830         * math/s_ctanh.c (__ctanh): Likewise.
14831         * math/s_ctanhf.c (__ctanhf): Likewise.
14832         * math/s_ctanhl.c (__ctanhl): Likewise.
14833         * math/s_ctanl.c (__ctanl): Likewise.
14834         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
14835         csin, csinh, ctan and ctanh.
14836         * math/auto-libm-test-out: Regenerated.
14837         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
14838         * sysdeps/i386/fpu/libm-test-ulps: Update.
14839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14841 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14843         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
14844         return value is wrong, print the expected value too.
14846 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14848         [BZ #18585]
14849         * elf/readlib.c (is_gdb_python_file): New.
14850         (process_file): Don't issue errors on filenames with -gdb.py
14851         suffix.
14853 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14855         * math/auto-libm-test-in: Add more tests of csin and csinh.
14856         * math/auto-libm-test-out: Regenerated.
14857         * math/libm-test.inc (csin_test_data): Remove tests moved to
14858         auto-libm-test-in.
14859         (csinh_test_data): Likewise.
14861         [BZ #18593]
14862         * math/s_csin.c (__csin): Negate before rather than after possibly
14863         overflowing multiplication.
14864         * math/s_csinf.c (__csinf): Likewise.
14865         * math/s_csinh.c (__csinh): Likewise.
14866         * math/s_csinhf.c (__csinhf): Likewise.
14867         * math/s_csinhl.c (__csinhl): Likewise.
14868         * math/s_csinl.c (__csinl): Likewise.
14869         * math/auto-libm-test-in: Add some tests of csin and csinh.
14870         * math/auto-libm-test-out: Regenerated.
14871         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
14872         (csinh_test_data): Likewise.
14873         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14875         [BZ #18586]
14876         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
14877         underflow exception for small results.
14879 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
14881         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
14882         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
14883         variable and included header.
14884         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
14885         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
14886         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
14887         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
14888         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
14889         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
14890         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
14891         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
14892         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
14893         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
14894         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
14895         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
14896         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
14897         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
14898         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
14899         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
14901 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14903         [BZ #16526]
14904         [BZ #16538]
14905         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
14906         (__sin): Force underflow exception for arguments with small
14907         absolute value.
14908         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
14909         (__kernel_sinf): Force underflow exception for arguments with
14910         small absolute value.
14911         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
14912         (__kernel_sincosl): Force underflow exception for arguments with
14913         small absolute value.
14914         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
14915         (__kernel_sinl): Force underflow exception for arguments with
14916         small absolute value.
14917         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
14918         (__kernel_sincosl): Force underflow exception for arguments with
14919         small absolute value.
14920         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
14921         (__kernel_sinl): Force underflow exception for arguments with
14922         small absolute value.
14923         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
14924         (__kernel_sinl): Force underflow exception for arguments with
14925         small absolute value.
14926         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
14927         (__kernel_sinf): Force underflow exception for arguments with
14928         small absolute value.
14929         * math/auto-libm-test-in: Add more tests of sin and sincos.
14930         * math/auto-libm-test-out: Regenerated.
14932         [BZ #18245]
14933         [BZ #18583]
14934         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
14935         (__kernel_standard_l): Use feholdexcept and fesetenv around
14936         conversion to double instead of special-casing overflow and
14937         underflow.
14938         * math/libm-test.inc (fmod_test_data): Add more tests.
14939         (remainder_test_data): Likewise.
14940         (sqrt_test_data): Likewise.
14942 2015-06-23  Torvald Riegel  <triegel@redhat.com>
14944         [BZ #17403]
14945         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
14946         atomic_read_barrier, atomic_write_barrier): Define.
14947         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
14948         atomic_read_barrier, atomic_write_barrier): Define.
14950 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14952         * math/Makefile [$(PERL) != no]
14953         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
14954         dependency on libm-test.stmp below the inclusion of Rules.
14956 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
14958         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
14959         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
14960         and included header.
14961         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
14962         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
14963         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
14964         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
14965         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
14966         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
14967         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
14968         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
14969         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
14970         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
14971         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
14972         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
14973         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
14974         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
14975         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
14976         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
14977         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
14978         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
14979         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
14981 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14983         [BZ #18371]
14984         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
14985         intermediate but not final result might underflow.
14986         * math/s_csqrtf.c (__csqrtf): Likewise.
14987         * math/s_csqrtl.c (__csqrtl): Likewise.
14988         * math/auto-libm-test-in: Add more tests of csqrt.
14989         * math/auto-libm-test-out: Regenerated.
14990         * sysdeps/i386/fpu/libm-test-ulps: Update.
14992         [BZ #18219]
14993         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
14994         threshold on absolute value of exponent for which scaling is used.
14995         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14996         * math/auto-libm-test-in: Add more tests of exp2.
14997         * math/auto-libm-test-out: Regenerated.
14999 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
15001         [BZ #17977]
15002         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
15003         when initializing interface list, based on the bug analysis
15004         and the patch proposed by Eric Newton.
15005         * resolv/tst-res_hconf_reorder.c: New test.
15006         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
15007         tst-res_hconf_reorder.
15008         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
15009         and $(shared-thread-library).
15010         (tst-res_hconf_reorder-ENV): New variable.
15012         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
15013         in comment.
15015 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
15017         [BZ #16353]
15018         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
15019         (__expm1): Force underflow exception for arguments with small
15020         absolute value.
15021         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
15022         (__expm1f): Force underflow exception for arguments with small
15023         absolute value.
15024         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
15025         (__expm1): Force underflow exception for arguments with small
15026         absolute value.
15027         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
15028         (__expm1f): Force underflow exception for arguments with small
15029         absolute value.
15030         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15031         Check for small arguments before calling __expm1.
15032         * math/auto-libm-test-in: Do not mark underflow exceptions as
15033         possibly missing for bug 16353.
15034         * math/auto-libm-test-out: Regenerated.
15036 2015-06-22  Andreas Schwab  <schwab@suse.de>
15038         [BZ #18513]
15039         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
15040         PTR queries.
15042 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
15044         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
15046         * string/strcoll_l.c: Remove unused struct element idxnow.
15048 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
15050         [BZ #18569]
15051         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
15052         underflow and return argument in case of subnormal argument.
15053         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15054         Likewise.
15055         * math/auto-libm-test-in: Add more tests of expm1.
15056         * math/auto-libm-test-out: Regenerated.
15058         [BZ #16361]
15059         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15060         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15061         tiny results.
15062         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15063         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15064         tiny results.
15065         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
15066         mark underflow exceptions as possibly missing for bug 16361.
15067         * math/auto-libm-test-out: Regenerated.
15069 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
15071         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
15072         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
15073         Remove variable.
15074         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15075         (test-xfail-XOPEN2K8/utmpx.h/conform).
15077         * conform/conformtest.pl ($xerrors): New variable.
15078         (note_error): New function.
15079         (compiletest): New argument $xfail.  Use not_error.
15080         (runtest): Likewise.
15081         (top level): Handle xfail- lines.  Update calls to compiletest and
15082         runtest.  Handle xfail- and optional- in headers listed with
15083         allow-header.
15084         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
15085         (O_EXEC): Likewise.
15086         (O_SEARCH): Likewise.
15087         * conform/data/stropts.h-data (ioctl): Likewise.
15088         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
15089         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
15090         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
15091         (msghdr.msg_controllen): Likewise.
15092         (cmsghdr.cmsg_len): Likewise.
15093         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
15094         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
15095         variable.
15096         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15097         (test-xfail-XPG4/stropts.h/conform): Likewise.
15098         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15099         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15100         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15101         (test-xfail-UNIX98/stropts.h/conform): Likewise.
15102         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15103         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15104         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15105         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15106         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15107         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15108         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15109         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15110         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15111         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15112         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15113         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15114         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15115         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15116         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15118 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15120         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
15121         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
15122         definitions for proper unfolding of __MATHDECL_VEC.
15124 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15126         * benchtests/bench-strcoll.c:
15127         Include string.h.
15128         (main): Remove unused variable res.
15130 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15132         * timezone/Makefile (%/UTC %/Universal):
15133         Generate test-result files for UTC and Universal.
15135 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15137         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15139 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
15141         [BZ #16350]
15142         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
15143         for arguments with small absolute value.
15144         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
15145         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
15146         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
15147         (__asinh): Force underflow exception for arguments with small
15148         absolute value.
15149         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
15150         (__asinhf): Force underflow exception for arguments with small
15151         absolute value.
15152         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
15153         (__asinhl): Force underflow exception for arguments with small
15154         absolute value.
15155         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
15156         (__asinhl): Force underflow exception for arguments with small
15157         absolute value.
15158         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
15159         (__asinhl): Force underflow exception for arguments with small
15160         absolute value.
15161         * math/auto-libm-test-in: Do not mark underflow exceptions as
15162         possibly missing for bug 16350.
15163         * math/auto-libm-test-out: Regenerated.
15165         * include/bits/ipc.h: Remove file.
15166         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
15167         variable.
15168         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15169         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15170         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15171         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15172         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15173         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15174         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15175         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15176         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15178         * math/auto-libm-test-in: Remove spurious underflow allowance for
15179         tests of cexp.
15180         * math/auto-libm-test-out: Regenerated.
15182         [BZ #18558]
15183         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
15184         unconditional definition.
15185         (MCAST_BLOCK_SOURCE): Likewise.
15186         (MCAST_UNBLOCK_SOURCE): Likewise.
15187         (MCAST_LEAVE_GROUP): Likewise.
15188         (MCAST_JOIN_SOURCE_GROUP): Likewise.
15189         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15190         (MCAST_MSFILTER): Likewise.
15191         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
15192         Remove variable.
15193         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15194         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15195         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15196         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15197         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15199 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
15201         * NEWS: Mention addition of x86_64 vector sincosf.
15202         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
15203         * math/test-float-vlen4.h: Likewise.
15204         * math/test-float-vlen8.h: Likewise.
15205         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15206         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
15207         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15208         * sysdeps/x86_64/fpu/Versions: New versions added.
15209         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15210         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15211         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15212         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
15213         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
15214         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
15215         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
15216         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
15217         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
15218         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
15219         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
15220         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
15221         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
15222         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
15223         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
15224         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
15225         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
15226         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15227         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15228         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15229         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15230         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15231         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15232         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15234         * NEWS: Mention addition of x86_64 vector sincos.
15235         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
15236         * math/math.h (__MATHDECL_VEC): New macro.
15237         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
15238         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
15239         declaration under condition.
15240         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
15241         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
15242         TEST_VEC_LOOP change.
15243         * math/test-double-vlen4.h: Likewise.
15244         * math/test-double-vlen8.h: Likewise.
15245         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
15246         * math/test-float-vlen4.h: Likewise.
15247         * math/test-float-vlen8.h: Likewise.
15248         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15249         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
15250         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15251         * sysdeps/x86_64/fpu/Versions: New versions added.
15252         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15253         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15254         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15255         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
15256         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
15257         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
15258         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
15259         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
15260         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
15261         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
15262         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
15263         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
15264         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
15265         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
15266         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
15267         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
15268         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
15269         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15270         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15271         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15272         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15273         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15274         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15275         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15277         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15278         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15279         redirections for powf.
15280         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15281         * sysdeps/x86_64/fpu/Versions: New versions added.
15282         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15283         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15284         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15285         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
15286         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
15287         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
15288         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
15289         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
15290         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
15291         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
15292         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
15293         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
15294         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
15295         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
15296         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
15297         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
15298         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
15299         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15300         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15301         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15302         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15303         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15304         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15305         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15306         * math/test-float-vlen16.h: Fixed 2 argument macro.
15307         * math/test-float-vlen4.h: Likewise.
15308         * math/test-float-vlen8.h: Likewise.
15309         * NEWS: Mention addition of x86_64 vector powf.
15311 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
15313         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15314         and redefine.
15315         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15316         and redefine.
15317         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
15318         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15319         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15321         [BZ #18553]
15322         * resource/getpriority.c (getpriority): Rename to __getpriority
15323         and define as weak alias of __getpriority.
15324         * resource/setpriority.c (setpriority): Rename to __setpriority
15325         and define as weak alias of __setpriority.
15326         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
15327         __getpriority and define as weak alias of __getpriority.
15328         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
15329         __setpriority and define as weak alias of __setpriority.
15330         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
15331         strong name.
15332         (setpriority): Use __setpriority as strong name.
15333         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
15334         __getpriority and define as weak alias of __getpriority.
15335         * include/sys/resource.h (__getpriority): Declare.  Use
15336         libc_hidden_proto.
15337         (__setpriority): Likewise.
15338         (getpriority): Don't use libc_hidden_proto.
15339         (setpriority): Likewise.
15340         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
15341         getpriority.  Call __setpriority instead of setpriority.
15342         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
15343         Remove variable.
15345         [BZ #18547]
15346         * misc/getttyent.c (getttynam): Rename to __getttynam and define
15347         as weak alias of __getttynam.  Use prototype function definition.
15348         Call __setttyent, __getttyent and __endttyent instead of
15349         setttyent, getttyent and endttyent.
15350         (getttyent): Rename to __getttyent and define as weak alias of
15351         __getttyent.  Call __setttyent instead of setttyent.  Call
15352         __fgets_unlocked instead of fgets_unlocked.
15353         (setttyent): Rename to __setttyent and define as weak alias of
15354         __setttyent.
15355         (endttyent): Rename to __endttyent and define as weak alias of
15356         __endttyent.
15357         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
15358         (__setttyent): Likewise.
15359         (__endttyent): Likewise.
15360         (getttyent): Don't use libc_hidden_proto.
15361         (setttyent): Likewise.
15362         (endttyent): Likewise.
15363         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
15364         __endttyent instead of setttyent, getttyent and endttyent.
15365         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
15366         Remove variable.
15368         [BZ #18546]
15369         * socket/recv.c (__recv): Use libc_hidden_def.
15370         * socket/socket.c (__socket): Likewise.
15371         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
15372         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
15373         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
15374         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
15375         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
15376         libc_hidden_def.
15377         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
15378         libc_hidden_weak.
15379         * include/sys/socket.h (__socket): Do not use attribute_hidden.
15380         Use libc_hidden_proto.
15381         (__recv): Likewise.
15382         * socket/Versions (libc): Export __recv and __socket at version
15383         GLIBC_PRIVATE.
15384         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
15385         instead of recv.
15386         (init_mq_netlink): Call __socket instead of socket.
15387         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
15388         Remove variable.
15390         [BZ #18545]
15391         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
15392         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
15393         hidden_weak.
15394         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
15395         define as alias of __mq_timedsend.  Use hidden_weak.
15396         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
15397         __mq_timedsend as strong name.
15398         (mq_timedreceive): Use __mq_timedreceive as strong name.
15399         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
15400         (__mq_timedreceive): Likewise.
15401         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
15402         __mq_timedreceive instead of mq_timedreceive.
15403         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
15404         instead of mq_timedsend.
15405         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
15406         Remove variable.
15408         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
15409         hidden_def and hidden_weak instead of libc_hidden_def and
15410         libc_hidden_weak.
15411         (top level): Refer to hidden_def in comment.
15412         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
15413         macro.  Use it instead of libc_hidden_def.
15414         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
15415         specify __GI_* name explicitly.
15416         (mq_timedreceive): Likewise.
15417         (mq_setattr): Likewise.
15419         [BZ #18544]
15420         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
15421         __pthread_barrier_init and define as weak alias of
15422         __pthread_barrier_init.
15423         * sysdeps/sparc/nptl/pthread_barrier_init.c
15424         (pthread_barrier_init): Likewise.
15425         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
15426         __pthread_barrier_wait and define as weak alias of
15427         __pthread_barrier_wait.
15428         * sysdeps/sparc/nptl/pthread_barrier_wait.c
15429         (pthread_barrier_wait): Likewise.
15430         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
15431         (pthread_barrier_wait): Likewise.
15432         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
15433         (pthread_barrier_wait): Likewise.
15434         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
15435         (pthread_barrier_wait): Likewise.
15436         * nptl/Versions (libpthread): Export __pthread_barrier_init and
15437         __pthread_barrier_wait at version GLIBC_PRIVATE.
15438         * include/pthread.h (__pthread_barrier_init): Declare.
15439         (__pthread_barrier_wait): Likewise.
15440         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
15441         Call __pthread_barrier_wait instead of pthread_barrier_wait.
15442         (helper_thread): Likewise.
15443         (init_mq_netlink): Call __pthread_barrier_init instead of
15444         pthread_barrier_init.
15446         [BZ #18542]
15447         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
15448         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
15449         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
15450         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
15451         vswscanf.
15452         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
15453         Remove variable.
15455         [BZ #18540]
15456         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
15457         strong alias of _IO_fflush.  Use libc_hidden_def.
15458         * libio/iofflush_u.c (fflush_unlocked): Rename to
15459         __fflush_unlocked and define as weak alias of __fflush_unlocked.
15460         Use libc_hidden_weak.
15461         * include/stdio.h (__fflush_unlocked): Declare.  Use
15462         libc_hidden_proto.
15463         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
15464         fflush_unlocked.
15465         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
15466         Remove variable.
15468         [BZ #18539]
15469         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
15470         define as weak alias of __addseverity.
15471         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
15472         Remove variable.
15473         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
15474         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
15475         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
15477         [BZ #18536]
15478         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
15479         (__tfind): Likewise.
15480         (__tdelete): Likewise.
15481         (__twalk): Likewise.
15482         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
15483         __twalk to GLIBC_PRIVATE.
15484         * include/search.h (__tsearch): Use libc_hidden_proto.
15485         (__tfind): Likewise.
15486         (__tdelete): Likewise.
15487         (__twalk): Likewise.
15488         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
15489         Call __tdelete instead of tdelete.
15490         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
15491         tfind.  Call __tsearch instead of tsearch.
15492         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
15493         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
15494         Remove variable.
15495         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
15497         [BZ #18534]
15498         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
15499         (dprintf): Define as a weak alias of __dprintf, not a strong
15500         alias.
15501         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
15502         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
15503         dprintf.
15504         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
15505         Remove variable.
15506         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
15507         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
15509         [BZ #18533]
15510         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
15511         not a strong alias.
15512         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
15513         Remove variable.
15515         [BZ #18532]
15516         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
15517         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
15518         (in6addr_loopback): Rename to __in6addr_loopback and define as
15519         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
15520         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
15521         libc_hidden_proto.
15522         (__in6addr_any): Likewise.
15523         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
15524         in6addr_any.
15525         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
15526         variable.
15527         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
15529 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
15531         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
15532         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
15533         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15534         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15535         redirections for pow.
15536         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15537         * sysdeps/x86_64/fpu/Versions: New versions added.
15538         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15539         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15540         build of SSE, AVX2 and AVX512 IFUNC versions.
15541         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
15542         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
15543         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
15544         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
15545         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
15546         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
15547         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
15548         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
15549         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
15550         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
15551         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
15552         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
15553         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
15554         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
15555         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15556         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15557         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15558         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15559         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15560         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15561         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15562         * NEWS: Mention addition of x86_64 vector pow.
15564         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15565         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15566         redirections for expf.
15567         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15568         * sysdeps/x86_64/fpu/Versions: New versions added.
15569         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15570         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15571         build of SSE, AVX2 and AVX512 IFUNC versions.
15572         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
15573         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
15574         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
15575         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
15576         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
15577         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
15578         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
15579         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
15580         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
15581         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
15582         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
15583         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
15584         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
15585         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15586         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15587         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15588         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15589         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15590         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15591         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15592         * NEWS: Mention addition of x86_64 vector expf.
15594         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
15595         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
15596         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15597         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15598         redirections for exp.
15599         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15600         * sysdeps/x86_64/fpu/Versions: New versions added.
15601         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15602         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15603         build of SSE, AVX2 and AVX512 IFUNC versions.
15604         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
15605         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
15606         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
15607         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
15608         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
15609         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
15610         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
15611         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
15612         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
15613         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
15614         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
15615         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
15616         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
15617         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15618         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15619         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15620         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15621         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15622         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15623         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15624         * NEWS: Mention addition of x86_64 vector exp.
15626         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15627         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15628         redirections for logf.
15629         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15630         * sysdeps/x86_64/fpu/Versions: New versions added.
15631         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15632         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15633         build of SSE, AVX2 and AVX512 IFUNC versions.
15634         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
15635         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
15636         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
15637         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
15638         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
15639         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
15640         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
15641         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
15642         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
15643         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
15644         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
15645         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
15646         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
15647         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15648         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15649         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15650         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15651         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15652         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15653         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15654         * NEWS: Mention addition of x86_64 vector logf.
15656         * bits/libm-simd-decl-stubs.h: Added stubs for log.
15657         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
15658         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15659         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15660         redirections for log.
15661         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15662         * sysdeps/x86_64/fpu/Versions: New versions added.
15663         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15664         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15665         build of SSE, AVX2 and AVX512 IFUNC versions.
15666         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
15667         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
15668         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
15669         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
15670         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
15671         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
15672         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
15673         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
15674         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
15675         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
15676         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
15677         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
15678         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
15679         test.
15680         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15681         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15682         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15683         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15684         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15685         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15686         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15687         * NEWS: Mention addition of x86_64 vector log.
15689 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15691         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
15692         cfi_adjust_cfa_offset argument.
15693         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
15694         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
15696         [BZ #18034]
15697         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
15698         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
15699         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
15700         ordering using ldar.
15701         (_dl_tlsdesc_dynamic): Likewise.
15702         (_dl_tlsdesc_return_lazy): Likewise.
15703         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
15704         relaxed atomics instead of volatile and synchronize with release store.
15705         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
15706         volatile.
15707         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15709 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
15711         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15712         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
15713         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15714         * sysdeps/x86_64/fpu/Versions: New versions added.
15715         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15716         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15717         build of SSE, AVX2 and AVX512 IFUNC versions.
15718         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
15719         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
15720         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
15721         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
15722         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
15723         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
15724         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
15725         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
15726         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
15727         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
15728         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
15729         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
15730         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
15731         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15732         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15733         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15734         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15735         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15736         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15737         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15738         * NEWS: Mention addition of x86_64 vector sinf.
15740 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
15742         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
15743         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
15744         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
15745         Remove variable.
15746         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
15747         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
15749 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
15751         [BZ #18530]
15752         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
15753         strong alias of _IO_fputs.  Use libc_hidden_def.
15754         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
15755         and define as weak alias of __fputs_unlocked.  Use
15756         libc_hidden_weak.
15757         * include/stdio.h (__fputs_unlocked): Declare.  Use
15758         libc_hidden_proto.
15759         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
15760         fputs_unlocked.
15762         [BZ #18529]
15763         * resolv/netdb.h [__USE_POSIX]: Change condition to
15764         [__USE_XOPEN2K].
15765         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
15766         not expect.
15767         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
15768         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
15769         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
15770         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
15771         [XPG4 || UNIX98] (AI_ALL): Likewise.
15772         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
15773         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
15774         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
15775         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
15776         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
15777         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
15778         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
15779         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
15780         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
15781         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
15782         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
15783         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
15784         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
15785         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
15786         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
15787         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
15788         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
15789         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
15790         [XPG4 || UNIX98] (gai_strerror): Likewise.
15791         [XPG4 || UNIX98] (getaddrinfo): Likewise.
15792         [XPG4 || UNIX98] (getnameinfo): Likewise.
15794         [BZ #18528]
15795         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
15796         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
15797         __USE_XOPEN2K8].
15798         (getgrent): Likewise.
15799         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
15800         expect.
15801         [XPG3 || POSIX2008] (endgrent): Likewise.
15802         [XPG3] (setgrent): Likewise.
15803         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
15804         variable.
15805         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
15807         [BZ #18527]
15808         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
15809         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
15810         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
15811         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
15812         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
15813         * include/unistd.h (__getlogin_r): Declare.  Use
15814         libc_hidden_proto.
15815         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
15816         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
15817         variable.
15818         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
15819         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
15820         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
15822 2015-06-12  Martin Sebor  <msebor@redhat.com>
15824         [BZ #18512]
15825         * Makerules (check-install-supported): New target.
15826         (install): Add check-install-supported as a dependency.
15827         * manual/install.texi (Installing the C Library): Document
15828         that overriding prefix and exec_prefix is not supported.
15829         Mention DESTDIR.
15830         * INSTALL: Regenerate from the above.
15832 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
15834         [BZ #18519]
15835         * posix/Versions (libc): Export __libc_pread at version
15836         GLIBC_PRIVATE.
15837         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
15838         instead of pread.
15839         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
15840         variable.
15842         [BZ #18522]
15843         * misc/efgcvt_r.c
15844         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
15845         (cvt_symbol): Use weak_alias instead of strong_alias.
15846         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
15847         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
15848         Remove variable.
15849         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
15850         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
15852         [BZ #18520]
15853         * inet/herrno.c (h_errno): Rename to __h_errno.
15854         (__libc_h_errno): Define as alias of __h_errno not h_errno.
15855         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
15856         to __h_errno instead of h_errno.
15857         * nptl/herrno.c (h_errno): Rename to __h_errno.
15858         (__h_errno_location): Refer to __h_errno not h_errno.
15859         * resolv/Versions (h_errno): Rename to __h_errno.
15860         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
15861         Remove variable.
15862         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
15864 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
15866         * configure.ac: More strict check for AVX512 assembler support.
15867         * configure: Regenerated.
15869         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
15870         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
15871         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15872         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
15873         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15874         * sysdeps/x86_64/fpu/Versions: New versions added.
15875         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15876         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15877         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15878         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
15879         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
15880         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
15881         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
15882         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
15883         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
15884         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
15885         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
15886         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
15887         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
15888         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
15889         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
15890         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
15891         test.
15892         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15893         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15894         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15895         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15896         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15897         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15898         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15899         * NEWS: Mention addition of x86_64 vector sin.
15901 2015-06-11  Florian Weimer  <fweimer@redhat.com>
15903         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
15904         comment.
15906 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15908         [BZ #18479]
15909         * nptl/pt-interp.c: New file.
15910         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
15911         Add pt-interp.
15912         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
15913         $(common-objpfx)runtime-linker.h.
15915 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
15917         * Makeconfig (+interp): Remove unused variable.
15918         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
15919         only.  Depend on $(common-objpfx)runtime-linker.h instead of
15920         $(elf-objpfx)runtime-linker.h.
15921         ($(elf-objpfx)runtime-linker.h): Rename to
15922         $(common-objpfx)runtime-linker.h and move ...
15923         * Makerules [$(build-shared) = yes]: ... here.
15924         * elf/interp.c: Include <runtime-linker.h> instead of
15925         <elf/runtime-linker.h>.
15927 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15929         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
15930         (__gettimeofday_syscall): Remove vsyscall fallback.
15931         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
15932         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
15933         Add syscall fallback function.
15934         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
15935         if vDSO is not present.
15936         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
15937         fallback function.
15938         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
15939         present.
15940         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
15941         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15943 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
15945         [BZ #18497]
15946         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
15947         of wcscmp.
15948         (wcscmp): Define as weak alias of WCSCMP.
15949         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
15950         wcscoll.
15951         (USE_HIDDEN_DEF): Define.
15952         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
15953         __wcscoll.  Don't use libc_hidden_weak.
15954         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
15955         wcscmp.
15956         * sysdeps/i386/i686/multiarch/wcscmp-c.c
15957         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
15958         __GI_wcscmp.
15959         (weak_alias): Undefine and redefine.
15960         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
15961         __wcscmp and define as weak alias of __wcscmp.
15962         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
15963         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
15964         (__wcscoll): Likewise.
15965         (wcscmp): Don't use libc_hidden_proto.
15966         (wcscoll): Likewise.
15967         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
15968         wcscoll.
15969         * posix/regexec.c (check_node_accept_bytes): Likewise.
15970         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
15971         variable.
15972         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
15973         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
15975         [BZ #18507]
15976         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
15977         __fstatvfs and define as weak alias of __fstatvfs.  Use
15978         libc_hidden_weak.
15979         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
15980         and define as weak alias of __statvfs.  Use libc_hidden_weak.
15981         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
15982         Define as alias of __fstatvfs, not fstatvfs.
15983         (fstatvfs64): Likewise.
15984         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
15985         Define as alias of __statvfs, not statvfs.
15986         (statvfs64): Likewise.
15987         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
15988         Remove variable.
15990 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15993         (HAVE_GETCPU_VSYSCALL): Define.
15994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15995         (HAVE_GETCPU_VSYSCALL): Likewise.
15996         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
15997         * sysdeps/unix/sysv/linux/sched_getcpu.c
15998         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
15999         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
16000         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
16001         prototype.
16002         * sysdeps/unix/sysv/linux/x86_64/init-first.c
16003         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
16004         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
16005         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
16006         Define.
16007         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
16008         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16009         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
16010         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16012 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
16014         * sysdeps/x86_64/fpu/Makefile: New file.
16015         * sysdeps/x86_64/fpu/Versions: New file.
16016         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
16017         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
16018         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
16019         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
16020         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
16021         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
16022         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
16023         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
16024         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
16025         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
16026         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
16027         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
16028         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
16029         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16030         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16031         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
16032         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
16033         * sysdeps/x86_64/configure.ac: Options for libmvec build.
16034         * sysdeps/x86_64/configure: Regenerated.
16035         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
16036         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
16037         * manual/install.texi (Configuring and compiling): Document
16038         --disable-mathvec.
16039         * INSTALL: Regenerated.
16040         * NEWS: Mention addition of libmvec and x86_64 vector cos.
16042         * math/Makefile: Added rules for vector tests.
16043         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
16044         declaration under condition.
16045         * math/test-double-vlen2.h: New file.
16046         * math/test-double-vlen4.h: New file.
16047         * math/test-double-vlen8.h: New file.
16048         * math/test-vec-loop.h: Added initialization macro.
16049         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
16050         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
16051         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
16052         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
16053         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
16054         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
16055         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
16056         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
16057         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
16058         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
16059         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
16061         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16062         * sysdeps/x86_64/fpu/Versions: New versions added.
16063         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
16064         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
16065         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
16066         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
16067         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
16068         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
16069         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
16070         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
16071         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
16072         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
16073         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
16074         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
16075         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
16076         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16077         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16078         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16079         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
16080         * NEWS: Mention addition of x86_64 vector cosf.
16082         * math/Makefile: Added CFLAGS for new tests.
16083         * math/test-float-vlen16.h: New file.
16084         * math/test-float-vlen4.h: New file.
16085         * math/test-float-vlen8.h: New file.
16086         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
16087         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
16088         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16089         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
16090         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
16091         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
16092         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
16093         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
16094         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
16095         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
16096         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
16098 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
16100         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
16101         * locale/programs/ld-ctype.c: Likewise.
16103 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
16105         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
16106         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
16107         bit_ZMM16_31_state): New macro.
16108         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16109         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
16111 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
16113         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
16115 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
16117         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
16119 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
16121         [BZ #18498]
16122         * libio/memstream.c (open_memstream): Rename to __open_memstream
16123         and define as weak alias of __open_memstream.
16124         * include/stdio.h (__open_memstream): Declare.  Use
16125         libc_hidden_proto.
16126         (open_memstream): Don't use libc_hidden_proto.
16127         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
16128         open_memstream.
16129         * posix/getopt.c (_getopt_internal_r): Likewise.
16130         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
16131         variable.
16132         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
16133         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
16134         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
16136         [BZ #18496]
16137         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
16138         instead of wcrtomb.
16140         [BZ #18483]
16141         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
16142         [__USE_XOPEN2K8].  Remove redundant #endif.
16143         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
16144         Remove redundant #if.
16145         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
16146         Remove variable.
16147         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
16148         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
16150         [BZ #18495]
16151         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
16152         (__iswlower): Likewise.
16153         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
16154         (__iswlower): Likewise.
16155         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
16156         instead of towlower.
16157         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
16158         instead of iswlower.  Call __towupper instead of towupper.
16159         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
16160         instead of iswalnum.
16162 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16164         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
16165         errors to stderr.
16167 2015-06-05  Florian Weimer  <fweimer@redhat.com>
16169         [BZ #15661]
16170         [BZ #17322]
16171         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
16172         Check for overflow properly.  Check for O_APPEND.  Ignore large
16173         file system block sizes.  Add comments about problems.
16174         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
16175         * manual/filesys.texi (Storage Allocation): New node.
16177 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16179         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
16180         cancellable syscalls.
16181         (SYS_ify): Add guard to no redefine it.
16182         (INLINE_SYSCALL): Likewise.
16183         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
16184         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
16185         SYSCALL_CANCEL instead.
16186         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
16187         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
16188         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
16189         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
16190         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
16191         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
16192         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
16193         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
16194         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
16195         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
16196         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
16197         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
16198         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
16199         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
16200         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
16201         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
16202         Likewise.
16203         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
16204         (__libc_pread64): Likewise.
16205         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
16206         (__libc_preadv): Likewise.
16207         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
16208         (__libc_readv64): Likewise.
16209         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
16210         (__libc_pwrite): Likewise.
16211         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
16212         (__libc_pwrite64): Likewise.
16213         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
16214         (__libc_pwritev): Likewise.
16215         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
16216         (__libc_pwritev64): Likewise.
16217         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
16218         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16219         (sync_file_range): Likewise.
16220         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
16221         Likewise.
16222         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
16223         Likewise.
16224         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
16225         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
16226         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
16227         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
16228         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
16229         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
16230         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
16231         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
16232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
16233         Likewise.
16234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16235         (__libc_read64): Likewise.
16236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
16237         Likewise.
16238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
16239         Likewise.
16240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
16241         Likewise.
16242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
16243         Likewise.
16244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
16245         (__libc_pread64): Likewise.
16246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
16247         Likewise.
16248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
16249         (__libc_pwrite64): Likewise.
16250         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
16251         (sync_file_range): Likewise.
16252         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
16253         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
16254         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
16255         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
16256         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
16257         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
16258         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
16259         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
16260         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
16261         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16262         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16263         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
16264         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
16265         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
16266         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
16267         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
16268         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
16269         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
16270         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
16271         Likewise.
16272         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
16273         Likewise.
16274         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
16275         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
16276         Likewise.
16277         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
16278         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
16279         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
16280         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
16281         Likewise.
16282         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
16283         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
16284         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
16285         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
16286         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
16288 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
16290         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
16291         Include dl-vdso.
16292         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
16293         Use VDSO routines for gettimeofday, clock_gettime if
16294         available.
16295         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
16296         Declare VDSO symbols.
16297         * sysdeps/unix/sysv/linux/arm/sysdep.h:
16298         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
16299         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16300         * sysdeps/unix/sysv/linux/arm/Versions: Add
16301         __vdso_clock_gettime.
16303 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16305         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
16306         be an inline implementation regardless of library is built within.
16307         (open_not_cancel_2): Likewise.
16308         (__read_nocancel): Likewise.
16309         (__write_nocancel): Likewise.
16310         (openat_not_cancel): Likewise.
16311         (openat_not_cancel_3): Likewise.
16312         (openat64_not_cancel): Likewise.
16313         (openat64_not_cancel_3): Likewise.
16314         (__close_nocancel): Likewise.
16315         (pause_not_cancel): Likewise.
16316         (nanosleep_not_cancel): Likewise.
16317         (sigsuspend_not_cancel): Likewise.
16319 2015-06-04  Torvald Riegel  <triegel@redhat.com>
16321         [BZ #14958]
16322         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
16323         wake-up.
16324         (__pthread_rwlock_rdlock_slow): Likewise.
16325         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16326         Likewise.
16327         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
16328         Likewise.
16329         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
16330         * nptl/tst-rwlock16.c: New file.
16331         * nptl/Makefile (tests): Add new test.
16333 2015-06-04  Torvald Riegel  <triegel@redhat.com>
16335         [BZ #18324]
16336         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
16337         missing wake-up of readers.
16338         * nptl/tst-rwlock15.c: New file.
16339         * nptl/Makefile (tests): Add new test.
16341 2015-06-03  Roland McGrath  <roland@hack.frob.com>
16343         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
16344         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
16345         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
16346         and __nacl_supply_interface_rtld.
16347         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
16348         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
16349         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
16350         Add __nacl_supply_interface_rtld.
16351         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
16353 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
16355         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
16356         isfinite.
16357         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16358         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
16360 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
16362         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
16363         __signbit* with standard C99 macros.
16364         * math/e_exp10l.c: Likewise.
16365         * math/e_exp2l.c: Likewise.
16366         * math/e_scalb.c: Likewise.
16367         * math/e_scalbf.c: Likewise.
16368         * math/e_scalbl.c: Likewise.
16369         * math/s_ldexp.c: Likewise.
16370         * math/s_ldexpf.c: Likewise.
16371         * math/s_ldexpl.c: Likewise.
16372         * math/w_atan2.c: Likewise.
16373         * math/w_atan2f.c: Likewise.
16374         * math/w_atan2l.c: Likewise.
16375         * math/w_cosh.c: Likewise.
16376         * math/w_coshf.c: Likewise.
16377         * math/w_coshl.c: Likewise.
16378         * math/w_exp10.c: Likewise.
16379         * math/w_exp10f.c: Likewise.
16380         * math/w_exp10l.c: Likewise.
16381         * math/w_exp2.c: Likewise.
16382         * math/w_exp2f.c: Likewise.
16383         * math/w_exp2l.c: Likewise.
16384         * math/w_fmod.c: Likewise.
16385         * math/w_fmodf.c: Likewise.
16386         * math/w_fmodl.c: Likewise.
16387         * math/w_hypot.c: Likewise.
16388         * math/w_hypotf.c: Likewise.
16389         * math/w_hypotl.c: Likewise.
16390         * math/w_jnl.c: Likewise.
16391         * math/w_lgamma.c: Likewise.
16392         * math/w_lgamma_r.c: Likewise.
16393         * math/w_lgammaf.c: Likewise.
16394         * math/w_lgammaf_r.c: Likewise.
16395         * math/w_lgammal.c: Likewise.
16396         * math/w_lgammal_r.c: Likewise.
16397         * math/w_pow.c: Likewise.
16398         * math/w_powf.c: Likewise.
16399         * math/w_powl.c: Likewise.
16400         * math/w_remainder.c: Likewise.
16401         * math/w_remainderf.c: Likewise.
16402         * math/w_remainderl.c: Likewise.
16403         * math/w_scalb.c: Likewise.
16404         * math/w_scalbf.c: Likewise.
16405         * math/w_scalbl.c: Likewise.
16406         * math/w_scalbln.c: Likewise.
16407         * math/w_scalblnf.c: Likewise.
16408         * math/w_scalblnl.c: Likewise.
16409         * math/w_sinh.c: Likewise.
16410         * math/w_sinhf.c: Likewise.
16411         * math/w_sinhl.c: Likewise.
16412         * math/w_tgamma.c: Likewise.
16413         * math/w_tgammaf.c: Likewise.
16414         * math/w_tgammal.c: Likewise.
16415         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16416         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
16417         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16418         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16419         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16420         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16421         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16422         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16423         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16424         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16425         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16426         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16427         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16428         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16429         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16430         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16431         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16432         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16433         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16434         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16435         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16436         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16437         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16438         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16439         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16440         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16441         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
16442         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16443         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16444         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16445         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
16446         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
16447         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
16448         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
16449         * stdio-common/printf_fp.c: Likewise.
16450         * stdio-common/printf_fphex.c: Likewise.
16451         * stdio-common/printf_size.c: Likewise.
16453 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
16455         [BZ #18470]
16456         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
16457         strnlen.
16458         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
16459         Remove variable.
16460         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
16461         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
16462         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
16463         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
16464         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
16465         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
16466         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
16467         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
16468         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
16469         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
16471         [BZ #18468]
16472         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
16473         weak alias of __wmemchr.  Use libc_hidden_weak.
16474         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
16475         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
16476         instead of wmemchr.
16478 2015-06-02  Roland McGrath  <roland@hack.frob.com>
16480         [BZ #18383]
16481         * elf/tst-tlsalign-extern.c: New file.
16482         * elf/tst-tlsalign-extern-static.c: New file.
16483         * elf/tst-tlsalign-vars.c: New file.
16484         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
16485         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
16486         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
16487         ($(objpfx)tst-tlsalign-extern-static): Likewise.
16488         (test-xfail-tst-tlsalign-extern-static): New variable.
16490 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
16492         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
16493         Use variable name _sc_err instead of err.
16494         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
16495         instead of ret.
16496         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
16497         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
16498         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
16499         (INLINE_SYSCALL): Likewise.
16501         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
16502         * include/string.h (__strnlen): Use libc_hidden_proto.
16503         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
16504         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
16505         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
16506         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
16507         (libc_hidden_def): Undefine and redefine.
16508         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
16509         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
16510         __GI_strnlen.
16511         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
16512         libc_hidden_def.
16513         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
16515         [BZ #18469]
16516         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
16517         weak alias of __towlower.  Use libc_hidden_weak.
16518         (towupper): Rename to __towupper and define as weak alias of
16519         __towupper.  Use libc_hidden_weak.
16520         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
16521         (__towupper): Likewise.
16522         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
16523         __towlower instead of towlower.
16525 2015-06-02  Roland McGrath  <roland@hack.frob.com>
16527         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
16528         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
16530 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16532         * sysdeps/aarch64/libm-test-ulps: Update.
16534 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16536         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
16537         Define.
16538         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16539         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
16540         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
16541         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16542         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
16543         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
16544         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
16546 2015-06-01  Martin Sebor  <msebor@redhat.com>
16548         [BZ #18116]
16549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16550         (__setcontext): Use extended four-operand version of mtsf whenever
16551         possible.
16552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16553         (__novec_swapcontext): Likewise.
16555 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16557         * benchtests/scripts/compare_bench.py: New file.
16558         * benchtests/scripts/import_bench.py (mean): New function.
16559         (split_list): Likewise.
16560         (do_for_all_timings): Likewise.
16561         (compress_timings): Likewise.
16563         * benchtests/scripts/import_bench.py: New file.
16564         * benchtests/scripts/validate_benchout.py: Import import_bench
16565         instead of jsonschema.
16566         (validate_bench): Remove function.
16567         (main): Use import_bench.
16569 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
16571         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
16572         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
16574 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16578 2015-05-28  Roland McGrath  <roland@hack.frob.com>
16580         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
16581         set THREAD_SELF->tid to a magic value and futex-wake it.
16582         Pass its address to the thread_exit system call.
16583         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
16584         bit is clear.
16585         * sysdeps/nacl/lowlevellock.h: New file.
16586         * sysdeps/nacl/lll_timedwait_tid.c: New file.
16588         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
16589         Add TIMEOUT to current time, don't subtract it.
16591 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
16593         [BZ #2981]
16594         [BZ #18422]
16595         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
16596         ($(objpfx)tst-audit2.out): Also depend on
16597         $(objpfx)tst-auditmod9b.so.
16598         * elf/tst-audit2.c: Include <dlfcn.h>.
16599         (calloc_called): New.
16600         (calloc): Allow to be called more than once.
16601         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
16603 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
16605         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
16606         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
16608 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
16610         * stdlib/monetary.h: Fix comment.
16612 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
16614         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
16615         Avoid using variables in #defines that might cause shadowing.
16616         (INTERNAL_VSYSCALL_CALL): Likewise.
16618 2015-05-26  Roland McGrath  <roland@hack.frob.com>
16620         * sysdeps/nacl/lll_timedlock_wait.c: New file.
16622         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
16623         * nptl/lll_timedlock_wait.c: ... to this new file.
16624         * nptl/Makefile (libpthread-routines): Add it.
16625         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
16626         * nptl/lll_timedwait_tid.c: ... to this new file.
16627         * nptl/Makefile (libpthread-routines): Add it.
16628         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
16629         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
16630         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
16631         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
16632         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
16633         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
16634         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
16635         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
16636         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
16637         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
16639 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16641         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
16642         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16643         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
16644         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
16645         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
16646         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16647         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16648         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16649         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16650         * sysdeps/unix/sysv/linux/tile/sysdep.h
16651         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16652         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
16653         using vDSO syscall macro.
16655 2015-05-26  Andriy Rysin  <arysin@gmail.com>
16657         [BZ #17293]
16658         * uk_UA: Fix sorting order for Ukrainian locale
16660 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
16662         * stdlib/monetary.h: Fix comment.
16664 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16666         [BZ #18234]
16667         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
16668         st_mtim and st_ctim members.
16669         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
16670         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
16671         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
16672         (struct stat64): Likewise.
16673         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
16674         (struct stat64): Likewise.
16675         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
16676         (struct stat64): Likewise.
16678 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16680         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
16681         Define and include sysdep-vdso.h.
16682         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
16683         Likewise.
16684         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
16685         Likewise.
16686         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
16687         Define with VDSO_SYMBOL and use PTR_MANGLE.
16688         (__vdso_clock_gettime): Likewise.
16689         (__vdso_clock_getres): Likewise.
16690         (_libc_vdso_platform_setup): Likewise.
16691         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
16692         Likewise.
16693         (_libc_vdso_platform_setup): Likewise.
16694         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
16695         Likewise.
16696         (__vdso_clock_gettime): Likewise.
16697         (__vdso_clock_getres): Likewise.
16698         (__vdso_get_tbfreq): Likewise.
16699         (__vdso_getcpu): Likewise.
16700         (__vdso_time): Likewise.
16701         (__vdso_sigtramp_rt64): Likewise.
16702         (__vdso_signtramp32): Likewise.
16703         (__vdso_sigtramp_rt32): Likewise.
16704         (_libc_vdso_platform_setup): Likewise.
16705         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
16706         Likewise.
16707         (__vdso_clock_gettime): Likewise.
16708         (__vdso_clock_getres): Likewise.
16709         (_libc_vdso_platform_setup): Likewise.
16710         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
16711         Likewise.
16712         (__vdso_clock_gettime): Likewise.
16713         (_libc_vdso_platform_setup): Likewise.
16714         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
16715         Likewise.
16716         (__vdso_getcpu): Likewise.
16717         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
16718         Use VDSO_SYMBOL macro to define.
16719         (__vdso_clock_gettime): Likewise.
16720         (__vdso_clock_getres): Likewise.
16721         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
16722         Likewise.
16723         (__vdso_clock_gettime): Likewise.
16724         (__vdso_clock_getres): Likewise.
16725         (__vdso_get_tbfreq): Likewise.
16726         (__vdso_getcpu): Likewise.
16727         (__vdso_time): Likewise.
16728         (__vdso_sigtramp_rt64): Likewise.
16729         (__vdso_signtramp32): Likewise.
16730         (__vdso_sigtramp_rt32): Likewise.
16731         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
16732         Likewise.
16733         (__vdso_clock_gettime): Likewise.
16734         (__vdso_clock_getres): Likewise.
16735         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
16736         Likewise.
16737         (__vdso_clock_gettime): Likewise.
16738         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
16739         Likewise.
16740         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
16741         macro.
16742         (INTERNAL_VSYSCALL): Likewise.
16743         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
16744         Remove macro.
16745         (INTERNAL_VSYSCALL): Likewise.
16746         (INTERNAL_VSYSCALL_NCS): Likewise.
16747         (INTERNAL_VSYSCALL_CALL): New macro.
16748         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
16749         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
16750         Likewise.
16751         (INTERNAL_VSYSCALL): Likewise.
16752         (INTERNAL_VSYSCALL_NCS): Likewise.
16753         (INTERNAL_VSYSCALL_CALL): New macro.
16754         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
16755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16756         (INLINE_VSYSCALL): Remove macro.
16757         (INTERNAL_VSYSCALL): Remove macro.
16758         (INTERNAL_VSYSCALL_NCS): Remove macro.
16759         (INTERNAL_VSYSCALL_CALL): New macro.
16760         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
16761         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
16762         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
16763         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
16764         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
16765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16766         (INLINE_VSYSCALL): Remove macro.
16767         (INTERNAL_VSYSCALL): Likewise.
16768         (INTERNAL_VSYSCALL_NCS): Likewise.
16769         (INTERNAL_VSYSCALL_CALL): New macro.
16770         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
16771         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
16772         PTR_DEMANGLE on vDSO pointer.
16773         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
16774         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
16775         macro.
16776         (INTERNAL_SYSCALL): Likewise.
16777         (INTERNAL_VSYSCALL_NCS): Remove macro.
16778         (INTERNAL_VSYSCALL_CALL): New macro.
16779         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
16780         Remove macro.
16781         (INTERNAL_VSYSCALL): Likewise.
16782         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
16783         sysdep-vdso.h instead of libc-vdso.h.
16784         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
16785         definition.
16786         (INLINE_VSYSCALL): Likewise.
16787         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
16788         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
16789         definition.
16790         (INLINE_VSYSCALL): Likewise.
16791         (INTERNAL_VSYSCALL): Likewise.
16792         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16793         * sysdeps/unix/sysv/linux/timespec_get.c
16794         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16795         (timespec_get): Use ANSI prototype.
16796         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
16797         and definition for Linux.
16799 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
16801         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
16802         * include/libc-symbols.h: libmvec_hidden_* macro series added.
16804 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16806         [BZ #2981]
16807         [BZ #18410]
16808         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
16809         for missing DT_PLTRELSZ.
16811 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
16813         Remove obsolete aliases that broke 'locale -a'
16814         [BZ #18412]
16815         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
16816         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
16817         breaking some applications that use 'locale -a' output.
16818         Change the encoding of this file from Latin-1 to ASCII to avoid
16819         other potential problems with people grepping this file.
16821 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16823         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
16824         -fasynchronous-unwind-tables.
16825         (CFLAGS-sendto.c): Likewise.
16826         (CFLAGS-sendmsg.c): Likewise.
16827         (CFLAGS-connect.c): Likewise.
16828         (CFLAGS-recvmsg.c): Likewise.
16829         (CFLAGS-recvfrom.c): Likewise.
16830         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
16831         (SOCKETCALL): New macro: non-cancellable socketcall.
16832         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
16833         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
16834         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
16835         * sysdeps/unix/sysv/linux/accept.c: New file.
16836         * sysdeps/unix/sysv/linux/bind.c: Likewise.
16837         * sysdeps/unix/sysv/linux/connect.c: Likewise.
16838         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
16839         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
16840         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
16841         * sysdeps/unix/sysv/linux/listen.c: Likewise.
16842         * sysdeps/unix/sysv/linux/recv.c: Likewise.
16843         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
16844         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
16845         * sysdeps/unix/sysv/linux/send.c: Likewise.
16846         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
16847         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
16848         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
16849         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
16850         * sysdeps/unix/sysv/linux/socket.c: Likewise.
16851         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
16852         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
16853         prototype.
16854         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
16855         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16856         instead of __internal_xxx function.
16857         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
16858         prototype.
16859         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
16860         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16861         instead of __internal_xxx function.
16862         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
16863         prototype.
16864         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
16865         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16866         instead of __internal_xxx function.
16867         * sysdeps/unix/sysv/linux/accept.S: Remove file.
16868         * sysdeps/unix/sysv/linux/bind.S: Likewise.
16869         * sysdeps/unix/sysv/linux/connect.S: Likewise.
16870         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
16871         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
16872         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
16873         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
16874         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
16875         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
16876         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
16877         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
16878         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16879         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
16880         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
16881         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
16882         * sysdeps/unix/sysv/linux/listen.S: Likewise.
16883         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
16884         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
16885         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
16886         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
16887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
16888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
16889         * sysdeps/unix/sysv/linux/recv.S: Likewise.
16890         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
16891         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
16892         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
16893         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16894         * sysdeps/unix/sysv/linux/send.S: Likewise.
16895         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
16896         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
16897         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
16898         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
16899         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
16900         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
16901         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
16902         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
16903         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
16904         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
16905         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
16906         socketcall is implemented in GLIBC.
16908 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
16910         * soft-fp/fmadf4.c: Include <libc-internal.h>.
16911         (__fma): Ignore uninitialized warnings around packing.
16912         * soft-fp/fmasf4.c: Include <libc-internal.h>.
16913         (__fmaf): Ignore uninitialized warnings around packing.
16914         * soft-fp/fmatf4.c: Include <libc-internal.h>.
16915         (__fmal): Ignore uninitialized warnings around packing.
16917         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
16918         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16919         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
16920         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16922         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
16923         switch statement into default case.
16924         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
16926         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
16927         a conditional in forcing "inexact".
16928         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16929         Likewise.
16931 2015-05-22  Roland McGrath  <roland@hack.frob.com>
16933         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
16934         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
16935         for each INTERNAL_SYSCALL use.
16937 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
16939         [BZ #438]
16940         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
16941         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
16942         variable.
16944         [BZ #18444]
16945         * string/basename.c (basename): Rename to __basename and define as
16946         weak alias of __basename.  Use libc_hidden_weak.
16947         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
16948         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
16949         __basename instead of basename.
16950         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
16951         Remove variable.
16952         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
16954 2015-05-18  Florian Weimer  <fweimer@redhat.com>
16956         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
16957         (_IO_JUMPS_FILE_plus): New.
16958         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
16959         _IO_CAST_FIELD_ACCESS.
16960         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
16961         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
16962         * libio/freopen.c (freopen): Likewise.
16963         * libio/freopen64.c (freopen64): Likewise.
16964         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
16965         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
16966         * libio/iofwide.c (_IO_fwide): Likewise.
16967         * libio/memstream.c (open_memstream): Likewise.
16968         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16969         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
16970         * libio/oldiopopen.c (_IO_old_popen): Likewise.
16972 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
16974         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
16975         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
16976         NADJ.
16977         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
16978         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
16979         NADJ.
16980         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
16981         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
16982         NADJ.
16984         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
16985         (p == 4) case.
16987         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
16988         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
16989         Remove variable.
16990         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
16991         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
16992         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
16994 2015-05-21  Florian Weimer  <fweimer@redhat.com>
16996         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
16997         Adjust jump table label generation macros.
16999 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17001         * stdio-common/vfprintf.c (vfprintf): Move local variables
17002         args_malloced, specs, specs_malloced, and the code after
17003         do_positional to the printf_positional function.
17004         (printf_positional): New function.
17006 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17008         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
17009         function.
17010         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
17011         STEP4_TABLE, process_arg): Move macro definitions
17012         out of the vfprintf function.  (Cosmetic change only.)
17014 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
17016         * benchtests/Makefile (stdio-common-bench): Define.
17017         (benchset): Add stdio-common-bench.
17018         * sprintf-inputs: New file.
17019         * sprintf-source.c: New file.
17021 2015-05-21  Andreas Schwab  <schwab@suse.de>
17023         [BZ #13028]
17024         [BZ #17053]
17025         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
17026         of struct __res_state.
17027         * resolv/res_send.c (__libc_res_nsend): Likewise.
17028         (get_nsaddr): New function.
17029         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
17030         statp directly.
17032 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
17034         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
17035         -D_POSIX_C_SOURCE=199506L.
17037         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
17039         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
17040         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
17041         Do not mention otherwise.
17042         [POSIX] (_XOPEN_VERSION): Do not expect.
17043         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
17044         [POSIX] (_POSIX2_C_BIND): Likewise.
17045         [POSIX] (_POSIX2_VERSION): Likewise.
17046         [POSIX] (_XOPEN_XPG2): Likewise.
17047         [POSIX] (_XOPEN_XPG3): Likewise.
17048         [POSIX] (_XOPEN_XPG4): Likewise.
17049         [POSIX] (_XOPEN_UNIX): Likewise.
17050         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
17051         [POSIX] (_POSIX_BARRIERS): Likewise.
17052         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
17053         [POSIX] (_POSIX_CPUTIME): Likewise.
17054         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
17055         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
17056         [POSIX] (_POSIX_SHELL): Likewise.
17057         [POSIX] (_POSIX_SPAWN): Likewise.
17058         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
17059         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
17060         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
17061         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
17062         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
17063         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
17064         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
17065         [POSIX] (_XBS5_LP64_OFF64): Likewise.
17066         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
17067         [POSIX] (_POSIX_TIMEOUTS): Likewise.
17068         [POSIX] (_POSIX2_PBS): Likewise.
17069         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
17070         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
17071         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
17072         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
17073         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
17074         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
17075         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
17076         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
17077         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
17078         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
17079         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
17080         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
17081         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
17082         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
17083         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
17084         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
17085         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
17086         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
17087         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
17088         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
17089         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
17090         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
17091         [POSIX] (_SC_2_C_BIND): Likewise.
17092         [POSIX] (_SC_2_C_VERSION): Likewise.
17093         [POSIX] (_SC_2_PBS): Likewise.
17094         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
17095         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
17096         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
17097         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
17098         [POSIX] (_SC_2_PBS_TRACK): Likewise.
17099         [POSIX] (_SC_ATEXIT_MAX): Likewise.
17100         [POSIX] (_SC_BARRIERS): Likewise.
17101         [POSIX] (_SC_BASE): Likewise.
17102         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
17103         [POSIX] (_SC_DEVICE_IO): Likewise.
17104         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
17105         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
17106         [POSIX] (_SC_FD_MGMT): Likewise.
17107         [POSIX] (_SC_FIFO): Likewise.
17108         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
17109         [POSIX] (_SC_FILE_LOCKING): Likewise.
17110         [POSIX] (_SC_FILE_SYSTEM): Likewise.
17111         [POSIX] (_SC_IOV_MAX): Likewise.
17112         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
17113         [POSIX] (_SC_NETWORKING): Likewise.
17114         [POSIX] (_SC_PAGE_SIZE): Likewise.
17115         [POSIX] (_SC_PASS_MAX): Likewise.
17116         [POSIX] (_SC_PIPE): Likewise.
17117         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
17118         [POSIX] (_SC_REGEXP): Likewise.
17119         [POSIX] (_SC_SHELL): Likewise.
17120         [POSIX] (_SC_SIGNALS): Likewise.
17121         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
17122         [POSIX] (_SC_SPIN_LOCKS): Likewise.
17123         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
17124         [POSIX] (_SC_USER_GROUPS): Likewise.
17125         [POSIX] (_SC_USER_GROUPS_R): Likewise.
17126         [POSIX] (_SC_STREAMS): Likewise.
17127         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
17128         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
17129         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
17130         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
17131         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
17132         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
17133         [POSIX] (_PC_FILESIZEBITS): Likewise.
17134         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
17135         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
17136         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
17137         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
17138         [POSIX] (uid_t): Likewise.
17139         [POSIX] (gid_t): Likewise.
17140         [POSIX] (off_t): Likewise.
17141         [POSIX] (pid_t): Likewise.
17142         [POSIX] (cuserid): Allow.
17143         (_SC_2_CHAR_TERM): Require constant.
17144         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
17145         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
17146         variable.
17148 2015-05-20  Roland McGrath  <roland@hack.frob.com>
17150         * sysdeps/nacl/pthread-pids.h: New file.
17151         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
17152         (create_thread): Use __nacl_get_tid to initialize PD->tid.
17154         * nptl/pthread-pids.h: New file.
17155         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
17156         * nptl/nptl-init.c: Include <pthread-pids.h>.
17157         (__pthread_initialize_minimal_internal):
17158         Call __pthread_initialize_pids instead of set_tid_address syscall.
17160         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
17161         * sysdeps/posix/usleep.c: ... here.
17163 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17165         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
17166         call_pselect6 object.
17167         [$(subdir) = io]: Remove call_sync_file_range object.
17168         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
17169         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
17170         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
17171         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
17173 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
17175         * math/s_cproj.c: Add include "math_private.h".
17176         * math/s_cprojf.c: Likewise.
17177         * math/s_cprojl.c: Likewise.
17179 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
17181         [BZ #18244]
17182         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
17183         high mantissa bit when testing whether P is a NaN.
17184         * math/libm-test.inc (remainder_test_data): Add more tests.
17185         (remquo_test_data): Likewise.
17187         [BZ #18049]
17188         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
17189         below -32, return the argument, with underflow if subnormal.
17190         * math/auto-libm-test-in: Add more tests of atanh.
17191         * math/auto-libm-test-out: Regenerated.
17193 2015-05-19  Roland McGrath  <roland@hack.frob.com>
17195         [BZ #18434]
17196         * nptl/tst-sem15.c: New file.
17197         * nptl/Makefile (tests): Add it.
17198         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
17199         s/<</>>/ to fix typo in EOVERFLOW check.
17200         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
17202 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17204         * manual/strings.texi (envz_remove): Fix typo in safety
17205         annotations.
17207 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
17208             Steve Ellcey  <sellcey@imgtec.com>
17210         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
17211         in order to avoid strict alias warnings.
17212         (iruserok_af): Ditto for ra.
17214 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
17216         [BZ #17581]
17217         * malloc/hooks.c
17218         (magicbyte): Convert to a function and avoid returning 0x01.
17219         (mem2mem_check): Avoid using a length byte equal to the magic byte.
17220         (mem2chunk_check): Fix unsigned comparisons to zero.
17221         Hoist defs of sz and magic.
17223 2015-05-19  Richard Henderson  <rth@redhat.com>
17225         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
17227         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17229 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17231         [BZ #16159]
17232         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
17233         * malloc/arena.c (arena_lock): Check if arena is corrupt.
17234         (reused_arena): Find a non-corrupt arena.
17235         (heap_trim): Pass arena to unlink.
17236         * malloc/hooks.c (malloc_check_get_size): Pass arena to
17237         malloc_printerr.
17238         (top_check): Likewise.
17239         (free_check): Likewise.
17240         (realloc_check): Likewise.
17241         * malloc/malloc.c (malloc_printerr): Add arena argument.
17242         (unlink): Likewise.
17243         (munmap_chunk): Adjust.
17244         (ARENA_CORRUPTION_BIT): New macro.
17245         (arena_is_corrupt): Likewise.
17246         (set_arena_corrupt): Likewise.
17247         (sysmalloc): Use mmap if there are no usable arenas.
17248         (_int_malloc): Likewise.
17249         (__libc_malloc): Don't fail if arena_get returns NULL.
17250         (_mid_memalign): Likewise.
17251         (__libc_calloc): Likewise.
17252         (__libc_realloc): Adjust for additional argument to
17253         malloc_printerr.
17254         (_int_free): Likewise.
17255         (malloc_consolidate): Likewise.
17256         (_int_realloc): Likewise.
17257         (_int_memalign): Don't touch corrupt arenas.
17258         * malloc/tst-malloc-backtrace.c: New test case.
17260         * Makefile (summarize-tests): Fix return value on success.
17262         * manual/string.texi (Envz Functions): Add envz_remove.
17264 2015-05-18  Roland McGrath  <roland@hack.frob.com>
17266         * sysdeps/posix/opendir.c: Include <stdbool.h>.
17267         (invalid_name): New function, broken out of ...
17268         (__opendirat): ... here.  Call it.
17269         (need_isdir_precheck): New function, broken out of ...
17270         (__opendirat): ... here.  Call it.
17271         Use __fxstatat64, not __xstatat64.
17272         (opendir_oflags): New function, broken out of ...
17273         (__opendirat): ... here.  Call it.
17274         (opendir_tail): New function, broken out of ...
17275         (__opendirat): ... here.  Call it.
17276         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
17277         opendir_tail, rather than punting to __opendirat.
17278         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
17280 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17282         * .gitignore: Ignore generated *.pyc.
17284 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
17286         * include/stdio.h: Define __need_wint_t.
17287         * test-skeleton.c: Avoid `for' loop initial declaration.
17288         * nptl/tst-initializers1.c: Use test-skeleton.c.
17290 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17292         [BZ #18418]
17293         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
17295 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
17297         [BZ #16352]
17298         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
17299         (__ieee754_atanh): Force underflow exception for results with
17300         small absolute value.
17301         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
17302         (__ieee754_atanhf): Force underflow exception for results with
17303         small absolute value.
17304         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
17305         (__ieee754_atanh): Force underflow exception for results with
17306         small absolute value.
17307         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
17308         (__ieee754_atanhf): Force underflow exception for results with
17309         small absolute value.
17310         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
17311         (__ieee754_atanhl): Force underflow exception for results with
17312         small absolute value.
17313         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
17314         (__ieee754_atanhl): Force underflow exception for results with
17315         small absolute value.
17316         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
17317         (__ieee754_atanhl): Force underflow exception for results with
17318         small absolute value.
17319         * math/auto-libm-test-in: Do not allow missing underflow
17320         exceptions from atanh.
17321         * math/auto-libm-test-out: Regenerated.
17323         [BZ #18221]
17324         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
17325         2**-28 as threshold for returning x or +/- 1/x.
17326         * math/auto-libm-test-in: Add more tests of tan.
17327         * math/auto-libm-test-out: Regenerated.
17329         [BZ #18220]
17330         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17331         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
17332         * math/auto-libm-test-in: Add another test of lgamma.
17333         * math/auto-libm-test-out: Regenerated.
17335 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
17337         * stdio-common/printf_fp.c (___printf_fp): Use abs.
17338         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
17339         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
17340         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
17341         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
17342         (ADD2A): Use fabs.  (SUB2A): Use fabs.
17343         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
17344         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
17345         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
17346         (log1): Use fabs.  (my_log2): Use fabs.
17347         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
17348         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
17349         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
17350         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
17351         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
17352         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
17353         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
17354         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
17355         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
17356         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
17357         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
17359 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
17361         [BZ #18217]
17362         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
17363         as threshold for returning 1 - x.
17364         * math/auto-libm-test-in: Add more tests of erfc.
17365         * math/auto-libm-test-out: Regenerated.
17367 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
17369         [BZ #18196]
17370         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
17371         threshold for large arguments.
17372         * math/auto-libm-test-in: Add another test of atan.
17373         * math/auto-libm-test-out: Regenerated.
17375         [BZ #16339]
17376         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
17377         (__log1p): Force underflow exception for results with small
17378         absolute value.
17379         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
17380         (__log1pf): Force underflow exception for results with small
17381         absolute value.
17382         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
17383         (__log1p): Force underflow exception for results with small
17384         absolute value.
17385         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
17386         (__log1pf): Force underflow exception for results with small
17387         absolute value.
17388         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
17389         (__log1pl): Force underflow exception for results with small
17390         absolute value.
17391         * math/auto-libm-test-in: Do not allow missing underflow
17392         exceptions from log1p.
17393         * math/auto-libm-test-out: Regenerated.
17395 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
17396             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17398         [BZ #16704]
17399         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
17401 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
17403         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
17404         (libmvec): New variable.
17405         * configure.ac: Added option for mathvec build.
17406         * configure: Regenerated.
17407         * mathvec/Depend: New file.
17408         * mathvec/Makefile: New file.
17409         * shlib-versions: Added libmvec.
17410         * math/Makefile: Added rule for libm.so installation.
17412         * bits/math-vector.h: New file.
17413         * bits/libm-simd-decl-stubs.h: New header.
17414         * math/Makefile (headers): Added new header
17415         libm-simd-decl-stubs.h.
17416         * math/math.h (__MATHCALL_VEC): New macro.
17418         * math/gen-libm-have-vector-test.sh: Script generates series of macros
17419         for conditions in testing functions.
17420         * math/Makefile: Added call of libm-have-vector-test.sh.
17421         * math/libm-test.inc (HAVE_VECTOR): New macros.
17423         * math/libm-test.inc: START refactored.
17424         * math/test-double.c (TEST_MATHVEC): Add define.
17425         * math/test-float.c: Likewise.
17426         * math/test-idouble.c: Likewise.
17427         * math/test-ifloat.c: Likewise.
17428         * math/test-ildoubl.c: Likewise.
17429         * math/test-ldouble.c: Likewise.
17430         * sysdeps/generic/math-tests-arch.h
17431         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
17432         architecture check.
17434         * math/test-double.c (FUNC_TEST): New macro.
17435         * math/test-float.c: Likewise.
17436         * math/test-idouble.c: Likewise.
17437         * math/test-ifloat.c: Likewise.
17438         * math/test-ildoubl.c: Likewise.
17439         * math/test-ldouble.c: Likewise.
17440         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
17442 2015-05-13  Roland McGrath  <roland@hack.frob.com>
17444         * sysdeps/nacl/fdopendir.c: New file.
17446         * dirent/scandir-tail.c: New file.
17447         * dirent/scandir64-tail.c: New file.
17448         * dirent/Makefile (routines): Add them.
17449         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
17450         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
17451         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
17452         [!SCANDIR] (SCANDIR_TAIL): New macro.
17453         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
17454         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
17455         (SCANDIRAT): Macro removed.
17456         (SCANDIR_TAIL): New macro.
17457         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
17458         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
17459         (SCANDIRAT): Just call __opendirat and __scandir_tail.
17460         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
17461         (READDIR): Macro removed.
17462         (SCANDIR_TAIL): New macro.
17463         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
17464         (SCANDIR_TAIL): New macro.
17466         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
17467         * dirent/scandir-cancel.c: ... to this new file.
17468         * dirent/Makefile (routines): Add it.
17469         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
17470         * sysdeps/unix/sysv/linux/i386/scandir64.c
17471         (SKIP_SCANDIR_CANCEL): Macro removed.
17472         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
17474         * dirent/tst-scandir.c: New file.
17475         * dirent/tst-scandir64.c: New file.
17476         * dirent/Makefile (tests): Add them.
17478 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
17480         [BZ #18409]
17481         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
17483 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17485         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
17486         list.
17488 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
17490         * benchtests/bench-strcoll.c: New benchmark.
17491         * benchtests/Makefile: Generate locales and run benchmark.
17492         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
17493         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
17494         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
17495         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
17496         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
17497         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
17498         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
17499         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
17500         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
17501         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
17502         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
17503         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
17504         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
17505         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
17506         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
17507         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
17508         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
17509         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
17510         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
17511         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
17512         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
17513         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
17514         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
17515         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
17517 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
17519         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
17520         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17522 2015-05-12  Roland McGrath  <roland@hack.frob.com>
17524         * posix/uname-values.h: New file.
17525         * posix/uname.c: Include that instead of <config-name.h>.
17526         * sysdeps/nacl/uname-values.h: New file.
17527         * sysdeps/arm/nacl/uname-values.h: New file.
17529 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
17531         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
17532         splitting into fields.
17534 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
17536         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
17537         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
17538         * locale/localeinfo.h: Add enum collation_encoding_type.
17539         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
17540         * programs/ld-collate.c (collate_output): Add encoding type info.
17541         * string/strcoll_l.c (STRDIFF): New function.
17542         * (STRCOLL): Use STRDIFF to skip over equal prefix.
17543         * wcsmbs/wcscoll_l.c: Define STRDIFF.
17545 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
17547         [BZ #18397]
17548         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
17549         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
17550         <fpu_control.h> instead of <math/fpu_control.c>.
17551         * sysdeps/mips/mips32/fpu/Makefile: New file.
17553 2015-05-11  Andreas Schwab  <schwab@suse.de>
17555         [BZ #18007]
17556         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
17557         nss_endgrent.
17558         (_nss_compat_endgrent): Call nss_endgrent.
17559         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
17560         nss_endpwent.
17561         (_nss_compat_endpwent): Call nss_endpwent.
17562         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
17563         needent, call nss_setspent only if non-zero.
17564         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
17565         (internal_endspent): Don't call nss_endspent.
17566         (_nss_compat_endspent): Call nss_endspent.
17567         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
17568         Remove.  All uses removed.
17569         (internal_setent): Remove parameter stayopen, add parameter
17570         stream.  Use it instead of global variable.
17571         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
17572         (internal_endent, internal_getent): Add parameter stream.  Use it
17573         instead of global variable.
17574         (CONCAT(_nss_files_end,ENTNAME))
17575         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
17576         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
17577         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
17578         uses removed.
17579         (internal_setent, internal_endent): Add parameter stream.  Use it
17580         instead of global variable.
17581         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
17582         stream.
17583         (get_next_alias): Add parameter stream.
17584         (_nss_files_getaliasent_r): Pass global stream.
17585         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
17586         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
17587         (_nss_files_gethostbyname4_r): Pass local stream to
17588         internal_setent, internal_getent and internal_endent.  Remove
17589         locking.
17591 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17593         * tst-strfmon1.c (tests): Update expected currency symbol.
17595 2015-05-08  Roland McGrath  <roland@hack.frob.com>
17597         * sysdeps/nacl/gethostname.c: New file.
17599 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
17601         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
17602         and sinh.
17603         * math/auto-libm-test-out: Regenerated.
17604         * sysdeps/i386/fpu/libm-test-ulps: Update.
17605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17607 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
17609         [BZ #18125]
17610         * stdlib/tst-setcontext3.c: New file.
17611         * stdlib/tst-setcontext3.sh: New file.
17612         * stdlib/Makefile (tests): Add tst-setcontext3.
17613         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
17614         to verify test program created output file.
17615         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
17616         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
17617         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
17618         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
17620 2015-05-06  Roland McGrath  <roland@hack.frob.com>
17622         [BZ #18383]
17623         * elf/tst-tlsalign.c: New file.
17624         * elf/tst-tlsalign-static.c: New file.
17625         * elf/tst-tlsalign-lib.c: New file.
17626         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
17627         (tests-static): Add tst-tlsalign-static.
17628         (modules-names): Add tst-tlsalign-lib.
17629         (test-xfail-tst-tlsalign): New variable.
17630         (test-xfail-tst-tlsalign-static): New variable.
17632         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
17633         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
17635 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
17637         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
17638         csqrt, erfc, sin and sincos.
17639         * math/auto-libm-test-out: Regenerated.
17640         * sysdeps/i386/fpu/libm-test-ulps: Update.
17641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17643 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17645         * sysdeps/aarch64/libm-test-ulps: Update.
17647 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
17649         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
17650         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
17651         * math/auto-libm-test-out: Regenerated.
17652         * sysdeps/i386/fpu/libm-test-ulps: Update.
17653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17655 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17657         [BZ #18265]
17658         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
17659         (wcsncpy): Likewise.
17661 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17663         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17664         Assume __ASSUME_FALLOCATE is always true.
17665         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17666         (__posix_fallocate64_l64): Likweise.
17667         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
17668         (posix_fallocate): Likewise.
17669         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
17670         (__posix_fallocate64_l64): Likewise.
17671         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17672         [!__ASSUME_FALLOCATE]: Add comment.
17674 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17676         * sysdeps/unix/sysv/linux/i386/Makefile
17677         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
17678         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
17679         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
17680         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17681         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17682         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
17683         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
17685 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
17687         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
17688         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
17689         tgamma.
17690         * math/auto-libm-test-out: Regenerated.
17691         * sysdeps/i386/fpu/libm-test-ulps: Update.
17692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17694 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
17696         * math/auto-libm-test-in: Add more tests of tgamma.
17697         * math/auto-libm-test-out: Regenerated.
17698         * sysdeps/i386/fpu/libm-test-ulps: Update.
17699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17701         * math/auto-libm-test-in: Add more tests of tanh.
17702         * math/auto-libm-test-out: Regenerated.
17703         * sysdeps/i386/fpu/libm-test-ulps: Update.
17704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17706         * math/auto-libm-test-in: Add more tests of tan.
17707         * math/auto-libm-test-out: Regenerated.
17708         * sysdeps/i386/fpu/libm-test-ulps: Update.
17709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17711         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
17712         * math/auto-libm-test-out: Regenerated.
17713         * sysdeps/i386/fpu/libm-test-ulps: Update.
17714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17716         * math/auto-libm-test-in: Add another test of pow.
17717         * math/auto-libm-test-out: Regenerated.
17718         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17720         * math/auto-libm-test-in: Add more tests of lgamma.
17721         * math/auto-libm-test-out: Regenerated.
17722         * sysdeps/i386/fpu/libm-test-ulps: Update.
17723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17725         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
17726         log1p.
17727         * math/auto-libm-test-out: Regenerated.
17728         * sysdeps/i386/fpu/libm-test-ulps: Update.
17729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17731 2015-05-01  Mark Wielaard  <mjw@redhat.com>
17733         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
17734         Elf64_Chdr structs and ELFCOMPRESS constants.
17736 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
17738         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
17739         expm1.
17740         * math/auto-libm-test-out: Regenerated.
17741         * sysdeps/i386/fpu/libm-test-ulps: Update.
17742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17744         * math/auto-libm-test-in: Add more tests of erf and erfc.
17745         * math/auto-libm-test-out: Regenerated.
17746         * sysdeps/i386/fpu/libm-test-ulps: Update.
17747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17749 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17751         * config.h.in (HAVE_AARCH64_BE): Add.
17753 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
17755         * math/auto-libm-test-in: Add more tests of csqrt.
17756         * math/auto-libm-test-out: Regenerated.
17757         * sysdeps/i386/fpu/libm-test-ulps: Update.
17758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17760         * math/auto-libm-test-in: Add more tests of cosh and sinh.
17761         * math/auto-libm-test-out: Regenerated.
17762         * sysdeps/i386/fpu/libm-test-ulps: Update.
17763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17765         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
17767 2015-04-29  Roland McGrath  <roland@hack.frob.com>
17769         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
17770         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
17772         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
17773         (euidaccess, eaccess): Define as weak aliases.
17775         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
17776         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
17777         but __suseconds_t is often 'long int' so some sources assume that
17778         type is being used (e.g. they use %ld to print tv_usec).
17780 2015-04-29  Florian Weimer  <fweimer@redhat.com>
17782         [BZ #18007]
17783         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
17784         (CVE-2014-8121)
17785         * nss/tst-nss-getpwent.c: New file.
17786         * nss/Makefile (tests): Add new test.
17788 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
17790         [BZ #18346]
17791         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
17792         exponents less than 48 as cases where high part of mantissa needs
17793         examining to determine whether argument is integral.
17794         * math/libm-test.inc (round_test_data): Add more tests.
17796 2015-04-28  Mark Wielaard  <mjw@redhat.com>
17798         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
17800 2015-04-27  David S. Miller  <davem@davemloft.net>
17802         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
17803         __tls_get_addr.
17804         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
17806 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
17808         [BZ#18333]
17809         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
17811 2015-04-27  Florian Weimer  <fweimer@redhat.com>
17813         [BZ#18333]
17814         * time/tzset.c (parse_tzname): Return error on memory allocation
17815         failure.
17816         * test-skeleton.c (struct temp_name_list): Change type of name
17817         member to non-const.
17818         (add_temp_file): Create a copy of the file name.
17819         (delete_temp_files): Deallocate memory.
17820         (create_temp_file): Add comment.
17822 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17824         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
17825         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
17827 2015-04-24  Roland McGrath  <roland@hack.frob.com>
17829         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
17830         * sysdeps/arm/configure: Regenerated.
17832 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17834         [BZ #17715]
17835         * time/tzfile.c (__tzfile_read): Check for large values of
17836         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
17837         * time/tzset.c (__tzstring_len): New function, based on the old
17838         __tzstring function.
17839         (__tzstring): Call __tzstring_len.
17840         (parse_tzname): New helper function extracted from
17841         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
17842         the input string.
17843         (parse_offset): New helper function extracted from
17844         __tzset_parse_tz.  Replace switch with fallthrough with
17845         initialization before sscanf.
17846         (parse_rule): Likewise.
17847         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
17848         new-style function definition.
17849         * timezone/Makefile (tests): Add tst-tzset.
17850         (tst-tzset.out): Dependencies on time zone files.
17851         (tst-tzset-ENV): Set TZDIR.
17852         (testdata/XT%): Copy crafted time zone files.
17853         * timezone/README: Mention crafted time zone files.
17854         * timezone/testdata/XT1, timezone/testdata/XT2,
17855         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
17856         files.
17857         * timezone/tst-tzset.c: New test.
17859 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17861         * Makeconfig (+gccwarn): Remove -Winline.
17863 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17865         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
17867 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17869         * NEWS: Mention sysconf() cache information support for s390.
17870         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
17872 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
17874         * math/k_casinh.c (__kernel_casinh): Use __copysign.
17875         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
17876         (__nearbyint): Likewise.
17877         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
17878         (copysignl): Likewise.
17880 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
17882         [BZ #18287]
17883         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
17884         based on padding.  (CVE-2015-1781)
17886 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17888         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
17889         libc-vdso.h.
17890         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
17891         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
17892         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
17893         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17894         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17895         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
17896         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
17897         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17898         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
17899         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
17900         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17901         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17902         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
17903         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
17904         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17905         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
17906         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
17907         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
17908         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
17909         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
17910         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
17911         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
17912         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
17914 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
17916         * stdlib/setenv.c (__add_to_environ):
17917         Dump core quickly if setenv (..., NULL, ...) is called.
17918         This time, do it the right way, and pacify GCC with a pragma.
17920 2015-04-17  Roland McGrath  <roland@hack.frob.com>
17922         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
17923         IMAP->l_prev cannot be null, and #if out the code for the contrary
17924         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
17925         believe that NS (&_dl_ns[NSID]) could point outside the array.
17927         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
17928         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
17929         before using NSID as an index.
17931 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
17933         [BZ #17825]
17934         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
17935         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
17936         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17938 2015-04-17  Roland McGrath  <roland@hack.frob.com>
17940         Add preliminary port to Google Native Client on ARM.
17941         * abi-tags (.*-.*-nacl.*): New entry.
17942         * sysdeps/arm/nacl: New directory.
17943         * sysdeps/nacl: New directory.
17945 2015-04-16  David S. Miller  <davem@davemloft.net>
17947         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
17948         lowlevellock-futex.h
17950 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
17952         * sysdeps/tile/configure.ac: New file.
17953         * sysdeps/tile/configure: Regenerated.
17955 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17957         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
17958         conditionals for weak_alias and libc_hidden_weak.
17959         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
17960         libc_hidden_weak and weak_alias.
17961         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
17962         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
17963         and weak_alias for static one.
17965 2015-04-15  David S. Miller  <davem@davemloft.net>
17967         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17969 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17971         [BZ #18206]
17972         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
17973           Use signed comparision instead of substraction to avoid
17974           overflow bug.
17975         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
17976           Take the sign of ret.
17977         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
17978           Do not expect precise return values. Only the sign matters.
17979         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
17980         * wcsmbs/test-wcsncmp.c: New File.
17981         * string/test-strncmp.c: Add wcsncmp support.
17983 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17985         [BZ #6792]
17986         * math/w_log1p.c: New file.
17987         * math/w_log1pf.c: Likewise.
17988         * math/w_log1pl.c: Likewise.
17989         * math/Makefile (libm-calls): Add w_log1p.
17990         * math/s_log1pl.c (log1pl): Remove weak_alias.
17991         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
17992         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
17993         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
17994         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
17995         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
17996         [NO_LONG_DOUBLE] (log1pl): Likewise.
17997         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
17998         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
17999         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
18000         (log1p): Remove long_double_symbol.
18001         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
18002         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
18003         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
18004         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
18005         remove weak_alias for corresponding log1p function.
18006         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
18007         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
18008         * sysdeps/ia64/fpu/w_log1p.c: New file.
18009         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
18010         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
18011         * math/libm-test.inc (log1p_test_data): Add errno expectations.
18013 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
18015         [BZ #18247]
18016         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
18017         decimal exponent by 1.
18018         * stdlib/tst-strtod-round-data: Add more tests.
18019         * stdlib/tst-strtod-round.c (tests): Regenerated.
18021 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
18023         * math/auto-libm-test-in: Add more tests of clog and clog10.
18024         * math/auto-libm-test-out: Regenerated.
18025         * sysdeps/i386/fpu/libm-test-ulps: Update.
18026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18028 2015-04-09  Roland McGrath  <roland@hack.frob.com>
18030         * Makeconfig (module-cppflags): Exclude all .v.i files.
18031         (skip-module-cppflags): Variable removed.
18033         * configure.ac (libc_config_ok): Initialize before reading
18034         preconfigure scripts, not after.
18035         * configure: Regenerated.
18037         * test-skeleton.c (TIMEOUT): Move #define to top level.
18038         (main): Grok environment variable TEST_DIRECT.  If set, print
18039         test expectation details into that file and then behave as if
18040         given --direct.
18042 2015-04-09  Florian Weimer  <fweimer@redhat.com>
18044         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
18045         warning on 32-bit.
18047 2015-04-08  David S. Miller  <davem@davemloft.net>
18049         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18051 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
18053         * math/auto-libm-test-in: Add more tests of atanh.
18054         * math/auto-libm-test-out: Regenerated.
18055         * sysdeps/i386/fpu/libm-test-ulps: Update.
18056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18058         * math/auto-libm-test-in: Add more tests of atan.
18059         * math/auto-libm-test-out: Regenerated.
18060         * sysdeps/i386/fpu/libm-test-ulps: Update.
18061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18063 2015-04-08  Florian Weimer  <fweimer@redhat.com>
18065         * elf/pldd.c (main): Rewrite to use struct
18066         scratch_buffer instead of extend_alloca.
18067         * elf/pldd-xx.c (find_maps): Likewise.
18068         * grp/initgroups.c: Include <scratch_buffer.h> instead of
18069         <alloca.h>.
18070         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
18071         scratch_buffer instead of extend_alloca.
18072         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
18073         grp/compat-initgroups.c.
18074         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
18075         Rewrite to use struct scratch_buffer instead of extend_alloca.
18076         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
18077         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18079 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
18081         * math/auto-libm-test-in: Add more tests of cbrt.
18082         * math/auto-libm-test-out: Regenerated.
18083         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18085         * math/auto-libm-test-in: Add more tests of cabs.
18086         * math/auto-libm-test-out: Regenerated.
18087         * sysdeps/i386/fpu/libm-test-ulps: Update.
18088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18090         [BZ #18210]
18091         [BZ #18211]
18092         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
18093         (__ieee754_atan2): Set FE_TONEAREST mode for internal
18094         computations.
18095         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
18096         clog10.
18097         * math/auto-libm-test-out: Regenerated.
18098         * sysdeps/i386/fpu/libm-test-ulps: Update.
18099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18101         [BZ #18197]
18102         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
18103         (atan): Set FE_TONEAREST mode for internal computations.
18104         * math/auto-libm-test-in: Add more tests of atan.
18105         * math/auto-libm-test-out: Regenerated.
18107 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
18109         [BZ #17930]
18110         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
18112 2015-04-07  Florian Weimer  <fweimer@redhat.com>
18114         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
18116 2015-04-07  Florian Weimer  <fweimer@redhat.com>
18118         * include/scratch_buffer.h: New file.
18119         * malloc/scratch_buffer_grow.c: Likewise.
18120         * malloc/scratch_buffer_grow_preserve.c: Likewise.
18121         * malloc/scratch_buffer_set_array_size.c: Likewise.
18122         * malloc/tst-scratch_buffer.c: Likewise.
18123         * malloc/Makefile (routines): Add scratch_buffer_grow.
18124         (tests): Add test case.
18125         * malloc/Versions (GLIBC_PRIVATE): Export
18126         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
18127         __libc_scratch_buffer_set_array_size.
18129 2015-04-06  Richard Henderson  <rth@redhat.com>
18131         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
18132         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18134         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
18135         unsigned int before printing.
18137 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18139         [BZ #17596]
18140         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
18141         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18143 2015-04-02  Florian Weimer  <fweimer@redhat.com>
18145         * include/libc-internal.h (libc_max_align_t): Define.
18147 2015-04-02  Andreas Schwab  <schwab@suse.de>
18149         [BZ #16850]
18150         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
18152 2015-04-02  Mel Gorman  <mgorman@suse.de>
18154         [BZ #17195]
18155         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
18156         as well as the main arena.
18158 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18160         [BZ #18185]
18161         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
18162         sharing L2 cache to 2 for Silvermont/Knights Landing.
18164 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18166         [BZ #17711]
18167         * config.make.in (have-protected-data): New.
18168         * configure.ac: Check linker support for protected data symbol.
18169         * configure: Regenerated.
18170         * elf/Makefile (modules-names): Add tst-protected1moda and
18171         tst-protected1modb if $(have-protected-data) is yes.
18172         (tests): Add tst-protected1a and tst-protected1b if
18173         $(have-protected-data) is yes.
18174         ($(objpfx)tst-protected1a): New.
18175         ($(objpfx)tst-protected1b): Likewise.
18176         (tst-protected1modb.so-no-z-defs): Likewise.
18177         * elf/tst-protected1a.c: New file.
18178         * elf/tst-protected1b.c: Likewise.
18179         * elf/tst-protected1mod.h: Likewise.
18180         * elf/tst-protected1moda.c: Likewise.
18181         * elf/tst-protected1modb.c: Likewise.
18183 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18185         [BZ #17711]
18186         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
18187         indicates it is called from do_lookup_x on relocation against
18188         protected data, skip the data definion in the executable from
18189         copy reloc.
18190         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
18191         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
18192         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
18193         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
18194         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
18195         otherwise to 0.
18196         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
18197         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
18198         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
18199         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
18200         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
18201         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
18203 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
18205         * sysdeps/nptl/pthread.h: Remove duplicate definition of
18206         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
18208 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
18210         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
18211         THREAD_SETMEM_NC.
18212         * sysdeps/x86_64/nptl/tls.h: Ditto.
18214 2015-03-27  Roland McGrath  <roland@hack.frob.com>
18216         * dlfcn/tststatic.c (main): Converted to ...
18217         (do_test): ... this.
18218         (TEST_FUNCTION): New macro.
18219         Include test-skeleton.c.
18221 2015-03-26  Alan Modra  <amodra@gmail.com>
18223         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
18224         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
18225         zero for undefined weak.
18226         (elf_machine_plt_conflict): Similarly.
18228 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
18230         * math/auto-libm-test-in: Add more tests of acosh, asinh and
18231         atanh.
18232         * math/auto-libm-test-out: Regenerated.
18233         * sysdeps/i386/fpu/libm-test-ulps: Update.
18234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18236         * math/auto-libm-test-in: Add another test of asin.
18237         * math/auto-libm-test-out: Regenerated.
18238         * sysdeps/i386/fpu/libm-test-ulps: Update.
18239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18241         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
18242         Remove macro.
18243         (LLL_EBX_REG): Likewise.
18244         (LLL_ENTER_KERNEL): Likewise.
18246         * math/auto-libm-test-in: Add more tests of asin.
18247         * math/auto-libm-test-out: Regenerated.
18248         * sysdeps/i386/fpu/libm-test-ulps: Update.
18249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18251         [BZ #18138]
18252         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
18253         libc_do_syscall_args): New structure.
18254         (INTERNAL_SYSCALL_MAIN_0): New macro.
18255         (INTERNAL_SYSCALL_MAIN_1): Likewise.
18256         (INTERNAL_SYSCALL_MAIN_2): Likewise.
18257         (INTERNAL_SYSCALL_MAIN_3): Likewise.
18258         (INTERNAL_SYSCALL_MAIN_4): Likewise.
18259         (INTERNAL_SYSCALL_MAIN_5): Likewise.
18260         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
18261         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
18262         Replace conditional definitions by conditional definitions of ....
18263         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
18264         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
18265         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
18266         (libpthread-sysdep_routines): Add libc-do-syscall.
18267         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
18268         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
18269         to __NR_futex not 240.
18271 2015-03-25  Alan Modra  <amodra@gmail.com>
18273         * NEWS: Advertise TLS optimization.
18274         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
18275         (DT_PPC_NUM): Increment.
18276         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
18277         (CHECK_STATIC_TLS): Use here.
18278         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
18279         TLS descriptors.
18280         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18281         * sysdeps/powerpc/dl-tls.c: New file.
18282         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
18283         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
18284         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
18285         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
18286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
18287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
18288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
18290 2015-03-25  Alan Modra  <amodra@gmail.com>
18292         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
18293         for overlapping .opd entries" to "support...".
18294         * sysdeps/powerpc/powerpc64/configure: Regenerate
18296 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
18298         * math/auto-libm-test-in: Add more tests of acos.
18299         * math/auto-libm-test-out: Regenerated.
18300         * sysdeps/i386/fpu/libm-test-ulps: Update.
18301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18303         * math/auto-libm-test-in: Add more tests of expm1.
18304         * math/auto-libm-test-out: Regenerated.
18305         * sysdeps/i386/fpu/libm-test-ulps: Update.
18306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18308 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
18310         * math/auto-libm-test-in: Add more tests of cosh and sinh.
18311         * math/auto-libm-test-out: Regenerated.
18312         * sysdeps/i386/fpu/libm-test-ulps: Update.
18313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18315         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18318         * math/auto-libm-test-in: Add more tests of log2.
18319         * math/auto-libm-test-out: Regenerated.
18320         * sysdeps/i386/fpu/libm-test-ulps: Update.
18321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18323 2015-03-23  Roland McGrath  <roland@hack.frob.com>
18325         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
18326         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
18327         _IO_IS_APPENDING bit in READ_WRITE instead.
18329 2015-03-23  Florian Weimer  <fweimer@redhat.com>
18331         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
18332         (__determine_cpumask_size): Replace extend_alloca with a
18333         variable-length array.  Do not treat res == 0 as an error.
18335 2015-03-23  Florian Weimer  <fweimer@redhat.com>
18337         [BZ #18100]
18338         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
18339         and integer overflow.
18340         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
18341         (main): Add integer overflow tests.
18342         * manual/pattern.texi (Calling Wordexp): Document additional use
18343         for WRDE_SYNTAX.
18345 2015-03-23  Alan Modra  <amodra@gmail.com>
18347         * config.h.in: Remove HAVE_ASM_PPC_REL16.
18348         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
18349         and false branch of conditional.
18350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18351         Likewise.
18353 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
18355         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
18356         libc-modules.h
18357         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
18358         unused declaration of _hurd_intr_rpc_msg_in_trap.
18359         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
18360         defined instead of whether it is non-zero.
18361         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
18362         input constraint instead of both input and output constraint.  Use ecx
18363         clobber instead of %ecx.
18364         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
18365         mutex_unlock): Use a statement expression instead of an expression list.
18366         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
18367         type to vm_size_t instead of vm_address_t.
18368         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
18369         defined instead of whether it is non-zero.
18370         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
18371         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
18372         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
18373         comparisons with mapaddr.
18374         * nscd/nscd-client.h: Include <time.h>.
18375         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
18376         9th parameter to __vm_region instead of int.
18377         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
18378         * scripts/check-local-headers.sh (exclude): Add device/,
18379         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
18380         cthreads.h.
18382 2015-03-19  Roland McGrath  <roland@hack.frob.com>
18384         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
18385         to account for alignment padding.
18386         * sysdeps/arm/memmove.S: Likewise.
18388 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
18390         * sysdeps/unix/sysv/linux/generic/README: New file.
18392 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
18394         [BZ #18138]
18395         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
18396         (futex_abstimed_wait)
18397         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
18398         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
18399         of lll_futex_timed_wait.
18401 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
18403         [BZ #17542]
18404         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
18406 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
18408         [BZ #17090]
18409         [BZ #17620]
18410         [BZ #17621]
18411         [BZ #17628]
18412         * NEWS: Update.
18413         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
18414         entries with Static TLS too.  Skip entries past the end of the
18415         allocated DTV, from Alan Modra.
18416         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
18417         Static TLS DTV entry set up from...
18418         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
18419         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
18420         * nptl/allocatestack.c (init_one_static_tls): ... and here...
18421         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
18422         for Static TLS.
18423         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
18424         that the slot we find is associated with the given map before
18425         using its generation count.
18426         * nptl_db/db_info.c: Include ldsodefs.h.
18427         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
18428         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
18429         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
18430         (link_map::l_tls_offset): New struct field.
18431         (dtv_t::counter): Likewise.
18432         (rtld_global): New struct.
18433         (_rtld_global): New rtld variable.
18434         (dl_tls_dtv_slotinfo_list): New rtld global field.
18435         (dtv_slotinfo_list): New struct.
18436         (dtv_slotinfo): Likewise.
18437         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
18438         (td_lookup): Rename to...
18439         (td_mod_lookup): ... this.  Use new mod parameter instead of
18440         LIBPTHREAD_SO.
18441         * nptl_db/td_thr_tlsbase.c: Include link.h.
18442         (dtv_slotinfo_list, dtv_slotinfo): New functions.
18443         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
18444         addresses even if the DTV is out of date or missing them.
18445         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
18446         index zero-length arrays.
18447         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
18448         (td_lookup): Make it a macro implemented in terms of...
18449         (td_mod_lookup): ... this declaration.
18450         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
18451         (DB_MAIN_VARIABLE): Likewise.
18453 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18455         [BZ #18134]
18456         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18458 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
18460         * stdlib/setenv.c (__add_to_environ): Revert previous change.
18462 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
18464         [BZ #18128]
18465         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
18466         (atomic_add, atomic_increment_and_test)
18467         (atomic_decrement_and_test): Fix 64-bit arithmetic.
18469 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
18471         * stdlib/setenv.c (__add_to_environ):
18472         Dump core quickly if setenv (..., NULL, ...) is called.
18474 2015-03-13  Roland McGrath  <roland@hack.frob.com>
18476         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
18477         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
18478         all the necessary asm magic in one place.
18479         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
18480         using those.
18482 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
18484         [BZ #14906]
18485         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
18486         traced file mtime. Use consistent log message.
18487         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
18488         (register_traced_file): Call install_watches. Always set mtime.
18489         (invalidate_cache): Iterate over all trace files. Call install_watches.
18490         (inotify_check_files): Don't inline. Handle watching parent
18491         directories and configuration file movement in and out.
18492         (handle_inotify_events): New function.
18493         (main_loop_poll): Call handle_inotify_events.
18494         (main_loop_epoll): Likewise.
18495         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
18496         (struct traced_file): Use array of inotify fds. Add parent directory,
18497         and basename.
18498         (struct database_dyn): Remove unused file_mtime.
18499         (init_traced_file): New inline function.
18500         (define_traced_file): New macro.
18501         * nss/nss_db/db-init.c: Use define_traced_file.
18502         (_nss_db_init): Use init_traced_file.
18503         * nss/nss_files/files-init.c: Use define_traced_file.
18504         (_nss_files_init): Use init_traced_file.
18506 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
18508         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
18509         [_LIBC]: Do not include <stdlib.h>.
18510         [!_LIBC] (abort): Remove declaration.
18511         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
18512         _FP_STATIC_ASSERT instead of conditionally calling abort.
18513         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
18514         (_FP_EXTEND_CNAN): Likewise.
18515         (FP_TRUNC): Likewise.
18516         (__FP_CLZ): Likewise.
18517         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
18519 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
18521         * manual/string.texi (XPG basename): Fix prototype.
18523 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18525         [BZ #18080]
18526         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
18527         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
18528         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
18529         (__setcontext): Likewise.
18530         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
18531         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
18532         Call rt_sigprocmask syscall one time to set new signal mask
18533         and retrieve the current signal mask instead of two calls.
18534         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
18535         (__swapcontext): Likewise.
18536         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
18537         * stdlib/tst-setcontext2.c: New file.
18539 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18541         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18543 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
18545         [BZ #18093]
18546         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
18547         the wrong size.
18549 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18551         [BZ #18043]
18552         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
18554 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18556         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
18557         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
18558         Remove define.
18559         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
18560         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
18561         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
18562         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
18563         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
18564         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
18565         define.
18566         * nptl_db/td_symbol_list.c (td_lookup): Remove
18567         HAVE_ASM_GLOBAL_DOT_NAME code.
18568         * sysdeps/powerpc/powerpc64/configure.ac: Remove
18569         HAVE_ASM_GLOBAL_DOT_NAME check.
18570         * sysdeps/powerpc/powerpc64/configure: Regenerate.
18571         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
18572         (DOT_LABEL): Remove define.
18573         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
18574         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
18575         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
18576         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
18577         (__TLS_GET_ADDR): Likewise.
18578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
18579         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
18581 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
18583         [BZ #18111]
18584         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
18585         (_FPU_SETCW): Initialize cw from fpsr before storing.
18586         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
18587         (fesetexceptflag): Rewrite using fpu_control.h.
18588         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
18590 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
18592         [BZ #18110]
18593         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
18594         asms.
18595         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18597 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
18599         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
18600         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
18601         abort.
18602         (_FP_FMA): Likewise.
18603         (_FP_DIV): Likewise.
18605 2015-03-10  Roland McGrath  <roland@hack.frob.com>
18607         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
18608         with 0 in that case.
18609         * Makefile (summarize-tests): New canned sequence, factored out of
18610         commands for targets tests and xtests.  Display summary lines that
18611         don't start with PASS: or XFAIL: rather than ones that do start with
18612         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
18613         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
18614         do start with ERROR: or FAIL:.
18615         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
18616         (except for [$(build-shared) = yes]).
18617         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
18618         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
18619         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
18620         * nptl/Makefile: Revert 2015-03-04 changes.
18621         [$(CXX) empty] (tests-unsupported): New variable.
18622         * debug/Makefile: Likewise.
18624         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
18625         gnulib file.  Replace __attribute with __attribute__ throughout.
18627 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
18629         * sysdeps/hppa/fpu/libm-test-ulps: Update.
18631 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18633         [BZ #18104]
18634         * math/auto-libm-test-in: Add another test of pow.
18635         * math/auto-libm-test-out: Regenerated.
18637 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18639         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
18640         $(config-cflags-nofma).
18642 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18644         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
18645         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
18646         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
18647         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
18648         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
18649         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
18650         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
18651         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
18652         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
18653         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
18654         Add comment on closing #endif.
18656 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18658         * posix/wordexp.c (CHAR_IN_SET): New macro.
18659         (parse_param): Use it.
18661 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18663         * sysdeps/powerpc/fpu/libm-test-ulps: update.
18665 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18667         [BZ #18043]
18668         * posix/wordexp.c (parse_param): Fix buffer overflow.
18669         * posix/wordexp-test.c (test_case): Add test case.
18671 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18673         [BZ #18042]
18674         * posix/wordexp.c (parse_backtick): Fix off-by-one.
18675         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
18677 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18679         [BZ #18043]
18680         * posix/wordexp-test.c (test_case): Add test for BZ #18043
18681         (do_bz18043): Delete.
18682         (at_page_end): New.
18683         (testit): Refactor to have words at the edge of unreadable page.
18685 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18687         [BZ #16734]
18688         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
18689         Cleanup read-only streams as well.
18690         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
18692 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18694         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
18695         <bits/libc-lockP.h>
18697 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
18699         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
18700         on [__KERNEL__].
18701         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
18702         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
18703         * soft-fp/op-common.h (_FP_DECL): Likewise.
18705 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18707         * elf/ifuncdep2.c (global): Replace
18708         __attribute__((visibility("protected"))) with
18709         asm (".protected global").
18710         * elf/ifuncmod1.c (global): Likewise.
18711         * elf/ifuncmod5.c (global): Likewise.
18713 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
18715         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
18716         <asm/sfp-machine.h> instead of <sfp-machine.h>.
18718 2015-03-06  Roland McGrath  <roland@hack.frob.com>
18720         * manual/install.texi (Configuring and compiling):
18721         Document test-wrapper-env-only.
18722         * INSTALL: Regenerated.
18724 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18726         [BZ #18043]
18727         * posix/wordexp.c (parse_param): Fix buffer overflow.
18728         * posix/wordexp-test.c (do_bz18043): Add test case.
18730 2015-03-06  Vincent Bernat  <vincent@bernat.im>
18732         * time/tst-strptime2.c (do_test): Ensure failing tests are
18733         reported correctly.
18734         * time/tst-strptime3.c (do_test): Likewise.
18736 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
18738         Fix aio_error thread-safety.
18739         * sysdeps/pthread/aio_error.c: New file
18740         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
18741         synchronization.
18743 2015-03-06  Florian Weimer  <fweimer@redhat.com>
18745         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
18746         (group_number, vfprintf): Use it.
18747         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
18748         (JUMP, REF): Use it.
18749         (WORK_BUFFER_SIZE): New enum constant.
18750         (process_arg, vfprintf): Use it.
18752 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
18754         * manual/errno.texi (Error Messages): Complete example function
18755         by adding missing #define.
18756         (program_invocation_name): Add statement indicating GNU
18757         extension and reference which header file declares the variable.
18758         (program_invocation_short_name): Likewise.
18760 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
18762         * manual/errno.texi (Error Messages): Delete strerror ISO C89
18763         compatibility note.
18765 2015-03-05  Roland McGrath  <roland@hack.frob.com>
18767         * Makeconfig (test-wrapper-env-only): New variable.
18768         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
18769         then use that with $(test-wrapper-env-only) rather than using
18770         $(test-wrapper-env) $(run-program-env) $($*-ENV).
18772 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
18774         [BZ #18082]
18775         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
18776         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
18777         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
18778         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
18779         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
18780         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
18781         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
18782         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
18783         Likewise.
18784         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
18785         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
18786         Likewise.
18787         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
18788         Likewise.
18789         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
18790         Likewise.
18791         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
18792         Likewise.
18793         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
18794         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
18795         Likewise.
18796         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
18797         Likewise.
18798         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
18799         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
18801 2015-03-04  Roland McGrath  <roland@hack.frob.com>
18803         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
18804         (ETH_ALEN): New macro.
18805         (struct ether_addr): Use it for length of ether_addr_octet.
18807         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
18808         (setdb): Don't call __nss_configure_lookup for "rpc".
18809         (do_test): Don't call test_rpc.
18810         (output_rpcent, test_rpc): Functions moved ...
18811         * sunrpc/test-rpcent.c: ... to this new file.
18812         * sunrpc/Makefile (tests): Add it.
18814         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
18815         __xpg_sigpause.
18816         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
18817         * nptl/tst-signal6.c: Likewise.
18818         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
18819         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
18821         * configure.ac (libc_cv_cxx_link_ok): New check.
18822         Reset CXX to empty if it fails to link.
18823         * configure: Regenerated.
18824         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
18825         bug-atexit3-lib only if $(CXX) is nonempty.
18826         * nptl/Makefile (tests): Likewise for tst-cancel24.
18827         (tests, tests-static): Likewise for tst-cancel24-static.
18828         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
18829         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
18830         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
18831         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
18833 2015-03-04  Andreas Schwab  <schwab@suse.de>
18835         [BZ #17631]
18836         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
18837         for non-GCC compilers.
18838         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18839         Likewise.
18841 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18843         [BZ #17776]
18844         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
18845         integer before bitwise and assembly operations.
18846         (feclearexcept): Likewise.
18847         * math/test-fenvinline.c: New file.
18848         * math/Makefile: Add test-fenvinline test.
18850 2015-03-03  Alan Modra  <amodra@gmail.com>
18852         [BZ #16512]
18853         * scripts/localplt.awk: Strip off symbol version.
18854         * NEWS: Mention bug fix.
18856 2015-03-02  Roland McGrath  <roland@hack.frob.com>
18858         * sysdeps/pthread/timer_routines.c
18859         (timer_free_list, thread_free_list, thread_active_list): Make static.
18861 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
18863         [BZ #17779]
18864         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18865         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18866         Undefine.
18867         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18868         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18869         Likewise.
18870         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18871         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18872         Likewise.
18874 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
18876         [BZ #18036]
18877         * posix/fnmatch_loop.c (END): Detect invalid pattern.
18878         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
18880 2015-03-02  Andreas Schwab  <schwab@suse.de>
18882         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
18883         variable name.
18885 2015-03-02  Florian Weimer  <fweimer@redhat.com>
18887         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
18888         Return error status.
18890 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
18892         [BZ #15969]
18893         * locale/findlocale.c (_nl_find_locale): Introduce const
18894         version of loc_name and drop unsafe type casts.
18896 2015-02-27  Roland McGrath  <roland@hack.frob.com>
18898         * dlfcn/tststatic2.c (main): Converted to ...
18899         (do_test): ... this.
18900         (TEST_FUNCTION): New macro.
18901         Include test-skeleton.c.
18903 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
18905         [BZ #17711]
18906         * elf/Makefile (tests): Add vismain only if PIE is enabled.
18907         (tests-pie): Add vismain.
18908         (CFLAGS-vismain.c): New.
18909         * elf/vismain.c: Add comments for PIE requirement.
18911 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
18913         [BZ #18046]
18914         [BZ #18047]
18915         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
18916         0x1p-56L as threshold for just returning the argument.
18917         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
18918         0x1p-32L as threshold for just returning the argument.
18919         * math/auto-libm-test-in: Add more tests of atanh.
18920         * math/auto-libm-test-out: Regenerated.
18921         * sysdeps/i386/fpu/libm-test-ulps: Update.
18922         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
18924 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
18926         * string/bcopy.c (bcopy): Call memmove for performance.
18928 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
18930         * string/bzero.c (__bzero): Call memset for performance.
18932 2015-02-27  John David Anglin  <dave.anglin@bell.net>
18934         [BZ #18068]
18935         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
18936         to 00100000.
18938 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
18940         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
18942 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
18944         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
18945         (__kernel_standard): Use CSTR macro when setting exc.name.
18946         * sysdeps/ieee754/Makefile [$(subdir) = math]
18947         (CFLAGS-k_standard.c): Remove variable.
18949         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
18950         setting p and q from "else if" to "else".
18951         (qzero): Likewise.
18952         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
18953         (qone): Likewise.
18954         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
18955         (qzerof): Likewise.
18956         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
18957         (qonef): Likewise.
18958         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
18959         (qzero): Likewise.
18960         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
18961         (qone): Likewise.
18963         [BZ #18038]
18964         [BZ #18039]
18965         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
18966         return pi/2 for arguments below 0x1p-113L.
18967         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
18968         return pi/2 for arguments below 0x1p-106L.
18969         * math/auto-libm-test-in: Add more tests of acos.
18970         * math/auto-libm-test-out: Regenerated.
18972         [BZ #16351]
18973         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
18974         (MO): New macro.
18975         (__ieee754_asin): Force underflow exception for results with small
18976         absolute value.
18977         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
18978         (MO): New macro.
18979         (__ieee754_asinf): Force underflow exception for results with
18980         small absolute value.
18981         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
18982         (__ieee754_asin): Force underflow exception for results with small
18983         absolute value.
18984         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
18985         (__ieee754_asinf): Force underflow exception for results with
18986         small absolute value.
18987         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
18988         (__ieee754_asinl): Force underflow exception for results with
18989         small absolute value.
18990         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
18991         (__ieee754_asinl): Force underflow exception for results with
18992         small absolute value.
18993         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
18994         (__ieee754_asinl): Force underflow exception for results with
18995         small absolute value.
18996         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
18997         Include <math.h>.
18998         * math/auto-libm-test-in: Do not mark underflow exceptions as
18999         possibly missing for bug 16351.
19000         * math/auto-libm-test-out: Regenerated.
19002         [BZ #18030]
19003         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
19004         of power of 2 down when low part has opposite sign.
19005         * math/libm-test.inc (logb_test_data): Add more tests.
19007 2015-02-26  Andreas Schwab  <schwab@suse.de>
19009         [BZ #18032]
19010         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
19011         over collating symbol inside a bracket expression.  Minor cleanup.
19012         * posix/tst-fnmatch3.c (do_test): Add test case.
19014 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
19016         [BZ #18029]
19017         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
19018         Adjust exponent of power of 2 down when low part has opposite
19019         sign.
19020         * math/libm-test.inc (ilogb_test_data): Add more tests.
19022 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
19024         [BZ #15969]
19025         * locale/findlocale.c (_nl_find_locale): Fix constness error in
19026         the previous change.
19028         [BZ #15969]
19029         * locale/findlocale.c (_nl_find_locale): Retry archive search
19030         after alias expansion.
19032 2015-02-25  Roland McGrath  <roland@hack.frob.com>
19034         * iconv/tst-iconv3.c (main): Converted to ...
19035         (do_test): ... this.
19036         (TEST_FUNCTION): New macro.
19037         Include test-skeleton.c.
19039         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
19040         (convert): Make function static.
19041         (test_unalign): Likewise.  Add const to argument pointee types.
19042         (main): Replace with static function do_test.
19043         Print "Succeeded." only if RET is zero.
19044         (TEST_FUNCTION): New macro.
19045         Include test-skeleton.c.
19047         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
19048         returns a null pointer.
19050 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19052         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
19053         to __memcpy_ppc only for static builds.
19055 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
19057         [BZ #18020]
19058         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
19059         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
19060         * math/auto-libm-test-in: Add more tests of asinh.
19061         * math/auto-libm-test-out: Regenerated.
19062         * sysdeps/i386/fpu/libm-test-ulps: Update.
19063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19065 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
19067         [BZ #15850]
19068         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
19069         and ip6_mtuinfo definitions here.
19070         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
19071         in this define too.  Update comment.
19073 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
19075         * elf/sprof.c (load_shobj): Tweak error message to match others.
19077 2015-02-24  Kevin Easton  <kevin@guarana.org>
19079         [BZ #16145] (partial fix)
19080         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
19081         to reduce lock contention.
19083 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
19085         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
19086         (struct timex): Update time comment.
19087         (ADJ_SETOFFSET): Define.
19089 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
19091         [BZ #18019]
19092         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19093         2**56 not 2**28 as threshold for log (2x) formula.
19094         * math/auto-libm-test-in: Add more tests of acosh.
19095         * math/auto-libm-test-out: Regenerated.
19096         * sysdeps/i386/fpu/libm-test-ulps: Update.
19097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19099 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
19101         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
19102         parenthesis around the buf assignment.
19103         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
19105 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
19107         [BZ #16783]
19108         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
19109         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
19110         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
19111         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19112         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19113         * math/libm-test.inc (scalb_test_data): Add more tests.
19115 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19117         [BZ #17916]
19118         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
19119         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
19121 2015-02-24  Eric Rannaud  <e@nanocritical.com>
19123         [BZ #17523]
19124         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
19125         * io/bits/fcntl2.h (open): Use it.
19126         (openat): Likewise.
19127         * io/open.c (__libc_open): Likewise.
19128         * io/open64.c (__libc_open64): Likewise.
19129         * io/open64_2.c (__open64_2): Likewise.
19130         * io/open_2.c (__open_2): Likewise.
19131         * io/openat.c (__openat): Likewise.
19132         * io/openat64.c (__openat64): Likewise.
19133         * io/openat64_2.c (__openat64_2): Likewise.
19134         * io/openat_2.c (__openat_2): Likewise.
19135         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
19136         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
19137         * sysdeps/posix/open64.c (__libc_open64): Likewise.
19138         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
19139         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
19140         (__open_nocancel): Likewise.
19141         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
19142         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
19143         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
19145 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19147         [BZ #14841]
19148         * resolv/gethnamaddr.c (getanswer): Skip logging if
19149         RES_USE_DNSSEC is set.
19150         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19152 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
19154         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
19156 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
19158         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
19159         201304L, for Unicode 7.
19161 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
19163         [BZ #17836]
19164         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
19165         shared library.  Add gmon-start.os otherwise.
19166         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
19167         $(objpfx)gmon-start.os if builing shared library.
19168         ($(objpfx)g$(static-start-installed-name)): Likewise.
19170 2015-02-23  Andreas Schwab  <schwab@suse.de>
19172         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
19174 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
19176         [BZ #17269]
19177         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
19178         (enlarge_userbuf): Likewise.
19180 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
19182         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
19183         * math/atest-exp.c (TIMEOUT): Adjust to 200.
19184         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
19185         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
19187 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
19189         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
19190         expression inside statement expression.
19192 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
19194         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
19195         <sysdeps/nptl/lowlevellock.h> and remove macros and
19196         functions that are now defined there.
19197         (SYS_futex): Remove.
19198         (lll_compare_and_swap): Remove.
19199         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
19201 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
19203         [BZ #17999]
19204         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
19205         instead of scandirat.
19206         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
19207         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
19208         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
19209         __scandirat.
19210         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
19211         (__scandirat): Declare.  Use libc_hidden_proto.
19212         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
19213         Remove variable.
19214         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
19216 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
19218         [BZ #15319]
19219         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
19220         (MO): New macro.
19221         (__ieee754_atan2): For results with small absolute value, force
19222         underflow exception and remove excess range and precision from
19223         return value.
19224         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
19225         (MO): New macro.
19226         (__ieee754_atan2f): For results with small absolute value, force
19227         underflow exception and remove excess range and precision from
19228         return value.
19229         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
19230         (MO): New macro.
19231         (__atan): For results with small absolute value, force underflow
19232         exception and remove excess range and precision from return value.
19233         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
19234         (MO): New macro.
19235         (__atanf): For results with small absolute value, force underflow
19236         exception and remove excess range and precision from return value.
19237         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
19238         <math.h>.
19239         (__ieee754_atan2): Force underflow exception for results with
19240         small absolute value.
19241         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
19242         <math_private.h>.
19243         (atan): Force underflow exception for results with small absolute
19244         value.
19245         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
19246         (__atanf): Force underflow exception for results with small
19247         absolute value.
19248         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
19249         <math.h>.
19250         (__atanl): Force underflow exception for results with small
19251         absolute value.
19252         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
19253         (__atanl): Force underflow exception for results with small
19254         absolute value.
19255         * sysdeps/x86/fpu/bits/mathinline.h
19256         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
19257         (__ieee754_atan2): Only define inline for long double.
19258         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
19259         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
19260         * math/auto-libm-test-in: Do not mark underflow exceptions as
19261         possibly missing for bug 15319.  Add more tests of atan2.
19262         * math/auto-libm-test-out: Regenerated.
19263         * math/libm-test.inc (casin_test_data): Do not mark underflow
19264         exceptions as possibly missing for bug 15319.
19265         (casinh_test_data): Likewise.
19266         * sysdeps/i386/fpu/libm-test-ulps: Update.
19268 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
19270         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
19271         * sysdeps/mips/bits/endian.h: Fix comments.
19273 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
19275         [BZ #17996]
19276         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
19277         (hdestroy_r): Likewise.
19278         (hsearch_r): Likewise.
19279         (__hcreate_r): Declare and use libc_hidden_proto.
19280         (__hdestroy_r): Likewise.
19281         (__hsearch_r): Likewise.
19282         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
19283         (hcreate): Call __hcreate_r instead of hcreate_r.
19284         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
19285         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
19286         as weak alias of __hcreate_r.
19287         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
19288         __hdestroy_r.
19289         (hsearch_r): Rename to __hsearch_r and define as weak alias of
19290         __hsearch_r.
19291         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
19292         Remove variable.
19293         (test-xfail-XPG4/search.h/linknamespace): Likewise.
19294         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
19295         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
19296         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
19298 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19300         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
19301         arena_lock into a single arena_get.
19303 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
19305         * dl-reloc.c: Inlucde libc-internal.h.
19306         (_dl_try_allocate_static_tls): Call ALIGN_UP.
19307         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
19308         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
19309         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
19310         (grow_heap): Likewise.
19311         * malloc/malloc.c: Include libc-internal.h.
19312         (do_check_malloc): Call powerof2.
19313         (sysmalloc): Use pagesize. Call ALIGN_UP.
19314         (systrim): Use pagesize.
19315         (mremap_chunk): Use pagesize. Call ALIGN_UP.
19316         (__libc_valloc): Use pagesize.
19317         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
19319 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
19321         [BZ #17991]
19322         * include/sys/resource.h (__getrlimit64): Declare.  Use
19323         libc_hidden_proto.
19324         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
19325         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
19326         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
19327         getrlimit64.
19328         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
19329         __getrlimit64.
19330         [!getrlimit64] (getrlimit64): Define as weak alias of
19331         __getrlimit64.  Use libc_hidden_weak.
19332         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
19333         using __getrlimit64 not __new_getrlimit64.
19334         (__GI_getrlimit64): Likewise.
19335         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
19336         Likewise.
19337         (__GI_getrlimit64): Likewise.
19338         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
19339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
19340         (getrlimit): Add __getrlimit64 alias.
19341         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
19342         Likewise.
19343         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
19344         Remove variable.
19345         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
19346         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
19348 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
19350         * libio/fileops.c: Add missing sys/mman.h
19351         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
19353 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
19355         * manual/math.texi (Errors in Math Functions): Clarify goals
19356         regarding inexact and underflow exceptions.
19358 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
19360         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
19361         * sysdeps/mips/memset.S: Ditto.
19363 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
19365         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
19367 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19369         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
19370         (__v1longjmp): Remove versioned symbol.
19371         (__v1siglongjmp): Remove alias and versioned symbol.
19372         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
19373         (__v2siglongjmp): Likewise.
19375 2015-02-16  Torvald Riegel  <triegel@redhat.com>
19377         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
19379 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
19381         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
19383 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
19385         [BZ #17987]
19386         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
19387         zero result does not depend on the sign resulting from
19388         subtraction.
19389         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19390         Likewise.
19391         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
19392         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
19393         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19394         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
19395         * math/libm-test.inc (remquo_test_data): Add more tests.
19397 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
19399         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
19400         Problem reported by J William Piggott.
19402 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
19404         [BZ #17978]
19405         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
19406         products 4 * y and 2 * y where those would overflow.
19407         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19408         Likewise.
19409         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
19410         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
19411         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19412         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
19413         * math/libm-test.inc (remquo_test_data): Add more tests.
19415         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
19417         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
19418         [defined _COMPILING_NEWLIB].
19419         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
19420         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
19422         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
19423         [!defined __mips_isa_rev || __mips_isa_rev < 6].
19425 2015-02-16  Torvald Riegel  <triegel@redhat.com>
19427         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
19428         acquired.
19430 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
19432         [BZ #17792]
19433         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
19434         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
19435         HOST_STACK_END_ADDR): Likewise.
19437 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
19439         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
19440         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
19441         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
19443 2015-02-13  Roland McGrath  <roland@hack.frob.com>
19445         * sysdeps/generic/c++-types.data: New file.
19446         * sysdeps/generic/ld.abilist: New file.
19447         * sysdeps/generic/libBrokenLocale.abilist: New file.
19448         * sysdeps/generic/libanl.abilist: New file.
19449         * sysdeps/generic/libc.abilist: New file.
19450         * sysdeps/generic/libcrypt.abilist: New file.
19451         * sysdeps/generic/libdl.abilist: New file.
19452         * sysdeps/generic/libm.abilist: New file.
19453         * sysdeps/generic/libpthread.abilist: New file.
19454         * sysdeps/generic/libresolv.abilist: New file.
19455         * sysdeps/generic/librt.abilist: New file.
19457 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
19459         [BZ #17569]
19460         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19461         Compute absolute value of x as modified by fmod, not original
19462         value of x.
19463         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
19464         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
19465         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
19466         RUN_TEST_ffI_f1_mod8.
19467         (remquo_test_data): Add more tests.
19469 2015-02-13  Roland McGrath  <roland@hack.frob.com>
19471         * sysdeps/init_array/pt-crti.S: New file.
19473 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
19475         [BZ #17967]
19476         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
19477         __builtin_fmaf instead of relying on contraction of a * b + c.
19479 2015-02-12  J William Piggott  <elseifthen@gmx.com>
19481         [BZ #17969]
19482         * manual/time.texi: correct the zoneinfo path in the TZ Variable
19483         node.
19485 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
19487         [BZ #17964]
19488         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
19489         __builtin_fma instead of relying on contraction of a * b + c.
19491 2015-02-12  Roland McGrath  <roland@hack.frob.com>
19493         * Makeconfig (ASFLAGS): Add -Werror=undef.
19494         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
19495         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
19496         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
19498         * Makeconfig (after-link): New variable.
19499         (+link-pie, +link-pie-tests): Use it.
19500         (+link-static, +link-static-tests): Likewise.
19501         (+link, +link-tests): Likewise.
19502         * Makerules (build-module, build-module-asneeded): Likewise.
19503         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
19504         Likewise.
19505         * elf/Makefile ($(objpfx)ld.so): Likewise.
19507 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
19509         [BZ #17965]
19510         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
19511         both struct timeval and struct timespec.
19513 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
19515         [BZ #16560]
19516         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19517         and redefine.
19518         (__ieee754_exp2l): Do not multiply small fractional parts by
19519         M_LN2l.
19520         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
19521         small argument.
19522         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19523         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19524         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
19525         * math/auto-libm-test-in: Add more tests of exp2.
19526         * math/auto-libm-test-out: Regenerated.
19528 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19530         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
19531         unaligned path.
19533 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19535         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
19536         little endian.
19538 2015-02-12  Andreas Schwab  <schwab@suse.de>
19540         [BZ #15790]
19541         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
19542         Filter out elision flags from value returned in kind.
19543         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
19544         * nptl/tst-pthread-mutexattr.c: New file.
19546 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19548         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
19549         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
19550         into gnu-gnu, and update comment to refer to abi-tags.
19552 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
19554         [BZ #15467]
19555         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
19556         (__sincos): Set errno to EDOM for infinite argument.
19557         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
19558         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
19559         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
19560         (__sincosl): Set errno to EDOM for infinite argument.
19561         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
19562         (__sincosl): Set errno to EDOM for infinite argument.
19563         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
19564         (__sincosl): Set errno to EDOM for infinite argument.
19565         * math/libm-test.inc (sincos_test_data): Test errno setting.
19567 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
19569         * string/strxfrm_l.c: Remove #define STRCMP.
19570         * string/strcoll_l.c: Remove #define STRLEN.
19571         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
19572         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
19574 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
19576         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
19577         * sysdeps/mips/mips32/sfp-machine.h: ... here.
19578         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
19579         * sysdeps/mips/mips64/Makefile: ... here.
19580         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
19581         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
19582         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
19583         * sysdeps/mips/mips64/sfp-machine.h: ... here.
19584         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
19585         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
19586         * sysdeps/mips/mips64/n64/Implies: Likewise.
19588 2015-02-10  Roland McGrath  <roland@hack.frob.com>
19590         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
19591         <sys/time.h>, <string.h>, and <errno.h>.
19592         (dest_offset, dest_address, value, zero): Remove unused variables.
19593         (ldouble): Remove typedef.
19594         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
19595         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
19596         1).  Fix code style.
19597         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
19598         (check): Function removed.
19599         (CHECK): New macro.
19600         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
19601         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
19602         Don't call set_sigaction_FP and remove_sigaction_FP here.
19603         (ldouble_test): Just use 'long double' as macro argument, no need for
19604         the 'ldouble' typedef.
19605         (do_test): Set up SIGFPE handler at start, using plain signal rather
19606         than sigaction.  Fix code style.
19608 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
19610         [BZ #17949]
19611         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
19612         jump label.
19614 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19616         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
19617         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19619         * sysdeps/powerpc/configure.ac: Remove file.
19620         * sysdeps/powerpc/configure: Likewise.
19622         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19623         [sysdep_routines]: Remove wordcopy-power6 object.
19624         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
19625         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
19626         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
19627         (__memmove_ppc32): Likewise.
19628         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
19629         file.
19630         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
19631         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
19632         Remove preprocessor.
19634         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19635         [sysdep_routines]: Remove wide chars objects.
19636         [wcsmbs]: New rule for wide char objects.
19638         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19639         Remove wordcopy-power6 obejct.
19640         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
19641         Use local call for wordcopy and memcpy symbols.
19642         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
19643         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
19644         implementation for loader.
19645         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
19647         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19648         Remove wordcopy-power7 object.
19649         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
19650         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
19651         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
19652         (_wordcopy_fwd_dest_aligned): Likewise.
19653         (_wordcopy_bwd_aligned): Likewise.
19654         (_wordcopy_bwd_dest_aligned): Likewise.
19656         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
19657         Rewrite to call __memmove_ppc instead of include default
19658         implementation.
19660         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19661         Remove wide chars objects.
19662         [wcsmbs]: New rule for wide char objects.
19664 2015-02-09  Andreas Schwab  <schwab@suse.de>
19666         [BZ #17912]
19667         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19668         in terms of __O_DIRECTORY.
19670 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19672         * time/getdate.c: Include <stdbool.h>.
19673         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
19674         call PTR_MANGLE.
19675         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
19676         PTR_DEMANGLE.
19678 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
19680         Add ersatz _Static_assert on older C hosts
19681         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
19682         pre-C11 C platform that is not known to support _Static_assert.
19684 2015-02-07  Richard Braun  <rbraun@sceen.net>
19686         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
19687         sigstate.
19688         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
19690 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19692         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
19693         priority against unexistent AIO_PRIO_DELTA_MAX.
19694         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
19695         instead of int.
19696         * misc/fchflags.c (fchflags): Likewise.
19697         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
19698         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
19699         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
19700         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
19701         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
19702         Declare macros.
19703         [__USE_MISC] (chflags, fchflags): Declare functions.
19704         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
19705         EINVAL when nfds is greater than FD_SETSIZE.
19706         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
19707         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
19708         45.
19709         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
19710         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
19711         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
19712         MACH_RCV_TIMED_OUT.
19713         * hurd/hurd/signal.h (_hurd_self_sigstate,
19714         _hurd_critical_section_lock, _hurd_critical_section_unlock):
19715         Explicit casts from void *.
19716         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
19717         * abi-tags: Rename gnu-gnu os into gnu.
19719         [BZ #4719]
19720         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
19721         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
19722         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
19723         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
19724         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
19725         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
19727         [BZ #17944]
19728         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
19729         duplicates ADDR->sun_path with sockaddr LEN limitation.
19730         * sysdeps/mach/hurd/connect.c: Include <string.h>
19731         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
19732         * sysdeps/mach/hurd/sendmsg.c: Likewise.
19733         * sysdeps/mach/hurd/sendto.c: Likewise.
19734         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
19735         implementing it by hand.
19737 2015-02-06  Roland McGrath  <roland@hack.frob.com>
19739         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
19740         Use sfi_breg on ldr.
19741         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
19742         Likewise.
19744         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
19745         it's defined.
19746         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
19747         Test SIGSETXID only if it's defined.
19749         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
19751         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
19752         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
19754         * nptl/tst-align2.c: Moved ...
19755         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
19756         * nptl/Makefile (tests): Remove tst-align2.
19757         * sysdeps/unix/sysv/linux/Makefile
19758         [$(subdir) = nptl] (tests): Add tst-align-clone.
19759         * nptl/tst-getpid1.c: Moved ...
19760         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
19761         * nptl/tst-getpid2.c: Moved ...
19762         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
19763         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
19764         * sysdeps/unix/sysv/linux/Makefile
19765         [$(subdir) = nptl] (tests): ... here.
19766         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
19767         * sysdeps/unix/sysv/linux/Makefile
19768         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
19770         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
19771         Drop trailing \n from perror argument.  Use return rather than exit.
19773         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
19774         on [SA_SIGINFO].
19775         * nptl/tst-cancel21.c (do_test): Likewise.
19776         * debug/tst-backtrace6.c: Include <signal.h> first thing.
19777         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
19778         [!SA_SIGINFO]: Make it a stub test.
19780         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
19781         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
19783         * posix/tst-getlogin.c: Move to ...
19784         * login/tst-getlogin.c: ... here.
19785         * posix/Makefile (tests): Move tst-getlogin to ...
19786         * login/Makefile (tests): ... here.
19788         * libio/tst-atime.c (do_test): Move local variables SV and E
19789         inside [ST_NOATIME] conditional.
19791         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
19793         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
19795         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
19796         (wait_code): New function replaces macro.
19797         Call nanosleep rather than syscall.
19799         * nptl/pt-system.c: Rewritten.  Put everything under
19800         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19801         Use IFUNC to redirect when possible.
19803         * nptl/pt-longjmp.c: Rewritten.  Put everything under
19804         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19805         Use IFUNC to redirect when possible.
19807         * nptl/pt-fork.c: Rewritten.  Put everything under
19808         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19809         Use IFUNC to redirect when possible.
19810         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
19812         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
19813         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
19814         unconditionally nowadays.  This included the only reference to
19815         __vdso_clock_gettime that appears outside libc proper.
19816         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
19817         Remove version set (containing only __vdso_clock_gettime).
19818         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
19819         Add attribute_hidden.
19820         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
19821         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
19822         libc_hidden_data_def.
19823         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19824         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19826         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
19827         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
19828         setrpcent, and getrpcport to ...
19829         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
19830         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
19831         getrpcbynumber_r, and getrpcent_r to ...
19832         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
19833         * inet/getrpcbyname.c: Moved ...
19834         * sunrpc/getrpcbyname.c: ... here.
19835         * inet/getrpcbyname_r.c: Moved ...
19836         * sunrpc/getrpcbyname_r.c: ... here.
19837         * inet/getrpcbynumber.c: Moved ...
19838         * sunrpc/getrpcbynumber.c: ... here.
19839         * inet/getrpcbynumber_r.c: Moved ...
19840         * sunrpc/getrpcbynumber_r.c: ... here.
19841         * inet/getrpcent.c: Moved ...
19842         * sunrpc/getrpcent.c: ... here.
19843         * inet/getrpcent_r.c: Moved ...
19844         * sunrpc/getrpcent_r.c: ... here.
19845         * inet/Makefile (routines): Move those to ...
19846         * sunrpc/Makefile (routines): ... here.
19847         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
19848         the $(subdirs) list.
19849         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
19850         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
19851         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
19852         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
19854         * elf/Makefile (routines): Include $(all-dl-routines), not just
19855         $(dl-routines).
19856         (rtld-routines): Likewise.  Use = rather than :=.
19857         * sysdeps/aarch64/Makefile [$(subdir) = elf]
19858         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
19859         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
19860         * sysdeps/arm/Makefile: Likewise.
19861         * sysdeps/i386/Makefile: Likewise.
19862         * sysdeps/x86_64/Makefile: Likewise.
19863         * sysdeps/hppa/Makefile [$(subdir) = elf]
19864         (sysdep_routines, sysdep-rtld-routines): Don't add
19865         $(sysdep-dl-routines) to these.
19866         * sysdeps/ia64/Makefile: Likewise.
19867         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
19868         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
19869         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
19870         Don't add dl-static to these; sysdep-dl-routines alone is enough.
19871         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
19872         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
19873         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
19874         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
19875         * sysdeps/powerpc/Makefile [$(subdir) = elf]
19876         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
19877         these; sysdep-dl-routines alone is enough.
19879 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
19881         [BZ #17932]
19882         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
19883         where multiplication results in zero and third argument is finite
19884         and nonzero.
19885         * math/auto-libm-test-in: Add more tests of fma.
19886         * math/auto-libm-test-out: Regenerated.
19888         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
19889         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
19890         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
19891         (_FP_CMP_EQ): Likewise.
19892         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
19894         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
19895         extra argument CHECK_NAN.  Redefine as wrapper around
19896         _FP_EXTEND_CNAN.
19898 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
19900         * version.h (RELEASE): Set to "stable".
19901         (VERSION): Set to "2.21"
19902         * include/features.h (__GLIBC_MINOR__): Set to 21.
19904         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
19906 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19907             Paul Eggert  <eggert@cs.ucla.edu>
19909         [BZ #16618]
19910         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
19911         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
19912         size in bytes. Store needed elements in wpmax. Use needed size
19913         in bytes for extend_alloca.
19915 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
19917         * manual/install.texi: Latest tested versions are GCC 4.9.2,
19918         binutls 2.25, and texinfo 5.2.
19919         * INSTALL: Regenerate.
19920         * sysdeps/nios2/configure: Regenerate.
19921         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
19922         * manual/contrib.texi: Update.
19923         * po/be.po: Update.
19924         * po/bg.po: Update.
19925         * po/ca.po: Update.
19926         * po/cs.po: Update.
19927         * po/da.po: Update.
19928         * po/de.po: Update.
19929         * po/el.po: Update.
19930         * po/eo.po: Update.
19931         * po/es.po: Update.
19932         * po/fi.po: Update.
19933         * po/fr.po: Update.
19934         * po/gl.po: Update.
19935         * po/hr.po: Update.
19936         * po/hu.po: Update.
19937         * po/ia.po: Update.
19938         * po/id.po: Update.
19939         * po/it.po: Update.
19940         * po/ja.po: Update.
19941         * po/ko.po: Update.
19942         * po/lt.po: Update.
19943         * po/nb.po: Update.
19944         * po/nl.po: Update.
19945         * po/pl.po: Update.
19946         * po/pt_BR.po: Update.
19947         * po/ru.po: Update.
19948         * po/rw.po: Update.
19949         * po/sk.po: Update.
19950         * po/sl.po: Update.
19951         * po/sv.po: Update.
19952         * po/tr.po: Update.
19953         * po/uk.po: Update.
19954         * po/vi.po: Update.
19955         * po/zh_CN.po: Update.
19956         * po/zh_TW.po: Update.
19958         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
19959         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
19960         * sysdeps/hppa/dl-irel.h: Remove #warning.
19961         * sysdeps/hppa/entry.h: Provide prototype for
19962         __canonicalize_funcptr_for_compare and cast argument.
19963         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
19964         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
19965         * sysdeps/hppa/sotruss-lib.c: New file.
19966         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
19967         (atomic_compare_and_exchange_val_acq): Use __typeof__.
19968         (atomic_compare_and_exchange_bool_acq): Likewise.
19969         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
19970         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
19972         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
19973         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
19974         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
19976 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
19978         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
19979         called function in non-PIC case.
19981 2015-01-31  David S. Miller  <davem@davemloft.net>
19983         * sysdeps/sparc/sparc32/bits/atomic.h
19984         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
19985         unlock not after it.
19986         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
19987         volatile register usage warnings from the compiler.
19989         * sysdeps/sparc/nptl/sem_init.c: Delete.
19990         * sysdeps/sparc/nptl/sem_post.c: Delete.
19991         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
19992         * sysdeps/sparc/nptl/sem_wait.c: Delete.
19993         * sysdeps/sparc/sparc32/sem_init.c: New file.
19994         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
19995         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
19996         padding explicitly initialized.
19997         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
19998         padding for in-semaphore spinlock.
19999         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
20000         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
20001         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
20002         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
20003         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
20004         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
20005         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
20006         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
20007         version.
20008         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
20009         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
20011 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
20013         [BZ #17801]
20014         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20015         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
20016         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
20017         New.
20018         (index_AVX_Fast_Unaligned_Load): Likewise.
20019         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
20020         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
20021         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
20022         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
20023         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
20024         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
20025         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
20026         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
20027         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
20029 2015-01-29  Andreas Schwab  <schwab@suse.de>
20031         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
20033 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
20035         [BZ #17892]
20036         * nscd/nscd_stat.c (send_stats): Initialize DATA.
20038 2015-01-28  Martin Sebor  <msebor@redhat.com>
20040         * math/README.libm-test: Clarify. Add "How to read the test output."
20042 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
20044         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
20045         Define to 0.
20047 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
20049         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
20050         (__HAVE_64B_ATOMICS): Define to 0.
20052 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20054         [BZ #17885]
20055         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
20056         value to set as new flag.
20058         [BZ #16576]
20059         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
20060         and use _ARCH_PPCSQ instead.
20061         (__ieee754_sqrt): Likewise.
20062         (__ieee754_sqrtf): Likewise.
20063         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
20064         _ARCH_PPCSQ is defined.
20065         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
20066         fsqrt instruction.
20067         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
20068         _ARCH_PPCSQ is defined.
20069         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
20070         fsqrts instruction.
20071         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
20073 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20075         * iconv/loop.c: Suppress array out of bound warning caused by GCC
20076         bug (GCC BZ #64739).
20078 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
20080         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
20081         Mark _retval as used.
20082         (lll_futex_wake_unlock): Likewise.
20083         (lll_futex_timed_wait_requeue_pi): Likewise.
20085         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
20086         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
20087         register variables.
20089         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
20090         libm_hidden_def.
20092         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
20093         (__bswap_64): Mark as __always_inline.
20095 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
20097         [BZ #15378]
20098         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
20099         when none of the search directories exist.
20101 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20103         [BZ #17869]
20104         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
20105         power8 in .machine directive.
20107         [BZ #17868]
20108         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
20109         set dependency from opd value.
20111 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
20113         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20114         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
20115         architecture.
20117 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
20119         [BZ #17870]
20120         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
20121         with uint64_t.
20122         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
20123         (uint64_t) 1.
20124         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
20125         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
20126         Replace 1UL with (uint64_t) 1.
20127         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
20128         int with uint64_t.
20130 2015-01-23  Roland McGrath  <roland@hack.frob.com>
20132         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
20133         (if_freenameindex): Likewise.
20135         * resource/getrlimit64.c: Add missing libc_hidden_def.
20137 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
20139         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
20140         __label__.
20141         (_FP_FMA): Likewise.
20142         (_FP_TO_INT_ROUND): Likewise.
20143         (_FP_FROM_INT): Likewise.
20145 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20147         [BZ #16418]
20148         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
20149         Make code racy and cancel safe.
20151 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
20153         * sysdeps/arm/unwind-resume.h: Fix copyright year.
20154         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
20155         attribution.
20157         * pwd/tst-getpw.c: Rewrite.
20159         [BZ #17702]
20160         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
20161         (modules-names): Add moddummy1 and moddummy2.
20162         ($(objpfx)tst-rec-dlopen): Define.
20163         * dlfcn/moddummy1.c: New file.
20164         * dlfcn/moddummy2.c: New file.
20165         * dlfcn/tst-rec-dlopen.c: New file.
20166         * elf/dl-cache.c (_dl_load_cache_lookup):
20167         Return char*. Copy result with alloca/strcpy/strdup.
20168         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
20169         returns char*. Free cached. If not saving realname
20170         free cached.
20171         * elf/dl-open.c (dl_open_worker): Do not assert that
20172         _r_debug->r_state is RT_CONSISTENT.
20173         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
20174         returns char*.
20176 2015-01-21  Torvald Riegel  <triegel@redhat.com>
20177             Carlos O'Donell  <carlos@redhat.com>
20179         [BZ #12674]
20180         * nptl/sem_waitcommon.c: New file.
20181         * nptl/sem_wait.c: Include sem_waitcommon.c.
20182         (__sem_wait_cleanup, do_futex_wait): Remove.
20183         (__new_sem_wait): Adapt.
20184         (__new_sem_trywait): New function.
20185         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
20186         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
20187         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
20188         (sem_timedwait): Adapt.
20189         * nptl/sem_post.c (__new_sem_post): Adapt.
20190         (futex_wake): New function.
20191         (__old_sem_post): Add release MO fence.
20192         * nptl/sem_open.c (sem_open): Adapt.
20193         * nptl/sem_init.c (__new_sem_init): Adapt.
20194         (futex_private_if_supported): New function.
20195         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
20196         (__old_sem_getvalue): Add using previous code.
20197         * sysdeps/nptl/internaltypes.h: Adapt.
20198         * nptl/tst-sem13.c (do_test): Adapt.
20199         * nptl/tst-sem11.c (main): Adapt.
20200         * nptl/sem_trywait.c: Remove.
20201         * nptl/DESIGN-sem.txt: Remove.
20202         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
20203         (gen-as-const-headers): Remove structsem.sym.
20204         * nptl/structsem.sym: Remove.
20205         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
20206         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
20207         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
20208         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
20209         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
20210         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
20211         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
20212         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
20213         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
20214         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
20215         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
20216         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
20217         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
20218         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
20219         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
20220         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
20221         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
20222         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
20223         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
20224         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
20225         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
20226         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
20228 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
20230         * INSTALL: Regenerated.
20232         * po/libc.pot: Regenerated.
20234 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
20235             Sandra Loosemore  <sandra@codesourcery.com>
20236             Andrew Jenner  <andrew@codesourcery.com>
20237             Joseph Myers  <joseph@codesourcery.com>
20238             Nathan Sidwell  <nathan@codesourcery.com>
20240         * NEWS: Mention new Nios II port.
20241         * sysdeps/nios2/Implies: New file.
20242         * sysdeps/nios2/Makefile: New file.
20243         * sysdeps/nios2/Subdirs: New file.
20244         * sysdeps/nios2/Versions: New file.
20245         * sysdeps/nios2/__longjmp.S: New file.
20246         * sysdeps/nios2/abort-instr.h: New file.
20247         * sysdeps/nios2/backtrace.c: New file.
20248         * sysdeps/nios2/bits/endian.h: New file.
20249         * sysdeps/nios2/bits/fenv.h: New file.
20250         * sysdeps/nios2/bits/link.h: New file.
20251         * sysdeps/nios2/bits/setjmp.h: New file.
20252         * sysdeps/nios2/bsd-_setjmp.S: New file.
20253         * sysdeps/nios2/bsd-setjmp.S: New file.
20254         * sysdeps/nios2/configure: New generated file.
20255         * sysdeps/nios2/configure.ac: New file.
20256         * sysdeps/nios2/crti.S: New file.
20257         * sysdeps/nios2/crtn.S: New file.
20258         * sysdeps/nios2/dl-init.c: New file.
20259         * sysdeps/nios2/dl-machine.h: New file.
20260         * sysdeps/nios2/dl-sysdep.h: New file.
20261         * sysdeps/nios2/dl-tls.h: New file.
20262         * sysdeps/nios2/dl-trampoline.S: New file.
20263         * sysdeps/nios2/gccframe.h: New file.
20264         * sysdeps/nios2/gmp-mparam.h: New file.
20265         * sysdeps/nios2/jmpbuf-offsets.h: New file.
20266         * sysdeps/nios2/jmpbuf-unwind.h: New file.
20267         * sysdeps/nios2/ldsodefs.h: New file.
20268         * sysdeps/nios2/libc-tls.c: New file.
20269         * sysdeps/nios2/libm-test-ulps: New file.
20270         * sysdeps/nios2/machine-gmon.h: New file.
20271         * sysdeps/nios2/math-tests.h: New file.
20272         * sysdeps/nios2/math_private.h: New file.
20273         * sysdeps/nios2/memusage.h: New file.
20274         * sysdeps/nios2/nptl/Makefile: New file.
20275         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
20276         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
20277         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
20278         * sysdeps/nios2/nptl/pthreaddef.h: New file.
20279         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
20280         * sysdeps/nios2/nptl/tls.h: New file.
20281         * sysdeps/nios2/preconfigure: New file.
20282         * sysdeps/nios2/s_fma.c: New file.
20283         * sysdeps/nios2/s_fmaf.c: New file.
20284         * sysdeps/nios2/setjmp.S: New file.
20285         * sysdeps/nios2/sfp-machine.h: New file.
20286         * sysdeps/nios2/sotruss-lib.c: New file.
20287         * sysdeps/nios2/stackguard-macros.h: New file.
20288         * sysdeps/nios2/stackinfo.h: New file.
20289         * sysdeps/nios2/start.S: New file.
20290         * sysdeps/nios2/sysdep.h: New file.
20291         * sysdeps/nios2/tls-macros.h: New file.
20292         * sysdeps/nios2/tst-audit.h: New file.
20293         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
20294         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
20295         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
20296         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
20297         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
20298         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
20299         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
20300         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
20301         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
20302         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
20303         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
20304         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
20305         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
20306         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
20307         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
20308         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
20309         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
20310         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
20311         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
20312         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
20313         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
20314         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
20315         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
20316         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
20317         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
20318         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
20319         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
20320         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
20321         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
20322         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
20323         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
20324         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
20325         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
20326         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
20327         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
20328         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
20329         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
20330         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
20331         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
20332         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
20333         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
20334         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
20335         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
20336         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
20338 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20340         [BZ #17844]
20341         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
20342         (getutent): Use weak_alias in non SHARED case
20343         and default_symbol_version in SHARED case.
20344         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
20345         (getutent_r, pututline): Likewise.
20346         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
20347         (getutid): Likewise.
20348         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
20349         (getutid_r): Likewise.
20350         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
20351         (getutline): Likewise.
20352         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
20353         (getutline_r): Likewise.
20354         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
20355         (updwtmp): Likewise.
20357 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20359         [BZ #17848]
20360         * sysdeps/s390/s390-32/memcmp.S
20361         (memcmp_g5): Rename to __memcmp_g5.
20362         * sysdeps/s390/s390-32/memcpy.S
20363         (memcpy_g5): Rename to __memcpy_g5.
20364         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20365         (memcpy_mvcle) Rename to __memcpy_mvcle.
20366         * sysdeps/s390/s390-32/memset.S
20367         (memset_g5): Rename to __memset_g5.
20368         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20369         (IFUNC_RESOLVE): Prefix ifunc-resolve function
20370         and use prefixed functions.
20371         * sysdeps/s390/s390-32/multiarch/memcmp.S
20372         (memcmp_z196): Rename to __memcmp_z196.
20373         (memcmp_z10): Rename to __memcmp_z10.
20374         (memcmp): Set alias to __memcmp_g5.
20375         (bcmp): Set alias to __memcmp_g5.
20376         * sysdeps/s390/s390-32/multiarch/memcpy.S
20377         (memcpy_z196): Rename to __memcpy_z196.
20378         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20379         (memcpy_z10): Rename to __memcpy_z10.
20380         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20381         (memcpy): Set alias to __memcpy_g5.
20382         * sysdeps/s390/s390-32/multiarch/memset.S
20383         (memset_z196): Rename to __memset_z196.
20384         Jump to __memset_mvcle instead of memset_mvcle.
20385         (memset_z10): Rename to __memset_z10.
20386         Jump to __memset_mvcle instead of memset_mvcle.
20387         (memset_mvcle) Rename to __memset_mvcle.
20388         (memset): Set alias to __memset_g5.
20389         * sysdeps/s390/s390-64/memcmp.S
20390         (memcmp_z900): Rename to __memcmp_z900.
20391         * sysdeps/s390/s390-64/memcpy.S
20392         (memcpy_z900): Rename to __memcpy_z900.
20393         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20394         (memcpy_mvcle) Rename to __memcpy_mvcle.
20395         * sysdeps/s390/s390-64/memset.S
20396         (memset_z900): Rename to __memset_z900.
20397         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
20398         (IFUNC_RESOLVE): Prefix ifunc-resolve function
20399         and use prefixed functions.
20400         * sysdeps/s390/s390-64/multiarch/memcmp.S
20401         (memcmp_z196): Rename to __memcmp_z196.
20402         (memcmp_z10): Rename to __memcmp_z10.
20403         (memcmp): Set alias to __memcmp_z900.
20404         (bcmp): Set alias to __memcmp_z900.
20405         * sysdeps/s390/s390-64/multiarch/memcpy.S
20406         (memcpy_z196): Rename to __memcpy_z196.
20407         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20408         (memcpy_z10): Rename to __memcpy_z10.
20409         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20410         (memcpy): Set alias to __memcpy_z900.
20411         * sysdeps/s390/s390-64/multiarch/memset.S
20412         (memset_z196): Rename to __memset_z196.
20413         Jump to __memset_mvcle instead of memset_mvcle.
20414         (memset_z10): Rename to __memset_z10.
20415         Jump to __memset_mvcle instead of memset_mvcle.
20416         (memset_mvcle) Rename to __memset_mvcle.
20417         (memset): Set alias to __memset_z900.
20419 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
20421         [BZ #17748]
20422         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
20423         __fesetenv instead of fesetenv.
20425 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20427         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
20428         macro.
20430 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20432         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
20433         regression on LE.
20435         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
20436         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
20437         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20438         strncmp-power8 object.
20439         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20440         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
20441         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
20442         * NEWS: Update.
20444 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20445             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20447         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
20448         trailing byte check.
20450 2015-01-13  David S. Miller  <davem@davemloft.net>
20452         * include/signal.h (__sigreturn): Guard with __USE_MISC.
20454 2015-01-13  Roland McGrath  <roland@hack.frob.com>
20456         * login/logout.c (logout): Use memset rather than bzero.
20457         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
20458         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
20459         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
20460         (_gethtbyaddr): Likewise.
20461         * locale/programs/simple-hash.c (bcopy): Macro removed.
20463 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20465         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20466         Add strcmp-power8 object.
20467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20468         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
20469         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
20470         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
20471         __strcmp_power8 implementation.
20472         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
20473         * NEWS: Update.
20475         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20476         Add strncpy-power8 and stpncpy-power8 objects.
20477         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20478         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
20479         implementations.
20480         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
20481         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
20482         __stpncpy_power8 implementation.
20483         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
20484         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
20485         __strncpy_power8 implementation.
20486         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
20487         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
20488         * NEWS: Update.
20490         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
20491         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
20492         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
20494         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20495         strncat-power8 object.
20496         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
20497         __strcat_power8 implementation.
20498         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20499         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
20500         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
20501         optimized strcat for power8.
20503         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20504         strcpy-power8 and stpcpy-power8 objects.
20505         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20506         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
20507         implementations.
20508         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
20509         multiarch stpcpy implementation for POWER8.
20510         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
20511         multiarch strcpy implementation for POWER8.
20512         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
20513         __strcpy_power8 function.
20514         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
20515         stpcpy for POWER8.
20516         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
20517         strcpy for POWER8.
20518         * NEWS: Update.
20520 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
20522         [BZ #16009]
20523         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
20524         weights and rules. Use do_xfrm_cached if data fits in cache,
20525         do_xfrm otherwise.  Moved former main loop to...
20526         * (do_xfrm_cached): New function.
20527         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
20528         find_idx, find_position and stack_push.
20529         * (find_idx): New function.
20530         * (find_position): Likewise.
20531         * localedata/sort-test.sh: Added test run for do_xfrm.
20532         * localedata/xfrm-test.c (main): Added command line option
20533         -nocache to run the test with strings that are too large for
20534         the STRXFRM cache.
20536 2015-01-13  Torvald Riegel  <triegel@redhat.com>
20538         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
20539         variable to lll_futex_wake call, not the value itself.
20541 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
20543         [BZ #17803]
20544         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
20545         twom64.  Adjust value to 0x1p-64L.
20546         (__scalblnl): Only return standard underflowing result for K <=
20547         -64 not K <= -63; adjust exponent for underflowing result by 64
20548         not 63.
20549         * math/libm-test.inc (scalbn_test_data): Add more tests.
20550         (scalbln_test_data): Likewise.
20552         [BZ #17834]
20553         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
20554         0x1p63L.
20555         (__scalblnl): Get new exponent of adjusted subnormal value from ES
20556         not HX.
20557         * math/libm-test.inc (scalbn_test_data): Add more tests.
20558         (scalbln_test_data): Likewise.
20560 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20561             Stefani Seibold  <stefani@seibold.net>
20563         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
20564         (sysdep_routines): Add dl-vdso here, ...
20565         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
20566         (sysdep_routines): ... not here.
20567         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
20568         fallback when vDSO is not presented.
20569         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20570         Define with libc_hidden_proto/libc_hidden_data_def definitions.
20571         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
20572         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
20573         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
20574         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
20575         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
20576         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
20577         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
20578         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
20579         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
20580         fallback configurable symbol when vDSO is not available.
20581         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
20582         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
20583         be able to redefine fallback symbol when vDSO is not available.
20584         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
20585         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
20587 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20589         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
20590         (TLS_INIT_TP): Add tm_capable initialization.
20591         (TLS_DEFINE_INIT_TP): Likewise.
20592         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
20593         TCB.
20594         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
20595         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
20596         calculation.
20597         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
20598         transactoion is lock elision is built and TCB tm_capable is set.
20599         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
20600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20601         (INTERNAL_SYSCALL_NCS): Likewise.
20602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20603         (INTERNAL_SYSCALL_NCS): Likewise.
20604         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
20606         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
20607         for powerpc.
20608         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20609         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
20610         and remove it for 32 bits case.
20611         [pthread_rwlock_t] (__rwelision): New field for lock elision.
20612         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
20613         initialization.
20614         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
20615         Disable lock elision with rdlocks if elision is not available.
20617         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
20618         (sysdep_routines): Add lock elision objects.
20619         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20620         [pthread_mutex_t] (__spins): Rework to add lock elision field.
20621         [pthread_mutex_t] (__elision): Add field.
20622         [__PTHREAD_SPINS]: Adjust to init lock elision field.
20623         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
20624         elision definitions for powerpc.
20625         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
20626         implementation of lock elision for powerpc.
20627         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
20628         implementation of timed lock elision for powerpc.
20629         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
20630         implementation of trylock with lock elision for powerpc.
20631         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
20632         implementaion of unlock for lock elision for powerpc.
20633         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
20634         automatic enable lock elision for mutexes.
20635         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
20636         transaction execution definitions for powerpc.
20637         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
20638         definitions.
20639         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
20640         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
20641         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
20642         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
20643         * NEWS: Update.
20645 2015-01-09  Roland McGrath  <roland@hack.frob.com>
20647         * sysdeps/posix/shm-directory.c: Use <> rather than ""
20648         for #include of <shm-directory.h>.
20650 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
20652         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
20653         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
20655 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
20657         [BZ #17791]
20658         * NEWS: Mention bug fix.
20659         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
20660         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
20661         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
20663 2015-01-09  Torvald Riegel <triegel@redhat.com>
20665         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
20667 2015-01-09  Torvald Riegel <triegel@redhat.com>
20669         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
20671 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20673         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
20674         pointer and cast to uintptr_t.
20676 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20678         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
20679         removed.
20680         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
20682 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20684         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
20685         of 0.
20687 2015-01-08  Roland McGrath  <roland@hack.frob.com>
20689         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
20690         <nptl/pthreadP.h> instead.
20691         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
20693         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
20694         already defined.
20695         [__SIGRTMIN] (init): Function removed.
20696         [__SIGRTMIN] (initialized): Variable removed.
20697         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
20698         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
20699         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
20700         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
20701         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
20702         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
20703         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
20704         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
20705         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
20706         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
20707         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
20708         * sysdeps/nptl/allocrtsig.c: New file.
20709         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
20710         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
20711         * sysdeps/generic/testrtsig.h: File removed.
20713         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
20714         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
20716         * nptl/nptl-init.c (pthread_functions): Conditionalize
20717         .ptr__nptl_setxid initialization on [SIGSETXID].
20719         * sysdeps/nptl/sys/procfs.h: New file.
20720         * nptl_db/Makefile (headers): Add it.
20721         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
20723         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
20724         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
20725         * nptl/pthread_attr_setaffinity.c: Include it.
20726         * nptl/pthread_setattr_default_np.c: Likewise.
20727         * nptl/check-cpuset.h: New file.
20729 2015-01-08  Richard Henderson  <rth@redhat.com>
20731         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
20732         (CFLAGS-tst-execstack-prog.c): Likewise.
20733         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
20735 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
20736             Sandra Loosemore  <sandra@codesourcery.com>
20737             Andrew Jenner  <andrew@codesourcery.com>
20738             Joseph Myers  <joseph@codesourcery.com>
20739             Nathan Sidwell  <nathan@codesourcery.com>
20741         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
20742         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
20743         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
20744         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
20745         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
20746         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
20747         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
20748         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
20749         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
20750         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
20751         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
20752         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
20753         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
20754         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
20755         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
20756         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
20757         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
20759 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20761         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
20762         timespec struct member in syscall macro.
20763         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
20764         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
20765         first timeval struct member in syscall macro.
20766         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
20768 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
20770         [BZ #17748]
20771         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
20772         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
20773         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
20774         __feupdateenv and define as weak alias of __feupdateenv.  Use
20775         libm_hidden_weak.
20776         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
20777         libm_hidden_def.
20778         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
20779         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
20780         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
20781         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
20782         libm_hidden_def.
20783         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
20784         __feupdateenv and define as weak alias of __feupdateenv.  Use
20785         libm_hidden_weak.
20786         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
20787         libm_hidden_def.
20788         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
20789         __feupdateenv and define as weak alias of __feupdateenv.  Use
20790         libm_hidden_weak.
20791         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
20792         libm_hidden_def.
20793         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20794         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
20795         (__feupdateenv): Likewise.
20796         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
20797         __feupdateenv and define as weak alias of __feupdateenv.  Use
20798         libm_hidden_weak.
20799         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20800         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
20801         libm_hidden_def.
20802         * sysdeps/tile/math_private.h (__feupdateenv): New inline
20803         function.
20804         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
20805         libm_hidden_def.
20806         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
20807         __feupdateenv instead of feupdateenv.
20808         (default_libc_feupdateenv_test): Likewise.
20809         (libc_feresetround_ctx): Likewise.
20811 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20813         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
20814         prototype.
20816 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
20818         * posix/regcomp.c (parse_bracket_exp): Initialize type to
20819         COLL_SYM in a couple of places to avoid uninitialized variable
20820         wanings on tilegx gcc 4.8.2.
20822 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
20824         * sysdeps/aarch64/strcpy.S: New file.
20825         * sysdeps/aarch64/stpcpy.S: New file.
20826         * NEWS: Updated.
20828 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
20830         * sysdeps/aarch64/strrchr.S: New file.
20831         * NEWS: Updated.
20833 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
20835         [BZ #17658]
20836         * stdlib/setenv.c: Fix memory leak when setting large,
20837         duplicate string.
20839 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
20841         [BZ #17273]
20842         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
20843         and tabs from buffer before parsing fstab entry.
20844         * misc/tst-mntent.c (main): Add test for mount entry with
20845         trailing spaces and tabs.
20847 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
20849         [BZ #17748]
20850         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
20851         * math/fesetround.c (fesetround): Rename to __fesetround and
20852         define as weak alias of __fesetround.  Use libm_hidden_weak.
20853         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
20854         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
20855         * sysdeps/arm/fesetround.c (fesetround): Likewise.
20856         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
20857         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
20858         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
20859         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
20860         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
20861         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
20862         __fesetround_inline.
20863         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
20864         __fesetround_inline instead of __fesetround.
20865         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
20866         __fesetround and define as weak alias of __fesetround.  Use
20867         libm_hidden_weak.  Call __fesetround_inline instead of
20868         __fesetround.
20869         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
20870         __fesetround and define as weak alias of __fesetround.  Use
20871         libm_hidden_weak.
20872         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
20873         Likewise.
20874         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
20875         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20876         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
20877         * sysdeps/tile/math_private.h (__fesetround): New inline function.
20878         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
20879         __fesetround and define as weak alias of __fesetround.  Use
20880         libm_hidden_weak.
20881         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
20882         __fesetround instead of fesetround.
20883         (default_libc_feholdexcept_setround): Likewise.
20884         (libc_feholdsetround_ctx): Likewise.
20885         (libc_feholdsetround_noex_ctx): Likewise.
20887         [BZ #17748]
20888         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
20889         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
20890         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
20891         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
20892         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20893         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
20894         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20895         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20896         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20897         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20898         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20899         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20900         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20901         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20902         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
20903         libm_hidden_def.
20904         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
20905         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
20906         Likewise.
20907         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20908         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20909         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20910         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20911         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
20912         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
20913         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
20914         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
20915         __fesetenv instead of fesetenv.
20916         (libc_feresetround_noex_ctx): Likewise.
20917         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
20918         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
20919         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
20920         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
20921         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
20922         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
20923         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20924         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
20925         (__feupdateenv): Likewise.
20926         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20927         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20928         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20929         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
20931 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
20933         [BZ #17806]
20934         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
20935         addresses have been freed.
20937 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
20939         * resolv/res_init.c (__res_vinit): Improve comments about nserv
20940         and nservall.
20942 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
20944         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
20945         Clean up check_pf allocation pattern. addresses
20947 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20949         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
20950         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
20951         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
20952         * nptl/pthread_exit.c (__pthread_exit): Likewise.
20953         * nptl/pthread_join.c (pthread_join): Likewise.
20954         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20955         * sysdeps/posix/waitid.c (__waitid): Likewise.
20956         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20957         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20958         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20959         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20960         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20961         Likewise.
20962         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20963         (__libc_pread64): Likewise.
20964         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20965         (__libc_pwrite): Likewise.
20966         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20967         (__libc_pwrite64): Likewsie.
20968         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20969         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20970         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20971         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20972         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20973         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20974         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
20975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20976         Likewise.
20977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20978         (__libc_pread64): Likewise.
20979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
20980         Likewise.
20981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20982         (__libc_pwrite64): Likewise.
20983         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20984         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20985         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
20986         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
20987         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20988         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20989         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
20990         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20991         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20992         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20993         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
20994         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20995         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20996         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
20997         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20998         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20999         Likewise.
21001 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
21003         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
21004         (CFLAGS-test-double.c): Likewise.
21005         (CFLAGS-test-ldouble.c): Likewise.
21006         (CPPFLAGS-test-ifloat.c): Likewise.
21007         (CPPFLAGS-test-idouble.c): Likewise.
21008         (CPPFLAGS-test-ildoubl.c): Likewise.
21009         (CFLAGS-test-test-fenv.c): Remove variable.
21010         (CFLAGS-test-misc.c): Likewise.
21012 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
21014         [BZ #17797]
21015         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
21016         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
21017         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
21018         CLOCKS_PER_SEC == 1000000.
21019         * time/clocktest.c (main): Replace %ld with %jd and cast to
21020         intmax_t.
21022 2015-01-05  Roland McGrath  <roland@hack.frob.com>
21024         * sysdeps/generic/unwind-resume.h: New file.
21025         * sysdeps/gnu/unwind-resume.c: Include it.
21026         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
21027         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
21028         argument list.
21029         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
21030         global rather than static.
21031         (_Unwind_Resume): Update user.
21032         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
21033         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
21034         rather than static.  Add __attribute__ ((cold)).
21035         (_Unwind_Resume, __gcc_personality_v0): Update callers.
21036         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
21037         * sysdeps/arm/arm-unwind-resume.S: New file.
21038         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
21039         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
21040         * sysdeps/arm/Makefile [$(subdir) = csu]
21041         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
21042         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21043         Add rt-arm-unwind-resume.
21044         [$(subdir) = nptl]
21045         (libpthread-sysdep_routines, libpthread-shared-only-routines):
21046         Add pt-arm-unwind-resume.
21047         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
21048         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
21050 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21052         [BZ #17748]
21053         * include/fenv.h (__feholdexcept): Declare.  Use
21054         libm_hidden_proto.
21055         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
21056         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
21057         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21058         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
21059         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
21060         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
21061         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
21062         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21063         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
21064         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
21065         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21066         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
21067         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
21068         (feholdexcept): Likewise.
21069         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21070         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21071         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21072         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21073         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
21074         __feholdexcept instead of feholdexcept.
21075         (default_libc_feholdexcept_setround): Likewise.
21077 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21079         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
21080         to avoid using stl/str to align destination.
21082 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21084         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
21086 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21088         [BZ #17796]
21089         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
21090         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
21091         Define as weak alias not strong alias.
21093 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21095         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
21096         bltzal with addiupc.
21097         (RTLD_START): Ditto.
21099 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
21101         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
21102         for __vdso_* functions in declarations.
21103         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
21104         definitions.
21105         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
21106         INTERNAL_VSYSCALL): Use struct return types to check for error.
21108         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
21109         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
21110         function with cast from llround().
21111         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
21112         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
21113         Define.
21115 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21117         [BZ #17793]
21118         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
21119         Define as weak alias not strong alias.
21121         [BZ #17635]
21122         * ctype/ctype-c99.c: New file.  isblank implementation moved from
21123         ...
21124         * ctype/ctype-extn.c: ... here.
21125         (__isblank_l): Move to ...
21126         * ctype/ctype-c99_l.c: ... here.  New file.
21127         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
21128         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
21129         Remove variable.
21130         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
21131         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
21132         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
21133         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
21134         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
21136         [BZ #17777]
21137         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
21138         (posix_fadvise64): Define as weak alias not strong alias.
21139         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21140         (posix_fallocate64): Likewise.
21141         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
21142         Remove variable.
21143         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
21144         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
21145         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
21146         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
21147         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
21149 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
21151         [BZ #16191]
21152         * NEWS: Mention bug fix.
21153         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
21154         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
21155         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
21156         (HOST_STACK_END_ADDR): Likewise.
21158 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
21160         [BZ #17748]
21161         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
21162         * math/fegetround.c (fegetround): Rename to __fegetround and
21163         define as weak alias of __fegetround.  Use libm_hidden_weak.
21164         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
21165         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
21166         * sysdeps/arm/fegetround.c (fegetround): Likewise.
21167         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
21168         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21169         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
21170         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
21171         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
21172         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21173         Undefine after rather than before function definition; use
21174         parentheses around function name in definition.
21175         (__fegetround): Also undefine macro after function definition.
21176         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
21177         __fegetround and define as weak alias of __fegetround.  Use
21178         libm_hidden_weak.  Do not undefine as macro.
21179         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21180         Likewise.
21181         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
21182         __fegetround and define as weak alias of __fegetround.  Use
21183         libm_hidden_weak.
21184         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21185         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21186         * sysdeps/tile/math_private.h (__fegetround): New inline function.
21187         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
21188         __fegetround and define as weak alias of __fegetround.  Use
21189         libm_hidden_weak.
21190         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
21191         __fegetround instead of fegetround.
21193         [BZ #17782]
21194         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
21195         Condition macro definition on [__USE_MISC].
21197         [BZ #17781]
21198         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
21199         (struct sigaction): Change type of sa_flags field to int.
21201         [BZ #17780]
21202         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
21203         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
21204         __glibc_reserved0.
21206         * nptl/version.c (banner): Use single year in copyright notice.
21208         * NEWS: Update copyright dates.
21209         * catgets/gencat.c (print_version): Likewise.
21210         * csu/version.c (banner): Likewise.
21211         * debug/catchsegv.sh: Likewise.
21212         * debug/pcprofiledump.c (print_version): Likewise.
21213         * debug/xtrace.sh (do_version): Likewise.
21214         * elf/ldconfig.c (print_version): Likewise.
21215         * elf/ldd.bash.in: Likewise.
21216         * elf/pldd.c (print_version): Likewise.
21217         * elf/sotruss.sh: Likewise.
21218         * elf/sprof.c (print_version): Likewise.
21219         * iconv/iconv_prog.c (print_version): Likewise.
21220         * iconv/iconvconfig.c (print_version): Likewise.
21221         * locale/programs/locale.c (print_version): Likewise.
21222         * locale/programs/localedef.c (print_version): Likewise.
21223         * login/programs/pt_chown.c (print_version): Likewise.
21224         * malloc/memusage.sh (do_version): Likewise.
21225         * malloc/memusagestat.c (print_version): Likewise.
21226         * malloc/mtrace.pl: Likewise.
21227         * manual/libc.texinfo: Likewise.
21228         * nptl/version.c (banner): Likewise.
21229         * nscd/nscd.c (print_version): Likewise.
21230         * nss/getent.c (print_version): Likewise.
21231         * nss/makedb.c (print_version): Likewise.
21232         * posix/getconf.c (main): Likewise.
21233         * scripts/test-installation.pl: Likewise.
21234         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21236 2015-01-02  Will Newton  <will.newton@linaro.org>
21238         * sysdeps/arm/armv7/configure: Removed.
21239         * sysdeps/arm/armv7/configure.ac: Likewise.
21241 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
21243         * All files with FSF copyright notices: Update copyright dates
21244         using scripts/update-copyrights.
21245         * intl/plural.c: Regenerated.
21246         * locale/programs/charmap-kw.h: Likewise.
21247         * locale/programs/locfile-kw.h: Likewise.
21249 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21251         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
21253 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
21255         [BZ #17748]
21256         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
21257         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
21258         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
21259         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
21260         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21261         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
21262         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21263         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
21264         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21265         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21266         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21267         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21268         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21269         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21270         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
21271         libm_hidden_def.
21272         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
21273         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
21274         Likewise.
21275         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21276         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21277         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21278         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21279         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
21280         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
21281         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
21282         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
21283         __fegetenv instead of fegetenv.
21284         (libc_feholdsetround_noex_ctx): Likewise.
21286 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
21288         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
21289         (Elf_MIPS_ABIFlags_v0): New structure.
21290         (EF_MIPS_FP64): Define.
21291         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
21292         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
21293         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
21294         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
21295         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
21296         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
21297         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
21298         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
21299         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
21300         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
21301         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
21302         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
21303         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
21304         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
21305         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
21306         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
21307         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
21308         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
21309         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
21310         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
21311         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
21312         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
21313         field.
21314         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
21315         EF_MIPS_FP64.
21316         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
21317         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
21318         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
21319         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
21320         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
21321         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
21322         * sysdeps/mips/tst-abi-interlink.c: Likewise.
21323         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
21324         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
21325         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
21326         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
21327         record the current FP ABI extension.
21328         (mips-mode-switch): Define to show if kernel headers support mode
21329         switching.
21330         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21331         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
21332         supported SYSV ABI version to 3.
21333         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
21334         feature.
21336 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21337             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21339         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
21340         path.
21341         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
21343 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
21345         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
21346         __fegetround and redefine to call __fegetround.  Remove condition
21347         on [!__NO_MATH_INLINES].
21348         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
21349         function.
21350         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
21351         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21352         Remove macro.
21353         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
21354         instead of <fenv_libc.h>.
21355         (__llrintl): Call fegetround instead of __fegetround.
21356         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
21357         instead of <fenv_libc.h>.
21358         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21359         (__lrintl): Call fegetround instead of __fegetround.
21360         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
21361         instead of <fenv_libc.h>.
21362         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21363         (__rintl): Call fegetround instead of __fegetround.
21365 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21367         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
21368         arrays.
21370 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
21372         [BZ #17775]
21373         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
21374         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
21375         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
21377 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
21379         * sysdeps/i386/tls-macros.h: Include <features.h>.
21380         (TLS_LE): Use non-PIC version for GCC >= 5.0.
21381         (TLS_IE): Likewise.
21382         (TLS_LD): Likewise.
21383         (TLS_GD): Likewise.
21384         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
21385         define for GCC >= 5.0.
21387 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
21389         * math/test-fenv.c (test_single_exception, set_single_exc,
21390         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
21391         feexcp_mask_test, feenable_test, fe_single_test): Add
21392         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
21393         case where they are not used.
21394         * math/libm-test.inc: Likewise.
21395         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
21396         unused in the absence of FP rounding/exception support.
21397         * stdio-common/tst-printf-round.c: Likewise.
21398         * stdlib/tst-strtod-round.c: Likewise.
21399         * stdlib/tst-strtod-underflow.c: Likewise.
21401 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
21403         [BZ #17723]
21404         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
21405         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
21406         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21407         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21408         libm_hidden_weak.
21409         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
21410         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
21411         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
21412         libm_hidden_def.
21413         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21414         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21415         libm_hidden_weak.
21416         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
21417         Likewise.
21418         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
21419         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21420         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21421         libm_hidden_weak.
21422         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
21423         libm_hidden_def.
21424         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21425         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
21426         (__feraiseexcept): Likewise.
21427         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21428         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21429         libm_hidden_weak.
21430         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
21431         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
21432         libm_hidden_def.
21433         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
21434         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
21435         Use libm_hidden_def.
21436         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
21437         libm_hidden_def.
21438         (feraiseexcept): Define as weak not strong alias.  Use
21439         libm_hidden_weak.
21440         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
21441         New inline function.  Factored out of ...
21442         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
21443         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
21444         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
21445         feraiseexcept.
21446         * math/w_acos.c (__acos): Likewise.
21447         * math/w_asin.c (__asin): Likewise.
21448         * math/w_ilogb.c (__ilogb): Likewise.
21449         * math/w_j0.c (y0): Likewise.
21450         * math/w_j1.c (y1): Likewise.
21451         * math/w_jn.c (yn): Likewise.
21452         * math/w_log.c (__log): Likewise.
21453         * math/w_log10.c (__log10): Likewise.
21454         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
21455         * sysdeps/aarch64/fpu/math_private.h
21456         (libc_feupdateenv_test_aarch64): Likewise.
21457         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
21458         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
21459         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
21460         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
21461         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
21462         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
21463         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
21464         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21465         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21466         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21468 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
21470         [BZ #17732]
21471         * io/test-utime.c (main): Replace %ld with %jd and cast to
21472         intmax_t.
21473         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
21474         * nptl/tst-mutex5.c: Include <stdint.h>.
21475         (do_test): Replace %ld with %jd and cast to intmax_t.
21476         * posix/tst-regex.c (run_test): Likewise.
21477         (run_test_backwards): Likewise.
21478         * rt/tst-clock.c: Include <stdint.h>.
21479         (clock_test): Replace %ld with %jd and cast to intmax_t.
21480         * rt/tst-cpuclock1.c: Include <stdint.h>.
21481         (do_test): Replace %lu with %ju and cast to uintmax_t.
21482         * rt/tst-cpuclock2.c: Include <stdint.h>.
21483         (do_test): Replace %lu with %ju and cast to uintmax_t.
21484         * rt/tst-mqueue1.c: Include <stdint.h>.
21485         (check_attrs): Replace %ld with %jd and cast to intmax_t.
21486         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
21487         intmax_t.
21488         * rt/tst-mqueue4.c (do_test): Likewise.
21489         * rt/tst-timer4.c: Include <stdint.h>.
21490         (check_ts): Replace %ld with %jd and cast to intmax_t.
21491         (do_test): Likewise.
21492         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
21493         and cast to intmax_t.
21494         * sysdeps/pthread/tst-timer.c (main): Likewise.
21495         * time/clocktest.c (main): Likewise.
21496         * time/tst-posixtz.c (do_test): Likewise.
21497         * timezone/tst-timezone.c (main): Likewise.
21499 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
21500             H.J. Lu  <hongjiu.lu@intel.com>
21502         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
21503         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
21504         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
21505         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
21506         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
21507         version if bit_Fast_Unaligned_Load is set.
21508         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21509         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21510         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21511         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21512         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21513         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21514         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21515         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
21516         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
21517         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
21518         to 4.
21519         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
21520         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
21521         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
21522         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
21524 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
21526         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
21527         instead of #if to avoid a Wundef warning.
21528         * stdlib/tst-limits.c (do_test): Likewise.
21530         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
21531         parallel other exception macros.
21532         (fegetenv): Convert from macro to extern inline so that it applies
21533         retroactively to inline functions already seen by the compiler.
21534         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
21536         * posix/Makefile (before-compile): Use $(objpfx) for
21537         posix-conf-vars-def.h.
21539 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21541         * posix/getconf.c (main): Use size_t for type of I.
21542         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
21543         NSPEC.
21545         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
21546         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
21547         * posix/posix-envs.def: Likewise.
21548         * sysdeps/posix/sysconf.c: Likewise.
21549         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
21550         (specs): Remove array.
21551         * scripts/gen-posix-conf-vars.awk: Support generation of specs
21552         array.
21554         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
21555         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
21556         (__sysconf): Use CONF_IS_* macros.
21558         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
21559         ($(objpfx)posix-conf-vars-def.h): New target.
21560         * posix/posix-conf-vars.list: New file.
21561         * posix/posix-conf-vars.h: New file.
21562         * posix/confstr.c: Include posix-conf-vars.h.
21563         (confstr): Use CONF_IS_* macros.
21564         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
21565         CONF_IS_* macros.
21566         * scripts/gen-posix-conf-vars.awk: New file.
21568 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
21570         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
21571         fegetround): Add no-op macros to avoid linknamespace issues.
21573         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
21574         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
21576         * sysdeps/unix/sysv/linux/tile/sysdep.h
21577         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
21578         assembly-specific section to avoid a redefinition warning.
21580         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
21581         long before casting to pointer to avoid a cast warning.
21583 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
21585         * sysdeps/tile/tilegx/Implies: New file.
21587 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
21589         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
21591 2014-12-23  Florian Weimer  <fweimer@redhat.com>
21593         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
21595 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21597         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
21598         not define.
21599         * sysdeps/unix/sysv/linux/utimes.c: Do not include
21600         <kernel-features.h>.
21601         (__utimes) [__NR_utimes]: Make code unconditional.
21602         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
21603         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21604         (__ASSUME_UTIMES): Do not undefine.
21605         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21606         (__ASSUME_UTIMES): Likewise.
21607         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21608         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
21609         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
21610         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
21612 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21614         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
21616 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
21618         [BZ #17747]
21619         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
21620         alias to weak alias for j0l, y0l.
21621         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
21622         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
21624         [BZ #17746]
21625         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
21626         conversion.
21628 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21630         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
21631         to zero if not already defined.
21633 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21635         [BZ #17724]
21636         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
21637         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
21638         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
21639         (char *) casts added.
21640         * sysdeps/ieee754/k_standardf.c: New file.
21641         * sysdeps/ieee754/k_standardl.c: Likewise.
21642         * math/Makefile (libm-support): Remove k_standard.
21643         (libm-calls): Add k_standard.
21645 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21647         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21648         Optimize to avoid an unnecessary FPCR read.
21650 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21652         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
21653         Optimize to reduce FPCR/FPSR accesses.
21655 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21657         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
21658         Call libc_fetestexcept_aarch64.
21660 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21662         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
21663         Call libc_fesetround_aarch64.
21665 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21667         [BZ #17733]
21668         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
21669         (__bind): Do not define as weak alias.
21670         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
21671         define.
21672         (__getsockname): Do not define as weak alias.
21674 2014-12-22  Will Newton  <will.newton@linaro.org>
21676         * manual/install.texi: Document that we require bison 2.7
21677         or above.
21678         * INSTALL: Regenerate.
21679         * configure.ac: Use AC_CHECK_PROG_VER instead of
21680         AC_PATH_PROG when checking for bison and check for
21681         version 2.7 or above.
21682         * configure: Regenerate.
21684 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
21686         [BZ #17745]
21687         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
21688         * sysdeps/tile/ffsll.c (ffsll): To here.
21690         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
21692 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
21694         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
21695         if not defined.
21696         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
21697         definition.
21698         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
21699         hidden ___tls_get_addr.
21700         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
21701         hidden __tls_get_addr.
21702         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
21703         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
21704         Likewise.
21706 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
21708         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
21709         _dl_init call.
21711 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
21713         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
21714         from "call _dl_init@PLT".
21715         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
21717 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
21719         * manual/search.texi: (Array Sort Function): Clarify stable sorting
21720         guarantees.
21722 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
21724         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
21726 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
21728         [BZ #17744]
21729         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
21730         strnlen.
21732 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
21734         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
21735         of multu on MIPSr6.
21736         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
21737         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
21738         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
21739         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
21740         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
21742 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
21744         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
21745         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
21746         (PTR_SUBU): Use subu for mips32r6/mips64r6.
21747         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
21748         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
21749         mips32r6/mips64r6.
21750         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
21752 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
21754         * string/strncat.c (STRNCAT): Simplify implementation.
21756 2014-12-19  David S. Miller  <davem@davemloft.net>
21758         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
21759         access the quad as both a long double and as a series of 4 words.
21761         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
21762         link_map->l_info array access.
21764 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
21766         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
21768         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
21769         * math/atest-exp2.c (TIMEOUT): Likewise.
21770         * math/atest-sincos.c (TIMEOUT): Likewise.
21772 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21774         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
21775         -Wno-error with -fno-builtin-lround.
21777 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21779         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
21780         Contains futex constants and functions moved over from ...
21781         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
21782         <lowlevellock-futex.h>.
21783         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
21784         (lll_timedwait_tid): Add comments and parentheses around macro
21785         arguments.
21787 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21789         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
21790         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
21791         (__lll_private_flag): Remove.
21792         (lll_futex_wait): Likewise.
21793         (lll_futex_timed_wait): Likewise.
21794         (lll_futex_wake): Likewise.
21795         (lll_futex_requeue): Likewise.
21796         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
21797         (__lll_timedwait_tid): Spell out argument names.
21798         (lll_timedwait_tid): Add comments and parentheses around macro
21799         arguments.
21800         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
21801         LLL_SHARED and LLL_PRIVATE usable from assembly code.
21803 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21805         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
21806         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
21807         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21808         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
21809         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
21810         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
21811         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
21812         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
21813         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
21814         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
21815         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
21816         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
21817         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
21818         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
21819         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
21820         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
21821         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
21822         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
21823         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
21825 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21827         * sysdeps/x86_64/x32/Makefile: New file.
21829 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21831         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
21832         1L with (mp_limb_t) 1.
21834 2014-12-17  Roland McGrath  <roland@hack.frob.com>
21836         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
21837         * nptl/libc_pthread_init.c: ... here.
21838         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
21839         * nptl/register-atfork.c: ... here.
21841         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
21842         Use pthread_sigmask rather than INTERNAL_SYSCALL.
21843         Use assert_perror to check its return value.
21844         (__gai_create_helper_thread): Likewise.
21846         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
21848         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
21850 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
21852         [BZ #17725]
21853         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
21854         __profil_counter.
21855         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
21856         Likewise.
21857         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
21858         Likewise.
21859         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
21860         Likewise.
21861         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
21862         (profil_counter): Likewise.
21863         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
21864         (profil_counter): Likewise.
21865         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
21866         Likewise.
21867         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
21868         Likewise.
21869         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
21870         (profil_counter): Likewise.
21871         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
21872         Likewise.
21873         [!__profil_counter] (profil_counter): Define as weak alias of
21874         __profil_counter.
21875         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
21876         (profil_counter): Rename to __profil_counter.
21877         [!__profil_counter] (profil_counter): Define as weak alias of
21878         __profil_counter.
21879         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
21880         (profil_counter): Rename to __profil_counter.
21881         [!__profil_counter] (profil_counter): Define as weak alias of
21882         __profil_counter.
21883         * sysdeps/posix/profil.c: Update comment referring to
21884         profil_counter.
21885         (__profil): Use __profil_counter instead of profil_counter.
21886         * sysdeps/posix/sprofil.c (profil_counter): Rename to
21887         __profil_counter.  Use __profil_counter_ushort and
21888         __profil_counter_uint in definitions.
21889         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
21890         instead of profil_counter_uint and profil_counter_ushort.
21892         [BZ #17722]
21893         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
21894         define as weak alias of __inet_makeaddr.
21895         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
21896         as weak alias of __inet_addr.
21897         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
21898         as weak alias of __inet_pton.  Use libc_hidden_weak.
21899         * include/arpa/inet.h (__inet_pton): Declare.  Use
21900         libc_hidden_proto.
21901         (inet_makeaddr): Don't use libc_hidden_proto.
21902         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
21903         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
21904         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
21905         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
21906         Remove variable.
21907         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
21908         (test-xfail-POSIX/time.h/linknamespace): Likewise.
21910 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
21912         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
21914 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21916         * stdio-common/bug-vfprintf-nargs.c (do_test):
21917         Cast value to intptr_t to avoid format warning
21918         for usage with PRIdPTR printing macro.
21920 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21922         * libio/tst-widetext.c (do_test):
21923         Use format type %td instead of %Zd for ptrdiff_t
21924         in order to avoid format warning.
21926 2014-12-17  Andreas Schwab  <schwab@suse.de>
21928         * nscd/mem.c (gc): Add size_t cast to match printf format.
21930 2014-12-16  Roland McGrath  <roland@hack.frob.com>
21932         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
21933         (init): Apply PTR_MANGLE to pointers before storing them.
21934         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
21935         before using them.
21937 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
21939         [BZ #17719]
21940         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
21941         define as weak alias of __memrchr.
21942         (__memrchr): Do not define as strong alias of memrchr.
21943         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
21944         Remove variable.
21945         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
21946         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
21947         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
21949         [BZ #17717]
21950         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
21951         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
21952         (if_indextoname): Rename to __if_indextoname and define as weak
21953         alias of __if_indextoname.  Use libc_hidden_weak.
21954         (if_freenameindex): Rename to __if_freenameindex and define as
21955         weak alias of __if_freenameindex.
21956         (if_nameindex): Rename to __if_nameindex and define as weak alias
21957         of __if_nameindex.
21958         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
21959         __if_nametoindex and define as weak alias of __if_nametoindex.
21960         Use libc_hidden_weak.
21961         (if_freenameindex): Rename to __if_freenameindex and define as
21962         weak alias of __if_freenameindex.
21963         (if_nameindex): Rename to __if_nameindex and define as weak alias
21964         of __if_nameindex.
21965         (if_indextoname): Rename to __if_indextoname and define as weak
21966         alias of __if_indextoname.  Use libc_hidden_weak.
21967         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
21968         __if_nametoindex and define as weak alias of __if_nametoindex.
21969         Use libc_hidden_weak.
21970         (if_freenameindex): Rename to __if_freenameindex and define as
21971         weak alias of __if_freenameindex.  Use libc_hidden_weak.
21972         (if_nameindex_netlink): Use __if_freenameindex instead of
21973         if_freenameindex.
21974         (if_nameindex): Rename to __if_nameindex and define as weak alias
21975         of __if_nameindex.  Use libc_hidden_weak.
21976         (if_indextoname): Rename to __if_indextoname and define as weak
21977         alias of __if_indextoname.  Use libc_hidden_weak.
21978         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
21979         libc_hidden_proto.
21980         [!_ISOMAC] (__if_freenameindex): Likewise.
21981         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
21982         if_nametoindex.
21983         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
21984         variable.
21985         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
21986         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
21987         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
21988         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
21989         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
21990         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
21991         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
21993         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
21994         Remove variable.
21995         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
21996         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
21998 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22000         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
22001         subscript above bounds'
22003         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
22004         bounds.
22006 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
22008         * libio/tst-fopenloc.c: Use test-skeleton.c.
22010         * stdlib/tst-bsearch.c: Use test-skeleton.c.
22011         (entry): Rename to ITEM.
22012         (do_test, comp): Adjust.
22014         * stdio-common/tst-fseek.c: Use test-skeleton.c.
22016 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22018         * string/tester.c: Include <libc-internal.h>.
22019         (test_memset): Ignore -Wmemset-transposed-args.
22021 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22023         * misc/tst-mntent2.c (do_test): Fix warning.
22025 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22027         * elf/tst-unique4lib.cc(a): Mark as used.
22029 2014-12-16  Florian Weimer  <fweimer@redhat.com>
22031         [BZ #17630]
22032         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
22033         names.
22035 2014-12-16  Allan McRae  <allan@archlinux.org>
22037         * stdio-common/Makefile (tests): Re-add bug26.
22039 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
22041         [BZ #17657]
22042         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
22043         static array.
22045 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
22047         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
22048         (__lll_lock_wait): Likewise.
22049         (__lll_timedlock_wait): Likewise.
22050         (__lll_timedwait_tid): Likewise.
22051         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
22052         (__lll_robust_timedlock_wait): Likewise.
22053         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
22054         (lll_cond_trylock): Likewise.
22055         (__lll_lock): Likewise.
22056         (__lll_robust_lock): Likewise.
22057         (__lll_cond_lock): Likewise.
22058         (lll_robust_cond_lock): Likewise.
22059         (__lll_timedlock): Likewise.
22060         (__lll_robust_timedlock): Likewise.
22061         (__lll_unlock): Likewise.
22062         (__lll_robust_unlock): Likewise.
22063         (lll_wait_tid): Likewise.
22064         (lll_timedwait_tid): Likewise.
22066 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22068         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
22070 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22072         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
22074 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
22076         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
22077         * stdio-common/tst-sprintf.c: Likewise.
22079 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22081         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
22083 2014-12-15  Jeff Law  <law@redhat.com>
22085         [BZ #16617]
22086         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
22087         on the heap.  (CVE-2012-3406)
22088         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
22089         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
22090         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
22092 2014-12-15  Will Newton  <will.newton@linaro.org>
22094         * manual/install.texi: Bump required version of texinfo
22095         to 4.7 from 4.5.
22096         * INSTALL: Regenerated.
22097         * configure.ac: Check for makeinfo version 4.7 and above.
22098         * configure: Regenerated.
22100 2014-12-12  Roland McGrath  <roland@hack.frob.com>
22102         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
22103         PREFIX, string constant to insert between directory and name.
22104         * sysdeps/posix/shm_open.c: Update caller.
22105         * sysdeps/posix/shm_unlink.c: Likewise.
22106         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
22107         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
22108         (SEM_SHM_PREFIX): New macro.
22109         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
22110         [$(have-thread-library) = no].
22111         * nptl/Makefile (libpthread-routines): Add shm-directory.
22112         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
22113         * sysdeps/nptl/shm-directory.h: New file.
22114         * sysdeps/posix/shm-directory.c
22115         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
22116         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
22117         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
22118         INTERNAL_SYSCALL.
22119         (__where_is_shmfs): Function removed.
22120         (mountpoint, defaultmount, defaultdir, __namedsem_once):
22121         Variables removed.
22122         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
22123         Use SHM_GET_NAME.
22124         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
22126         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
22127         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
22128         unconditional for use inside libpthread.
22129         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
22131 2014-12-12  Roland McGrath  <roland@hack.frob.com>
22133         * nptl/pthread_getaffinity.c: New file.
22134         * nptl/pthread_setaffinity.c: New file.
22135         * nptl/pthread_getname.c: New file.
22136         * nptl/pthread_setname.c: New file.
22138         * nptl/pthread_create.c (START_THREAD_DEFN)
22139         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
22141 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22142             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22144         * resolv/res_send.c (send_vc): Disable warning resplen may
22145         be used uninitialized.
22147 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22149         * nptl/tst-mutex6.c
22150         (ATTR_NULL): New define checks ATTR against NULL.
22151         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
22152         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
22154 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
22156         [BZ #17581]
22157         * malloc/hooks.c
22158         (mem2mem_check): Revert my previous change.
22159         (malloc_check_get_size): Revert my previous change.
22160         (mem2chunk_check): Revert my previous change.
22162 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22164         * sysdeps/posix/shm-directory.c: New file.
22165         * sysdeps/posix/shm-directory.h: New file.
22166         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
22167         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
22168         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
22169         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
22170         Transmute EPERM to EACCES.
22171         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
22172         from ...
22173         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
22174         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
22176 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22178         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
22179         pointer and cast to uintptr_t.
22180         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
22181         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
22182         Add cast to avoid warning.
22183         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
22185 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
22187         * nptl/semaphore.h: Move to ...
22188         * sysdeps/pthread/semaphore.h: ... here.
22189         * Makefile (installed-headers): Change nptl/semaphore.h to
22190         sysdeps/pthread/semaphore.h.
22192 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22194         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
22195         generated error format strings.
22197         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
22198         -Wformat-extra-args warnings for scanf formats.
22199         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
22200         test of zero-length format (duh).
22201         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
22202         corner-case scanf format test.
22203         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
22204         generated fprintf format string.
22205         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
22206         corner-case sprintf format tests.
22207         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
22208         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
22209         -Wformat-extra-args warnings throughout.
22210         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
22211         (CFLAGS-scanf4.c): Likewise.
22212         (CFLAGS-scanf7.c): Likewise.
22213         (CFLAGS-tst-sprintf.c): Likewise.
22214         (CFLAGS-tst-printf.c): Likewise.
22215         (CFLAGS-tst-printfsz.c): Likewise.
22217 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
22219         * include/cpio.h: New file.
22220         * include/fmtmsg.h: Likewise.
22222         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
22223         corresponding format argument to size_t.
22224         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
22225         arguments.
22226         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
22227         corresponding format argument to size_t.
22228         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
22229         arguments.
22230         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
22231         corresponding format argument to size_t.
22232         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
22233         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
22234         (CFLAGS-tst-mbswcs2.c): Likewise.
22235         (CFLAGS-tst-mbswcs3.c): Likewise.
22236         (CFLAGS-tst-mbswcs4.c): Likewise.
22237         (CFLAGS-tst-mbswcs5.c): Likewise.
22238         (CFLAGS-tst-trans.c): Likewise.
22240 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22242         * posix/regexbug1.c (main): Use "%s" format with regerror results,
22243         rather than assuming they won't contain any '%'s.
22245 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
22247         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
22248         inhibit_loop_to_libcall to avoid recursive calls.
22249         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
22250         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
22252 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
22254         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
22255         prototype.
22257 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
22259         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
22260         integer value instead of boolean.
22262 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
22264         * malloc/malloc.c: Fix powerof2 check.
22266 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22268         * locale/programs/locfile.h (maybe_swap_uint32):
22269         Remove inline and add unused attribute.
22271 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22273         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
22274         Truncating assembler expression to a .long expression.
22276 2014-12-11  Andreas Schwab  <schwab@suse.de>
22278         * elf/rtld.c (struct map_args): Constify str member.
22279         (do_preload): Constify fname argument.
22281 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22283         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
22284         constants definition.
22286 2014-12-11  Andreas Schwab  <schwab@suse.de>
22288         [BZ #16657]
22289         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
22290         FORCE_ELISION instead of DO_ELISION.
22291         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
22292         Remove.
22293         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
22294         Likewise.
22296         * iconvdata/gconv-modules: Remove duplicate entry.
22298 2014-12-11  Will Newton  <will.newton@linaro.org>
22300         Merge gettext 0.19.3 into intl/.
22302         This involves a number of cosmetic changes to comments
22303         and ANSI function definitions and prototypes throughout
22304         all the files. The gettext copyright header is used but
22305         with the date ranges taken from the glibc copy.
22307         * NEWS: Add gettext merge to 2.21.
22308         * intl/bindtextdom.c: Switch to gettext copyright.
22309         Use ANSI definitions and prototypes.
22310         Use gl_* locking primitives rather than __libc_* ones.
22311         Use __builtin_expect rather than __glibc_likely/unlikely.
22312         * intl/dcgettext.c: Switch to gettext copyright.
22313         Use ANSI definitions and prototypes.
22314         * intl/dcigettext.c: Switch to gettext copyright.
22315         Use ANSI definitions and prototypes.
22316         (INTDIV0_RAISES_SIGFPE): New define.
22317         Use gl_* locking primitives rather than __libc_* ones.
22318         Include eval-plural.h instead of plural-eval.c.
22319         Use __builtin_expect rather than __glibc_likely/unlikely.
22320         * intl/dcngettext.c: Switch to gettext copyright.
22321         Use ANSI definitions and prototypes.
22322         * intl/dgettext.c: Likewise.
22323         * intl/dngettext.c: Likewise.
22324         * intl/plural-eval.c: Renamed to...
22325         * intl/eval-plural.h: ...this.
22326         * intl/explodename.c: Switch to gettext copyright.
22327         Use ANSI definitions and prototypes.
22328         (_nl_explode_name): Use strchr instead of __rawmemchr.
22329         * intl/finddomain.c: Switch to gettext copyright.
22330         Use ANSI definitions and prototypes.
22331         Use gl_* locking primitives rather than __libc_* ones.
22332         (_nl_find_domain): Use malloc rather than alloca for
22333         allocation of temporary locale name.
22334         * intl/gettext.c: Switch to gettext copyright.
22335         Use ANSI definitions and prototypes.
22336         * intl/gettextP.h: Switch to gettext copyright.
22337         Use ANSI definitions and prototypes.
22338         Use gl_* locking primitives rather than __libc_* ones.
22339         * intl/gmo.h: Switch to gettext copyright.
22340         (struct sysdep_string): Move struct segment_pair outside of
22341         struct definition.
22342         * intl/hash-string.c: Use ANSI definitions and prototypes.
22343         * intl/hash-string.h: Switch to gettext copyright.
22344         Use ANSI definitions and prototypes.
22345         * intl/l10nflist.c: Switch to gettext copyright.
22346         Use ANSI definitions and prototypes.
22347         (_nl_normalize_codeset): Avoid integer overflow.
22348         * intl/loadinfo.h: Switch to gettext copyright.
22349         Use ANSI definitions and prototypes.
22350         (LIBINTL_DLL_EXPORTED): New define.
22351         (PATH_SEPARATOR): New define.
22352         * intl/loadmsgcat.c: Switch to gettext copyright.
22353         * intl/localealias.c: Switch to gettext copyright.
22354         Use ANSI definitions and prototypes.
22355         (_nl_expand_alias): Use PATH_SEPARATOR.
22356         * intl/ngettext.c: Switch to gettext copyright.
22357         Use ANSI definitions and prototypes.
22358         * intl/plural-exp.c: Likewise.
22359         * intl/plural-exp.h: Switch to gettext copyright.
22360         Use ANSI definitions and prototypes.
22361         (struct expression): Move definition of enum operator outside
22362         of struct definition.
22363         * intl/plural.c: Regenerate.
22364         * intl/plural.y: Switch to gettext copyright.
22365         Use ANSI definitions and prototypes.
22366         Port to bison 3.0.
22367         * intl/textdomain.c: Switch to gettext copyright.
22368         Use ANSI definitions and prototypes.
22369         Use gl_* locking primitives rather than __libc_* ones.
22371 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
22373         * debug/warning-nop.c: Add used atrribute.
22375 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22377         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
22379         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
22380         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
22381         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
22383 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22384             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22386         [BZ #17634]
22387         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
22388         Undefine after defining function.  Define as weak alias of
22389         __wcschr.  Use libc_hidden_weak.
22390         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
22391         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
22392         (libc_hidden_def): Also define __GI___wcschr alias.
22393         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
22394         __wcschr and define as weak alias of __wcschr.
22395         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
22396         __wcschr.
22397         [!WCSCHR] (DEFAULT_WCSCHR): Define.
22398         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
22399         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
22400         libc_hidden_weak.  Do not use libc_hidden_def.
22401         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
22402         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
22403         __GI___wcschr alias.
22404         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
22405         [IS_IN (libc)] (wcschr): Define as macro expanding to
22406         __redirect_wcschr.
22407         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
22408         [IS_IN (libc)] (__wcschr_power6): Likewise.
22409         [IS_IN (libc)] (__wcschr_power7): Likewise.
22410         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
22411         instead of wcschr.
22412         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
22413         __libc_wcschr.
22414         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
22415         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
22416         __wcschr and define as weak alias of __wcschr.  Use
22417         libc_hidden_builtin_def.
22418         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
22419         as weak alias of __wcschr.  Use libc_hidden_weak.
22420         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
22421         wcschr.
22422         * time/era.c (_nl_init_era_entries): Likewise.
22423         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
22424         variable.
22425         (test-xfail-XPG3/time.h/linknamespace): Likewise.
22426         (test-xfail-XPG4/time.h/linknamespace): Likewise.
22428 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22430         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
22431         format for long int variable.
22433 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
22435         [BZ #10672]
22436         * manual/search.texi: (Array Sort Function): Remove claim how to make
22437         qsort stable.
22439 2014-12-10  Andreas Schwab  <schwab@suse.de>
22441         [BZ #12847]
22442         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
22443         user-controlled locks.
22445 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
22447         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
22448         register.
22450 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22452         * configure.ac (--disable-werror): New configure option.
22453         (enable_werror): New AC_SUBST.
22454         * configure: Regenerated.
22455         * config.make.in (enable-werror): New variable.
22456         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
22457         -Wno-error=undef.
22458         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
22459         * manual/install.texi (Configuring and compiling): Document
22460         --disable-werror.
22461         * INSTALL: Regenerated.
22462         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
22463         (CFLAGS-tst-chk2.c): Likewise.
22464         (CFLAGS-tst-chk3.c): Likewise.
22465         (CFLAGS-tst-chk4.cc): Likewise.
22466         (CFLAGS-tst-chk5.cc): Likewise.
22467         (CFLAGS-tst-chk6.cc): Likewise.
22468         (CFLAGS-tst-lfschk1.c): Likewise.
22469         (CFLAGS-tst-lfschk2.c): Likewise.
22470         (CFLAGS-tst-lfschk3.c): Likewise.
22471         (CFLAGS-tst-lfschk4.cc): Likewise.
22472         (CFLAGS-tst-lfschk5.cc): Likewise.
22473         (CFLAGS-tst-lfschk6.cc): Likewise.
22475         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
22476         (main): Disable -Wdeprecated-declarations around calls to
22477         register_printf_function.
22479         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
22480         (do_test): Disable -Wdiv-by-zero around some calls to
22481         fwrite_unlocked and fread_unlocked.
22483         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
22484         (DIAG_POP_NEEDS_COMMENT): Likewise.
22485         (_DIAG_STR1): Likewise.
22486         (_DIAG_STR): Likewise.
22487         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
22488         * stdio-common/bug21.c: Include <libc-internal.h>.
22489         (do_test): Disable -Wformat around call to sscanf.
22490         * stdio-common/scanf14.c: Include <libc-internal.h>.
22491         (main): Disable -Wformat around some calls to scanf functions.
22493 2014-12-09  Torvald Riegel  <triegel@redhat.com>
22495         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
22497 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22499         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
22500         stack variable alignment.
22502 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
22504         [BZ #17682]
22505         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
22506         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
22507         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
22508         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
22509         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
22510         __getrlimit instead of getrlimit.
22511         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
22512         __gettimeofday instead of gettimeofday.
22513         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22514         Likewise.
22515         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
22516         Likewise.
22517         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22518         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
22519         Remove variable.
22520         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
22521         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
22523 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22525         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
22526         for wide-character tests.
22528 2014-12-04  Roland McGrath  <roland@hack.frob.com>
22530         * io/openat64.c: #include <libc-internal.h>
22531         (__openat64): Prototypify.  Use ignore_value on MODE.
22532         * io/openat.c: Likewise.
22533         * misc/reboot.c: #include <libc-internal.h>
22534         (reboot): Prototypify.  Use ignore_value on HOWTO.
22535         * misc/ptrace.c: #include <libc-internal.h>
22536         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
22538 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
22540         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
22541         XPG4, UNIX98 and XOPEN2K.
22542         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
22543         Remove variable.
22544         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
22546 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22548         * libio/fileops.c: Use ISO C style for function definitions.
22549         * libio/iofopen.c: Likewise.
22550         * libio/wfileops.c: Likewise.
22552         [BZ #17653]
22553         * libio/fileops.c (_IO_new_file_underflow): Unset cached
22554         offset on EOF.
22555         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
22556         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
22557         (fgets_func): Function pointer to fgets and fgetws.
22558         (do_ftell_test): Add test to verify ftell value after read
22559         EOF.
22560         (do_test): Set fgets_func.
22562         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
22563         O_TRUNC flag for w and w+ modes.
22564         (do_rewind_test): Likewise.
22565         (do_ftell_test): Likewise.
22566         (do_write_test): Likewise.
22568         [BZ #17647]
22569         * libio/fileops.c (do_ftell): Seek only when there are
22570         unflushed writes.
22571         * libio/wfileops.c (do_ftell_wide): Likewise.
22572         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
22573         test case.
22574         (do_one_test): Call it.
22576 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
22578         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
22579         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
22580         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
22581         Remove variable.
22582         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
22583         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
22584         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
22586 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22588         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
22589         Remove variable.
22590         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
22592         [BZ #17668]
22593         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
22594         as weak alias of __getifaddrs.  Use libc_hidden_weak.
22595         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22596         __freeifaddrs.  Use libc_hidden_weak.
22597         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
22598         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
22599         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22600         __freeifaddrs.  Use libc_hidden_weak.
22601         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
22602         __getifaddrs and define as weak alias of __getifaddrs.  Use
22603         libc_hidden_weak.
22604         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22605         __freeifaddrs.  Use libc_hidden_weak.
22606         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
22607         Remove variable.
22608         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
22609         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
22611 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
22613         [BZ #17601]
22614         * sysdeps/mips/start.S (__start): Use indirect jump to call
22615         __libc_start_main.
22617 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22619         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
22621         * nptl/tst-mutex1.c: Include <stdbool.h>.
22622         [!ATTR] (ATTR_NULL): New macro.
22623         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
22624         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
22625         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
22627         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
22628         to char *.
22630         [BZ #17665]
22631         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
22632         Change conditional to [__USE_MISC].
22634         [BZ #17664]
22635         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
22636         fgets_unlocked.
22637         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
22638         __fgets_unlocked.
22639         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
22640         fgets_unlocked.
22641         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
22642         Remove variable.
22643         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
22644         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
22645         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
22646         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
22647         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
22648         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
22649         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
22650         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
22651         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
22653         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
22655 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22657         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22658         Remove strpbrk objects.
22659         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22660         (__libc_ifunc_impl_list): Remove strpbrk implementation.
22661         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
22662         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
22663         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
22664         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
22666         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22667         Remove strcspn objects.
22668         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22669         (__libc_ifunc_impl_list): Remove strcspn implementation.
22670         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
22671         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
22672         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
22673         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
22675         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22676         Remove strspn objetcs.
22677         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22678         (__libc_ifunc_impl_list): Remove strspn implementation.
22679         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
22680         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
22681         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
22682         * sysdeps/powerpc/powerpc64/strspn.S: New file.
22684 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
22686         [BZ #17581]
22687         * malloc/hooks.c
22688         (mem2mem_check): Add a terminator to the chain of checking blocks.
22689         (malloc_check_get_size): Use it here.
22690         (mem2chunk_check): Ditto.
22692 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22694         * sysdeps/powerpc/powerpc64/strtok.S: New file.
22695         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
22697 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
22699         * bits/ioctl-types.h: Indent preprocessor directives correctly.
22701         * nptl/nptl-init.c: Include libc-internal.h.
22702         (__pthread_initialize_minimal_internal): Use ROUND_UP.
22704         * elf/ldconfig.c (search_dir): Expand comment.
22706 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
22708         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
22709         variable.
22710         (linknamespace-symlist-stdlibs-tests): Likewise.
22711         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
22712         instead of $(objpfx)symlist-stdlibs.
22713         (linknamespace-libs-isoc): New variable.
22714         (linknamespace-libs): Use $(linknamespace-libs-isoc).
22715         (linknamespace-libs-ISO): New variable.
22716         (linknamespace-libs-ISO99): Likewise.
22717         (linknamespace-libs-ISO11): Likewise.
22718         (linknamespace-libs-XPG3): Likewise.
22719         (linknamespace-libs-XPG4): Likewise.
22720         (linknamespace-libs-POSIX): Likewise.
22721         (linknamespace-libs-UNIX98): Likewise.
22722         (linknamespace-libs-XOPEN2K): Likewise.
22723         (linknamespace-libs-POSIX2008): Likewise.
22724         (linknamespace-libs-XOPEN2K8): Likewise.
22725         ($(objpfx)symlist-stdlibs): Replace by
22726         $(linknamespace-symlist-stdlibs-tests).  Use
22727         $(linknamespace-libs-$*) as set of libraries.
22728         ($(linknamespace-header-tests)): Update dependencies.  Use
22729         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
22730         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
22731         * conform/linknamespace.pl: Remove comment about considering
22732         definitions of symbols from irrelevant libraries.
22734 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
22736         [BZ #13862]
22737         * elf/dl-tls.c: Include <atomic.h>.
22738         (oom): Remove #ifdef SHARED/#endif.
22739         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
22740         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
22741         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
22742         big enough.
22743         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
22744         * nptl/Makefile (tests): Add tst-stack4.
22745         (modules-names): Add tst-stack4mod.
22746         ($(objpfx)tst-stack4): New.
22747         (tst-stack4mod.sos): Likewise.
22748         ($(objpfx)tst-stack4.out): Likewise.
22749         ($(tst-stack4mod.sos)): Likewise.
22750         (clean): Likewise.
22751         * nptl/tst-stack4.c: New file.
22752         * nptl/tst-stack4mod.c: Likewise.
22754 2014-11-27  J. Brown  <jb999@gmx.de>
22756         * sysdeps/x86/bits/string.h: Add recent CPUs.
22758 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
22760         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
22761         sigblock.
22763         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
22764         feof.
22766         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
22767         variable.
22769 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
22771         * nscd/connections.c: Include libc-internal.h because of macro
22772         usage ignore_value.
22774 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22776         * string/bits/string3.h (__warn_memset_zero_len): Don't
22777         declare for gcc newer than 5.0.
22778         (memset): Don't test for zero-length __LEN for gcc newer than
22779         5.0.
22781 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
22783         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
22784         size_t for %zu format.
22786         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
22787         difference, not %ju.
22789 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
22791         * include/libc-internal.h (ignore_value): New macro.
22792         * nscd/connections.c (restart): Wrap calls to setuid and setgid
22793         with ignore_value.
22795         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
22796         definition.
22798         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
22799         pthread_cleanup_push to void *.
22801         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
22802         Undefine.
22804         [BZ #16619]
22805         [BZ #16740]
22806         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
22807         instead of 1L << 52.
22809         * libio/bug-rewind.c (do_test): Check fwscanf return values.
22810         * libio/bug-rewind2.c (do_test): Likewise.
22812         * debug/test-stpcpy_chk-ifunc.c: Remove file.
22813         * debug/test-strcpy_chk-ifunc.c: Likewise.
22814         * wcsmbs/test-wcschr-ifunc.c: Likewise.
22815         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22816         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22817         * wcsmbs/test-wcslen-ifunc.c: Likewise.
22818         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22819         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22820         * Rules [$(multi-arch) = no] (tests): Do not filter out
22821         $(tests-ifunc).
22822         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
22823         * debug/Makefile (tests-ifunc): Remove variable.
22824         (tests): Do not add $(tests-ifunc).
22825         * wcsmbs/Makefile (tests-ifunc): Remove variable.
22826         (tests): Do not add $(tests-ifunc).
22827         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
22828         [TEST_IFUNC]: Remove conditionals.
22829         * string/test-string.h (TEST_IFUNC): Remove macro.
22830         [TEST_IFUNC]: Remove conditionals.
22832         * string/test-strchr.c [!WIDE] (L): New macro.
22833         [WIDE] (L): Likewise.
22834         (check1): Use CHAR instead of char.  Use L on string and character
22835         constants.
22837 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
22839         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
22840         tests.
22841         * sysdeps/powerpc/bits/atomic.h
22842         (__arch_atomic_exchange_and_add_32_acq): Add definition.
22843         (__arch_atomic_exchange_and_add_32_rel): Likewise.
22844         (atomic_exchange_and_add_acq): Likewise.
22845         (atomic_exchange_and_add_rel): Likewise.
22846         * sysdeps/powerpc/powerpc32/bits/atomic.h
22847         (__arch_atomic_exchange_and_add_64_acq): Add definition.
22848         (__arch_atomic_exchange_and_add_64_rel): Likewise.
22849         * sysdeps/powerpc/powerpc64/bits/atomic.h
22850         (__arch_atomic_exchange_and_add_64_acq): Add definition.
22851         (__arch_atomic_exchange_and_add_64_rel): Likewise.
22853 2014-11-26  Torvald Riegel  <triegel@redhat.com>
22855         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
22856         Change synchronization of __sched_fifo_min_prio and
22857         __sched_fifo_max_prio.
22858         * nptl/pthread_mutexattr_getprioceiling.c
22859         (pthread_mutexattr_getprioceiling): Likewise.
22860         * nptl/pthread_mutexattr_setprioceiling.c
22861         (pthread_mutexattr_setprioceiling): Likewise.
22862         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22863         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
22864         Likewise.
22866 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
22868         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
22869         void.
22871 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
22873         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
22874         third argument const.
22876 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
22878         fnmatch: work around GCC compiler warning bug with uninit var
22879         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
22880         This works around a bug with x86-64 GCC 4.9.2 and earlier
22881         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
22882         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
22883         used uninitialized in this function [-Wmaybe-uninitialized]".
22885 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
22887         * posix/bug-regex31.c (main): Return RES not 0.
22889 2014-11-25  Anton Blanchard <anton@samba.org>
22891         * sysdeps/powerpc/bits/atomic.h
22892         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
22894 2014-11-24  Sterling Augustine  <saugustine@google.com>
22896         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
22898 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
22900         [BZ #17608]
22901         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
22903 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
22905         [BZ #17633]
22906         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
22907         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
22908         variable.
22909         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
22910         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
22912 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
22914         * string/strncpy.c (strncpy): Improve performance by using memset.
22916 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
22918         * string/strcpy.c (strcpy):
22919         Improve performance by using strlen and memcpy.
22921 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
22923         * string/strcoll_l.c (get_next_seq): __always_inline.
22924         * string/strcoll_l.c (do_compare): __always_inline.
22926 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22928         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
22929         defined.
22930         * include/mqueue.h: Likewise.
22931         * include/stdlib.h: Likewise.
22933         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
22934         (get_null_defines): Adjust.
22935         * sunrpc/Makefile: Adjust comment.
22936         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
22937         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
22938         (CFLAGS-interp.c): Likewise.
22939         (CFLAGS-ldconfig.c): Likewise.
22940         (CPPFLAGS-.os): Likewise.
22941         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22942         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
22943         * extra-modules.mk (extra-modules.mk): Likewise.
22944         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
22945         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
22946         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
22947         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
22948         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
22949         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
22950         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
22951         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
22952         * iconvdata/Makefile (CPPFLAGS): Likewise.
22953         (cpp-srcs-left): Add libof for all iconvdata routines.
22954         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
22955         * include/assert.h: Likewise.
22956         * include/ctype.h: Likewise.
22957         * include/errno.h: Likewise.
22958         * include/libc-symbols.h: Likewise.
22959         * include/math.h: Likewise.
22960         * include/netdb.h: Likewise.
22961         * include/resolv.h: Likewise.
22962         * include/stdio.h: Likewise.
22963         * include/stdlib.h: Likewise.
22964         * include/string.h: Likewise.
22965         * include/sys/stat.h: Likewise.
22966         * include/wctype.h: Likewise.
22967         * intl/l10nflist.c: Likewise.
22968         * libidn/idn-stub.c: Likewise.
22969         * libio/libioP.h: Likewise.
22970         * nptl/libc_multiple_threads.c: Likewise.
22971         * nptl/pthreadP.h: Likewise.
22972         * posix/regex_internal.h: Likewise.
22973         * resolv/res_hconf.c: Likewise.
22974         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
22975         * sysdeps/arm/memmove.S: Likewise.
22976         * sysdeps/arm/sysdep.h: Likewise.
22977         * sysdeps/generic/_itoa.h: Likewise.
22978         * sysdeps/generic/symbol-hacks.h: Likewise.
22979         * sysdeps/gnu/errlist.awk: Likewise.
22980         * sysdeps/gnu/errlist.c: Likewise.
22981         * sysdeps/i386/i586/memcpy.S: Likewise.
22982         * sysdeps/i386/i586/memset.S: Likewise.
22983         * sysdeps/i386/i686/memcpy.S: Likewise.
22984         * sysdeps/i386/i686/memmove.S: Likewise.
22985         * sysdeps/i386/i686/mempcpy.S: Likewise.
22986         * sysdeps/i386/i686/memset.S: Likewise.
22987         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22988         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22989         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
22990         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
22991         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22992         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22993         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
22994         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22995         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22996         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22997         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22998         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22999         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23000         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23001         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23002         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23003         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
23004         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
23005         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
23006         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23007         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23008         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23009         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23010         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23011         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23012         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23013         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
23014         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23015         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
23016         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23017         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23018         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23019         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23020         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23021         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23022         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23023         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23024         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23025         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23026         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23027         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23028         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23029         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23030         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23031         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23032         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23033         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
23034         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
23035         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23036         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23037         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23038         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
23039         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
23040         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23041         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
23042         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
23043         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23044         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
23045         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
23046         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23047         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
23048         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23049         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
23050         * sysdeps/nptl/bits/libc-lock.h: Likewise.
23051         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
23052         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
23053         * sysdeps/posix/closedir.c: Likewise.
23054         * sysdeps/posix/opendir.c: Likewise.
23055         * sysdeps/posix/readdir.c: Likewise.
23056         * sysdeps/posix/rewinddir.c: Likewise.
23057         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
23058         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
23059         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23060         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23061         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23062         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
23063         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
23064         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
23065         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
23066         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
23067         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
23068         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
23069         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
23070         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
23071         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
23072         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
23073         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
23074         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
23075         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
23076         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
23077         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
23078         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
23079         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
23080         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
23081         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
23082         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
23083         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
23084         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
23085         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
23086         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
23087         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
23088         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
23089         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
23090         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
23091         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
23092         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
23093         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23094         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23095         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
23096         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
23097         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
23098         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
23099         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
23100         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23101         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
23102         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
23103         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
23104         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
23105         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
23106         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
23107         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
23108         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
23109         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
23110         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
23111         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
23112         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
23113         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
23114         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
23115         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
23116         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
23117         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23118         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
23119         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
23120         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
23121         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
23122         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23123         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
23124         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
23125         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
23126         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
23127         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23128         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
23129         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
23130         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
23131         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
23132         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
23133         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
23134         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
23135         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
23136         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
23137         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
23138         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23139         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
23140         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
23141         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23142         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
23143         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
23144         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23145         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23146         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23147         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
23148         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
23149         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
23150         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23151         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23152         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
23153         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23154         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23155         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
23156         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
23157         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23158         * sysdeps/unix/alpha/sysdep.S: Likewise.
23159         * sysdeps/unix/alpha/sysdep.h: Likewise.
23160         * sysdeps/unix/make-syscalls.sh: Likewise.
23161         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23162         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23163         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23164         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
23165         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23166         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
23167         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
23168         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23169         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23170         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
23171         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23172         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23173         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23174         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
23175         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23176         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23177         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23178         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
23179         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
23180         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23181         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
23182         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23183         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23184         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23185         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23186         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23187         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
23189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
23190         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
23191         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23192         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23193         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23194         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23195         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
23196         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23197         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23198         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23199         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
23200         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
23201         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23202         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23203         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23204         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23205         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23206         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23207         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23208         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23209         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23210         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23211         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23212         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23213         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23214         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23215         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
23216         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23217         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23218         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23219         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
23220         * sysdeps/x86_64/memcpy.S: Likewise.
23221         * sysdeps/x86_64/memmove.c: Likewise.
23222         * sysdeps/x86_64/memset.S: Likewise.
23223         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
23224         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23225         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23226         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
23227         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
23228         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23229         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23230         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23231         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23232         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23233         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23234         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23235         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
23236         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23237         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23238         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
23239         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23240         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23241         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23242         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23243         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
23244         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23245         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23246         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23247         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23248         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23249         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23250         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
23251         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23252         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23253         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
23254         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23255         * sysdeps/x86_64/strcmp.S: Likewise.
23257         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
23259         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
23260         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
23261         * elf/rtld-Rules: Likewise.
23262         * elf/setup-vdso.h: Likewise.
23263         * include/assert.h: Likewise.
23264         * include/bits/stdlib-float.h: Likewise.
23265         * include/errno.h: Likewise.
23266         * include/sys/stat.h: Likewise.
23267         * include/unistd.h: Likewise.
23268         * sysdeps/aarch64/setjmp.S: Likewise.
23269         * sysdeps/alpha/setjmp.S: Likewise.
23270         * sysdeps/arm/__longjmp.S: Likewise.
23271         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
23272         * sysdeps/arm/setjmp.S: Likewise.
23273         * sysdeps/arm/sysdep.h: Likewise.
23274         * sysdeps/generic/_itoa.h: Likewise.
23275         * sysdeps/generic/dl-sysdep.h: Likewise.
23276         * sysdeps/generic/ldsodefs.h: Likewise.
23277         * sysdeps/i386/dl-tls.h: Likewise.
23278         * sysdeps/i386/setjmp.S: Likewise.
23279         * sysdeps/m68k/setjmp.c: Likewise.
23280         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
23281         * sysdeps/mach/hurd/opendir.c: Likewise.
23282         * sysdeps/posix/getcwd.c: Likewise.
23283         * sysdeps/posix/opendir.c: Likewise.
23284         * sysdeps/posix/profil.c: Likewise.
23285         * sysdeps/powerpc/dl-procinfo.h: Likewise.
23286         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23287         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
23288         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
23289         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23290         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
23291         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
23292         * sysdeps/s390/dl-tls.h: Likewise.
23293         * sysdeps/s390/s390-32/setjmp.S: Likewise.
23294         * sysdeps/s390/s390-64/setjmp.S: Likewise.
23295         * sysdeps/sh/sh3/setjmp.S: Likewise.
23296         * sysdeps/sh/sh4/setjmp.S: Likewise.
23297         * sysdeps/unix/alpha/sysdep.h: Likewise.
23298         * sysdeps/unix/arm/sysdep.S: Likewise.
23299         * sysdeps/unix/i386/sysdep.S: Likewise.
23300         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23301         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
23302         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23303         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23304         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23305         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
23306         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
23307         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23308         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
23309         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
23310         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
23311         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23312         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23315         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23316         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23317         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23318         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23319         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23320         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23321         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23322         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23323         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23324         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23325         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23326         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23327         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23328         * sysdeps/x86_64/setjmp.S: Likewise.
23330         * include/math.h: Use IS_IN instead of IS_IN_libm.
23331         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
23332         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23333         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23334         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
23335         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23336         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23337         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23338         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23339         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23340         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23341         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
23342         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
23343         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
23344         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
23345         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
23346         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
23347         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
23348         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
23349         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
23350         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
23351         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
23352         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
23353         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
23354         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
23355         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
23356         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
23357         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
23358         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
23359         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
23360         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
23361         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
23362         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23363         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
23365         Likewise.
23366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
23367         Likewise.
23368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
23369         Likewise.
23370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
23371         Likewise.
23372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
23373         Likewise.
23374         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23375         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
23376         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23377         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23378         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23379         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
23381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
23382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
23383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
23384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
23385         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
23386         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
23387         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23388         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23389         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23390         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23391         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23392         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23393         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23394         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
23395         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
23396         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
23397         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
23398         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
23399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23400         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
23402         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
23403         * nptl/pthreadP.h: Likewise.
23404         * nptl_db/structs.def: Likewise.
23405         * sysdeps/arm/sysdep.h: Likewise.
23406         * sysdeps/nptl/bits/libc-lock.h: Likewise.
23407         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
23408         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
23409         * sysdeps/unix/alpha/sysdep.h: Likewise.
23410         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23411         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23412         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23413         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23414         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23415         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23416         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23417         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23418         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23419         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23420         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23421         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23422         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23423         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
23425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
23426         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23427         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23428         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23429         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23430         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23431         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23432         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23433         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23434         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
23435         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23437         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
23438         * nptl/pthreadP.h: Likewise.
23439         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23440         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23441         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23442         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23443         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23444         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23445         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23446         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23447         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23448         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23449         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23450         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
23452         Likewise.
23453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
23454         Likewise.
23455         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23456         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23457         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23458         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23459         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23460         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23461         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23462         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23464         * dlfcn/dladdr.c: Use IS_IN.
23465         * dlfcn/dladdr1.c: Likewise.
23466         * dlfcn/dlclose.c: Likewise.
23467         * dlfcn/dlerror.c: Likewise.
23468         * dlfcn/dlinfo.c: Likewise.
23469         * dlfcn/dlmopen.c: Likewise.
23470         * dlfcn/dlopen.c: Likewise.
23471         * dlfcn/dlsym.c: Likewise.
23472         * dlfcn/dlvsym.c: Likewise.
23474         * include/ifaddrs.h: Use IS_IN.
23475         * inet/check_pf.c: Likewise.
23476         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23477         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
23479         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
23480         IS_IN_ldconfig.
23481         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
23482         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
23484         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
23485         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
23486         IS_IN (libc).
23488         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
23490         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
23491         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23492         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
23493         * include/libc-symbols.h (IS_IN_LIB): New macro.
23494         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
23495         * include/netdb.h: Likewise.
23496         * include/stap-probe.h: Remove all uses of IN_LIB.
23498         * Makeconfig (module-cppflags-real): Define MODULE_NAME
23499         instead of IN_MODULE.
23500         * include/libc-symbols.h (IN_MODULE): Define using
23501         MODULE_NAME.
23502         (PASTE_NAME, PASTE_NAME1): New macros.
23503         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
23504         of IN_LIB.
23505         (STAP_PROBE_ASM): Likewise.
23507 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23509         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
23510         __mach_init in dlopened libc.
23512 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
23514         * sysdeps/arm/preconfigure.ac: Delete EABI check.
23515         * sysdeps/arm/preconfigure: Regenerate.
23517 2014-11-21  Roland McGrath  <roland@hack.frob.com>
23519         * nptl/pthread_create.c (__pthread_create_2_1): Set
23520         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
23521         when copying values from IATTR into PD.
23523 2014-11-21  Will Newton  <will.newton@linaro.org>
23524             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
23526         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
23527         Refactor inline-asm.  Also add comment.
23529         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
23530         ElfW macro instead of hardcoded Elf64 types.
23531         (la_aarch64_gnu_pltenter): Likewise.
23532         * sysdeps/aarch64/dl-machine.h
23533         (elf_machine_runtime_setup): Use ElfW(Addr).
23535         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
23536         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
23537         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
23538         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
23539         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
23540         (R_AARCH64_TLS_DTPMOD64): Rename to ..
23541         (R_AARCH64_TLS_DTPMOD): This.
23542         (R_AARCH64_TLS_DTPREL64): Rename to ...
23543         (R_AARCH64_TLS_DTPREL): This.
23544         (R_AARCH64_TLS_TPREL64): Rename to ...
23545         (R_AARCH64_TLS_TPREL): This.
23546         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
23547         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
23548         R_AARCH64_TLS_TPREL64.
23549         (elf_machine_rela): Likewise.
23551 2014-11-21  Torvald Riegel  <triegel@redhat.com>
23553         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
23554         by setting it to 0.  64b atomics are not supported currently.
23556 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23558         [BZ #16469]
23559         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
23560         search domain names.
23562 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23564         [BZ #16469]
23565         * NEWS: Update.
23566         * resolv/res_query.c (__libc_res_nquerydomain): Retain
23567         trailing dot.
23568         * posix/tst-getaddrinfo5.c: New.
23569         * posix/Makefile (tests): Add it.
23571 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23573         [BZ #14498]
23574         * NEWS: Fixed.
23575         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
23576         after parsing line but before break_if_match.
23577         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
23578         if there is a protocol mismatch.
23580 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
23582         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
23583         because the potential race is on the user-supplied stream.
23585 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23587         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
23588         string literal if not passed a buffer.
23589         * manual/job.texi (ctermid): Update reasoning, note deviation
23590         from posix, suggest mtasurace when not passed a buffer, for
23591         future non-preliminary safety notes.
23593 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23595         * manual/users.texi (cuserid): Fix MT-Safety note for the case
23596         of not passing it a buffer.
23597         Reported by Peng Haitao.
23599 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23601         * manual/Makefile ($(objpfx)stamp-summary): Require
23602         check-safety.sh to pass.
23603         * manual/check-safety.sh: Wish for verification that every
23604         @deftypefn and @deftypefun is followed by a @safety remark.
23606 2014-11-20  Roland McGrath  <roland@hack.frob.com>
23608         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
23610         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
23611         PTHREAD_CANCEL_ASYNCHRONOUS.
23612         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
23613         send SIGCANCEL.
23615         * nptl/default-sched.h: New file.
23616         * sysdeps/unix/sysv/linux/default-sched.h: New file.
23617         * nptl/pthread_create.c: Include it.
23618         (__pthread_create_2_1): Use collect_default_sched instead of making
23619         Linux syscalls here directly.
23621 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23623         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
23624         __pthread_once): Use C11 atomics.
23626 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23628         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
23630 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23632         * include/atomic.h (__atomic_link_error, __atomic_check_size,
23633         atomic_thread_fence_acquire, atomic_thread_fence_release,
23634         atomic_thread_fence_seq_cst, atomic_load_relaxed,
23635         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
23636         atomic_compare_exchange_weak_relaxed,
23637         atomic_compare_exchange_weak_acquire,
23638         atomic_compare_exchange_weak_release,
23639         atomic_exchange_acquire, atomic_exchange_release,
23640         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
23641         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
23642         atomic_fetch_and_acquire,
23643         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
23645 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23647         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
23648         USE_ATOMIC_COMPILER_BUILTINS): Define.
23649         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
23650         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23651         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
23652         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23653         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
23654         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23655         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
23656         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23657         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
23658         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23659         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
23660         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23661         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
23662         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23663         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
23664         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23665         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23666         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23667         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23668         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23669         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
23670         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23671         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23672         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23673         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
23674         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23675         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23676         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23677         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
23678         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23679         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
23680         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23681         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
23682         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23683         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23684         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23685         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
23686         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23687         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
23688         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23690 2014-11-19  Roland McGrath  <roland@hack.frob.com>
23692         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
23693         the sched_priority value here.  It was already checked when the user
23694         called pthread_attr_setschedparam.
23696         * nptl/tst-bad-schedattr.c: New file.
23697         * nptl/Makefile (tests): Add it.
23699 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
23700             Florian Weimer  <fweimer@redhat.com>
23701             Joseph Myers  <joseph@codesourcery.com>
23702             Adam Conrad  <adconrad@0c3.net>
23703             Andreas Schwab  <schwab@suse.de>
23704             Brooks  <bmoses@google.com>
23706         [BZ #17625]
23707         * wordexp-test.c (__dso_handle): Add prototype.
23708         (__register_atfork): Likewise.
23709         (__app_register_atfork): New function.
23710         (registered_forks): New global.
23711         (register_fork): New function.
23712         (test_case): Add 3 new tests for WRDE_CMDSUB.
23713         (main): Call __app_register_atfork.
23714         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
23715         fork count is non-zero fail the test.
23716         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
23717         is set.
23718         (parse_dollars): Remove check for WRDE_NOCMD.
23719         (parse_dquote): Likewise.
23721 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23723         * Makeconfig (built-modules): List non-library modules to be
23724         built.
23725         (module-cppflags): Include libc-modules.h for
23726         everything except shlib-versions.v.i.
23727         (CPPFLAGS): Use it.
23728         (before-compile): Add libc-modules.h.
23729         ($(common-objpfx)libc-modules.h,
23730         $(common-objpfx)libc-modules.stmp): New targets.
23731         (common-generated): Add libc-modules.h and libc-modules.stmp.
23732         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
23733         * include/libc-symbols.h: Don't include libc-modules.h.
23734         * include/libc-modules.h: Remove file.
23735         * scripts/gen-libc-modules.awk: New script to generate
23736         libc-modules.h.
23737         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
23738         Depend on libc-modules.stmp.
23740         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
23742         * Makeconfig (in-module): Get value of libof set for the
23743         translation unit.
23744         (CPPFLAGS): Use $(in-module).
23745         * Makerules: Don't suffix routine names for nonlib.
23746         * include/libc-modules.h: New file.
23747         * include/libc-symbols.h: Include libc-modules.h
23748         (IS_IN): New macro to replace IS_IN_* macros.
23749         * elf/Makefile: Set libof-* for each routine.
23750         * elf/rtld-Rules: Likewise.
23751         * extra-modules.mk: Likewise.
23752         * iconv/Makefile: Likewise.
23753         * iconvdata/Makefile: Likewise.
23754         * locale/Makefile: Likewise.
23755         * malloc/Makefile: Likewise.
23756         * nss/Makefile: Likewise.
23757         * sysdeps/gnu/Makefile: Likewise.
23758         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
23759         * sysdeps/unix/sysv/linux/Makefile: Likewise.
23760         * sysdeps/s390/s390-64/Makefile: Likewise.
23761         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
23762         CPPFLAGS for nscd instead of nonlib.
23764 2014-11-18  Roland McGrath  <roland@hack.frob.com>
23766         * nptl/createthread.c: New file.
23768         * nptl/createthread.c: Moved ...
23769         * sysdeps/unix/sysv/linux/createthread.c: ... here.
23771         * nptl/createthread.c: Add proper top-line comment.
23772         (do_clone): Folded into ...
23773         (create_thread): ... here.  Take new arguments STOPPED_START and
23774         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
23775         increment __nptl_threads, do event-reporting logic, do
23776         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
23777         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
23778         resource cleanup if sched_setaffinity or sched_setscheduler fails,
23779         just send SIGCANCEL.
23780         * nptl/pthread_create.c: Forward-declare create_thread before
23781         including createthread.c.
23782         (start_thread): Use new macro START_THREAD_DEFN to replace defining
23783         declaration, and new macro START_THREAD_SELF to replace argument.
23784         Remove return statement.
23785         (report_thread_creation): New function.
23786         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
23787         synchronization logic, and __nptl_nthreads increment here, around
23788         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
23789         PD->parent_cancelhandling here, before create_thread.  When
23790         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
23791         __deallocate_stack, and ENOMEM translation here.
23793 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
23795         [BZ #17616]
23796         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
23797         (mptwo): Rename to __mptwo.
23798         (__inv): Use __mptwo instead of mptwo.
23799         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
23800         (mptwo): Rename to __mptwo.
23801         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
23802         of mpone and __mptwo instead of mptwo.
23803         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
23804         instead of mpone.
23805         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23806         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
23807         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
23808         of mpone and __mptwo instead of mptwo.
23809         (__mpranred): Use __mpone instead of mpone.
23810         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
23811         variable.
23812         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
23813         (test-xfail-ISO99/math.h/linknamespace): Likewise.
23814         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
23815         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
23816         (test-xfail-ISO11/math.h/linknamespace): Likewise.
23817         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
23818         (test-xfail-XPG3/math.h/linknamespace): Likewise.
23819         (test-xfail-XPG4/math.h/linknamespace): Likewise.
23820         (test-xfail-POSIX/math.h/linknamespace): Likewise.
23821         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
23822         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
23823         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
23824         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
23825         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
23826         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
23827         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
23828         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
23829         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
23830         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
23832 2014-11-18  Tom de Vries  <tom@codesoucery.com>
23834         * manual/signal.texi (Primitives Interrupted by Signals): In section,
23835         replace BSD Handler xref with BSD Signal Handling.
23837 2014-11-17  Richard Henderson  <rth@redhat.com>
23839         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
23840         (_FP_PACK_RAW_2): Remove.
23841         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
23842         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
23843         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
23844         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
23845         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
23846         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
23847         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
23848         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
23849         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
23850         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
23851         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
23852         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
23853         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
23854         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
23855         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
23856         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
23858 2014-11-14  Roland McGrath  <roland@hack.frob.com>
23860         * signal/signal.h [__USE_MISC]
23861         (struct sigvec): Remove type.
23862         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
23863         (sigvec): Remove declaration.
23864         * sysdeps/posix/sigvec.c: Moved ...
23865         * signal/sigvec.c: ... here, replacing old file.
23866         (struct sigvec): New type, copied from old signal.h definition.
23867         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
23868         (__sigvec): Convert definition to prototype.
23869         (sigvec): Replace weak_alias with compat_symbol.
23870         * signal/Versions (libc: GLIBC_2.21): New version set.
23871         * include/signal.h: Remove __sigvec declaration.
23872         * sysdeps/unix/bsd/sigvec.c: Remove file.
23873         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
23874         * manual/signal.texi (BSD Handler): Remove subsection.
23875         Move siginterrupt up to ...
23876         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
23877         (Blocking in BSD): Fold subsection into its parent.
23878         * NEWS: Mention sigvec removal.
23880 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
23882         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
23883         (DLA_FMS): Make definition conditional only on [__FMA4__].
23884         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
23885         definition.
23887         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
23888         Make definition conditional only on [PROF].
23889         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
23890         definition.
23891         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
23892         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
23894         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
23895         !__GNUC__].
23896         * include/signal.h (__sigpause): Move declaration above call to
23897         libc_hidden_proto.
23898         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
23899         variable.
23900         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
23901         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
23903 2014-11-14  David S. Miller  <davem@davemloft.net>
23905         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
23906         Define before including <string/memcpy.c> and <string/mempcpy.c>.
23908 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
23910         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
23911         * configure: Regenerated.
23912         * manual/install.texi (Tools for Compilation): Document a
23913         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
23914         compiler verified to work.
23915         * INSTALL: Regenerated.
23917         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
23918         redeclare with asm name.
23919         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
23920         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
23921         including <string.h>.
23922         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23923         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
23924         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23925         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
23926         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23927         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
23928         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23930 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
23932         * stdlib/strtol.c (__strtol): Use prototype definition.
23934         [BZ #17594]
23935         * stdlib/strtol.c (SYM__): New macro.
23936         (SYM__1): Likewise.
23937         (__strtol): Likewise.
23938         (strtol): Rename to __strtol and define as weak alias of
23939         __strtol.  Use libc_hidden_weak.
23941 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23943         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
23944         Use numbered labels in inline assembly.
23946 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23948         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
23949         Add setjmp LIBC_PROBE.
23950         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
23951         Likewise.
23952         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
23953         Add longjmp, longjmp_target LIBC_PROBE.
23954         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
23955         Likewise.
23957 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23959         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23960         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
23961         to get rid of unused variable warning.
23963 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23965         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
23966         Check for unwind_backtrace ==  NULL only in SHARED case.
23967         (__backchain_backtrace): Compile only in SHARED case.
23968         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
23969         Likewise.
23970         (__backchain_backtrace): Declare as static.
23972 2014-11-12  Roland McGrath  <roland@hack.frob.com>
23974         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
23975         (__libc_multiple_threads_ptr): Variable moved ...
23976         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
23978 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
23980         * conform/GlibcConform.pm: New file.
23981         * conform/conformtest.pl: Use GlibcConform module.
23982         * conform/linknamespace.pl: New file.
23983         * conform/list-header-symbols.pl: Likewise.
23984         * conform/Makefile (linknamespace-symlists-base): New variable.
23985         (linknamespace-symlists-tests): Likewise.
23986         (linknamespace-header-base): Likewise.
23987         (linknamespace-header-tests): Likewise.
23988         (tests-special): Add new tests.
23989         ($(linknamespace-symlists-tests)): New rule.
23990         (linknamespace-libs): New variable.
23991         ($(objpfx)symlist-stdlibs): New rule.
23992         ($(linknamespace-header-tests)): Likewise.
23993         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
23994         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
23995         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
23996         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
23997         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
23998         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
23999         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
24000         (test-xfail-ISO/math.h/linknamespace): Likewise.
24001         (test-xfail-ISO/signal.h/linknamespace): Likewise.
24002         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
24003         (test-xfail-ISO/time.h/linknamespace): Likewise.
24004         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
24005         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
24006         (test-xfail-ISO99/math.h/linknamespace): Likewise.
24007         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
24008         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24009         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
24010         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
24011         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
24012         (test-xfail-ISO11/math.h/linknamespace): Likewise.
24013         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
24014         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24015         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
24016         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24017         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
24018         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
24019         (test-xfail-XPG3/math.h/linknamespace): Likewise.
24020         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
24021         (test-xfail-XPG3/search.h/linknamespace): Likewise.
24022         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
24023         (test-xfail-XPG3/time.h/linknamespace): Likewise.
24024         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
24025         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
24026         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24027         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
24028         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
24029         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
24030         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
24031         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
24032         (test-xfail-XPG4/math.h/linknamespace): Likewise.
24033         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
24034         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
24035         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
24036         (test-xfail-XPG4/search.h/linknamespace): Likewise.
24037         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
24038         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
24039         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
24040         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
24041         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
24042         (test-xfail-XPG4/time.h/linknamespace): Likewise.
24043         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
24044         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
24045         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
24046         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
24047         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
24048         (test-xfail-POSIX/math.h/linknamespace): Likewise.
24049         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
24050         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
24051         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
24052         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
24053         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
24054         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24055         (test-xfail-POSIX/time.h/linknamespace): Likewise.
24056         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
24057         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
24058         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
24059         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24060         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
24061         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
24062         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
24063         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
24064         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
24065         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
24066         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
24067         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
24068         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
24069         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
24070         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
24071         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
24072         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24073         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
24074         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
24075         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
24076         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24077         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24078         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
24079         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
24080         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
24081         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
24082         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
24083         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
24084         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
24085         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
24086         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
24087         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
24088         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
24089         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
24090         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
24091         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
24092         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
24093         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
24094         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
24095         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
24096         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
24097         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
24098         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
24099         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
24100         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
24101         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
24102         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
24103         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
24104         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24105         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
24106         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
24107         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
24108         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
24109         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
24110         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
24111         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
24112         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
24113         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
24114         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
24115         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
24116         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
24117         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
24118         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
24119         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
24120         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
24121         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
24122         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
24123         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
24124         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
24125         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
24126         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
24127         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
24128         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
24129         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
24130         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
24131         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
24132         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
24133         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
24134         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
24135         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
24136         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
24137         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
24138         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
24139         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
24140         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
24141         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
24142         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
24143         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
24144         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
24145         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
24146         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
24147         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
24148         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
24149         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
24150         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
24151         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
24152         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
24153         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
24155         [BZ #17589]
24156         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
24157         of fgets_unlocked.
24159         [BZ #17585]
24160         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
24161         (memmem): Rename to __memmem and define as weak alias of
24162         __memmem.  Use libc_hidden_weak.
24163         (__memmem): Use libc_hidden_def.
24164         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
24165         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
24166         memmem.
24168         [BZ #17582]
24169         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
24170         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
24171         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
24172         and define as weak alias of __fgets_unlocked.  Use
24173         libc_hidden_weak.
24174         (__fgets_unlocked): Use libc_hidden_def.
24175         * include/stdio.h (__fgets_unlocked): Declare.  Use
24176         libc_hidden_proto.
24177         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
24178         __fgets_unlocked instead of fgets_unlocked.
24179         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
24180         (GET_NPROCS_CONF_PARSER): Likewise.
24181         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
24182         (GET_NPROCS_CONF_PARSER): Likewise.
24184         [BZ #17574]
24185         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
24186         weak alias of __wmemset.  Use libc_hidden_weak.
24187         (__wmemset): Use libc_hidden_def.
24188         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
24189         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
24190         of wmemset.
24192         [BZ #17573]
24193         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
24194         with asm name __mempcpy.
24195         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
24197         [BZ #17572]
24198         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
24199         and define as weak alias of __rawmemchr.
24200         (__rawmemchr): Do not define as strong alias of rawmemchr.
24202         [BZ #17571]
24203         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
24204         alias of __qsort_r.
24205         (qsort): Call __qsort_r instead of qsort_r.
24206         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
24207         (__qsort_r): Declare.  Call libc_hidden_proto.
24208         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
24209         instead of qsort_r.
24210         * nscd/gai.c (__qsort_r): Define to qsort_r.
24211         * posix/tst-rfc3484.c (__qsort_r): Likewise.
24212         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
24213         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
24215         [BZ #17570]
24216         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
24217         define as weak alias of __malloc_info.
24219         [BZ #17584]
24220         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
24221         as weak alias of __rewinddir.  Don't use libc_hidden_def.
24222         (__rewinddir): Use libc_hidden_def.
24223         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
24224         as weak alias of __rewinddir.  Don't use libc_hidden_def.
24225         (__rewinddir): Use libc_hidden_def.
24226         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
24227         weak alias of __rewinddir.  Don't use libc_hidden_def.
24228         (__rewinddir): Use libc_hidden_def.
24229         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
24230         (__rewinddir): Use libc_hidden_proto.
24231         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
24232         rewinddir.
24233         (__getcwd): Use __rewinddir instead of rewinddir.
24235         [BZ #17583]
24236         * libio/fileno.c (fileno): Rename to __fileno and define as weak
24237         alias of __fileno.  Use libc_hidden_weak.
24238         (__fileno): Use libc_hidden_def.
24239         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
24240         * libio/ftello.c (ftello): Rename to __ftello and define as weak
24241         alias of __ftello.
24242         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
24243         __ftello.
24244         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
24245         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
24246         libc_hidden_def.
24247         (fread_unlocked): Don't use libc_hidden_ver.
24248         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
24249         and define as weak alias of __fread_unlocked.  Don't use
24250         libc_hidden_def.
24251         (__fread_unlocked): Use libc_hidden_def.
24252         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
24253         (ftello): Don't use libc_hidden_proto.
24254         (__ftello): Declare.  Use libc_hidden_proto.
24255         (fread_unlocked): Don't use libc_hidden_proto.
24256         (__fread_unlocked): Declare.  Use libc_hidden_proto.
24257         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
24258         and __ftello instead of fileno, fread_unlocked and ftello.
24260 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24262         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
24263         GOT12.
24264         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
24265         Likewise.
24266         (_dl_start_user): Likewise.
24267         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
24269 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
24270             Siddhesh Poyarekar  <siddhesh@redhat.com>
24272         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
24273         Move argv and envp down instead of moving argc up.
24274         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
24276 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
24278         [BZ #17506]
24279         * test-skeleton.c (main): Return successful if one of
24280         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
24281         * string/tst-strcoll-overflow.c: Define expected status.
24283 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
24285         [BZ #17475]
24286         * locale/iso-639.def: Define Bhili and Tulu language codes.
24288 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
24290         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
24292 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
24294         [BZ #17555]
24295         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
24297 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
24299         * configure.ac: Updated check of minimal required version to
24300         2.22.
24301         * manual/install.texi (Tools for Compilation): Updated version
24302         number.
24303         * configure: Regenerated.
24304         * INSTALL: Likewise.
24306 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
24308         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
24309         __tls_get_addr.
24311 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
24313         * include/sys/wait.h (__libc_waitpid): Remove declaration.
24314         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
24315         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24316         libc_hidden_weak.
24317         (waitpid): Define as alias of __waitpid.
24318         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
24319         __waitpid.
24320         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24321         libc_hidden_weak.
24322         (waitpid): Define as alias of __waitpid.
24323         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
24324         __libc_waitpid alias.
24325         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
24326         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
24327         Likewise.
24328         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
24329         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
24330         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
24331         alias.
24332         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
24333         __waitpid.
24334         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24335         libc_hidden_weak.
24336         (waitpid): Define as alias of __waitpid.
24338 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
24340         * manual/llio.texi: Add comment that write safety has been
24341         fixed in Linux.
24343         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
24344         (localplt-build-dso): Add elf/ld.so.
24345         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
24346         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
24347         and free for ld.so.
24348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
24349         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
24350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
24351         Likewise.
24352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
24353         Likewise.
24354         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
24355         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
24356         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
24357         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
24358         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
24359         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
24360         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
24361         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
24362         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
24363         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
24364         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
24366 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
24368         [BZ #14132]
24369         * include/libc-symbols.h (INTUSE): Remove macro.
24370         (INTDEF): Likewise.
24371         (INTVARDEF): Likewise.
24372         (_INTVARDEF): Likewise.
24373         (INTDEF2): Likewise.
24374         (INTVARDEF2): Likewise.
24375         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
24376         rtld_hidden_def instead of INTVARDEF.
24377         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
24378         (_dl_starting_up_internal): Remove declaration.
24379         (_dl_starting_up): Use rtld_hidden_proto.
24380         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
24381         declaration.
24382         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
24383         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
24384         _dl_starting_up.
24385         * elf/dl-writev.h (_dl_writev): Likewise.
24386         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
24387         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
24388         _dl_starting_up_internal.
24390 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24392         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
24393         test-skeleton.c.
24395 2014-11-05  Will Newton  <will.newton@linaro.org>
24397         * benchtests/Makefile: (bench-malloc): Add malloc thread
24398         scalability benchmark.
24399         * benchtests/bench-malloc-threads.c: New file.
24401 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
24403         * sysdeps/aarch64/strchrnul.S: New file.
24405 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24407         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
24408         definition.
24409         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
24410         Likwise.
24411         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
24412         Likewise.
24413         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
24414         Likewise.
24415         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
24416         Likewise.
24417         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
24418         Likewise.
24420 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
24422         * catgets/test-gencat.c: Use test-skeleton.c.
24423         * catgets/tst-catgets.c: Likewise.
24424         * csu/tst-empty.c: Likewise.
24425         * elf/tst-audit2.c: Likewise.
24426         * elf/tst-global1.c: Likewise.
24427         * elf/tst-pathopt.c: Likewise.
24428         * elf/tst-piemod1.c: Likewise.
24429         * elf/tst-tls10.c: Likewise.
24430         * elf/tst-tls11.c: Likewise.
24431         * elf/tst-tls12.c: Likewise.
24432         * gnulib/tst-gcc.c: Likewise.
24433         * iconvdata/tst-e2big.c: Likewise.
24434         * iconvdata/tst-loading.c: Likewise.
24435         * iconv/tst-iconv1.c: Likewise.
24436         * iconv/tst-iconv2.c: Likewise.
24437         * inet/test-inet6_opt.c: Likewise.
24438         * inet/tst-gethnm.c: Likewise.
24439         * inet/tst-network.c: Likewise.
24440         * inet/tst-ntoa.c: Likewise.
24441         * intl/tst-codeset.c: Likewise.
24442         * intl/tst-gettext2.c: Likewise.
24443         * intl/tst-gettext3.c: Likewise.
24444         * intl/tst-ngettext.c: Likewise.
24445         * intl/tst-translit.c: Likewise.
24446         * io/test-stat.c: Likewise.
24447         * libio/test-fmemopen.c: Likewise.
24448         * libio/tst-freopen.c: Likewise.
24449         * libio/tst-sscanf.c: Likewise.
24450         * libio/tst-ungetwc1.c: Likewise.
24451         * libio/tst-ungetwc2.c: Likewise.
24452         * libio/tst-widetext.c: Likewise.
24453         * localedata/tst-ctype.c: Likewise.
24454         * localedata/tst-digits.c: Likewise.
24455         * localedata/tst-leaks.c: Likewise.
24456         * localedata/tst-mbswcs1.c: Likewise.
24457         * localedata/tst-mbswcs2.c: Likewise.
24458         * localedata/tst-mbswcs3.c: Likewise.
24459         * localedata/tst-mbswcs4.c: Likewise.
24460         * localedata/tst-mbswcs5.c: Likewise.
24461         * localedata/tst-setlocale.c: Likewise.
24462         * localedata/tst-trans.c: Likewise.
24463         * localedata/tst-wctype.c: Likewise.
24464         * localedata/tst-xlocale1.c: Likewise.
24465         * login/tst-grantpt.c: Likewise.
24466         * malloc/tst-calloc.c: Likewise.
24467         * malloc/tst-malloc.c: Likewise.
24468         * malloc/tst-mallocstate.c: Likewise.
24469         * malloc/tst-mcheck.c: Likewise.
24470         * malloc/tst-mtrace.c: Likewise.
24471         * malloc/tst-obstack.c: Likewise.
24472         * math/atest-exp2.c: Likewise.
24473         * math/atest-exp.c: Likewise.
24474         * math/atest-sincos.c: Likewise.
24475         * math/test-matherr.c: Likewise.
24476         * math/test-misc.c: Likewise.
24477         * math/test-powl.c: Likewise.
24478         * math/tst-definitions.c: Likewise.
24479         * misc/tst-dirname.c: Likewise.
24480         * misc/tst-efgcvt.c: Likewise.
24481         * misc/tst-fdset.c: Likewise.
24482         * misc/tst-hsearch.c: Likewise.
24483         * misc/tst-mntent2.c: Likewise.
24484         * nptl/tst-sem7.c: Likewise.
24485         * nptl/tst-sem8.c: Likewise.
24486         * nptl/tst-sem9.c: Likewise.
24487         * nss/test-netdb.c: Likewise.
24488         * posix/tst-fnmatch.c: Likewise.
24489         * posix/tst-getlogin.c: Likewise.
24490         * posix/tst-gnuglob.c: Likewise.
24491         * posix/tst-mmap.c: Likewise.
24492         * pwd/tst-getpw.c: Likewise.
24493         * resolv/tst-inet_ntop.c: Likewise.
24494         * rt/tst-timer.c: Likewise.
24495         * stdio-common/test-fseek.c: Likewise.
24496         * stdio-common/test-popen.c: Likewise.
24497         * stdio-common/test-vfprintf.c: Likewise.
24498         * stdio-common/tst-cookie.c: Likewise.
24499         * stdio-common/tst-fileno.c: Likewise.
24500         * stdio-common/tst-gets.c: Likewise.
24501         * stdio-common/tst-obprintf.c: Likewise.
24502         * stdio-common/tst-perror.c: Likewise.
24503         * stdio-common/tst-sprintf2.c: Likewise.
24504         * stdio-common/tst-sprintf3.c: Likewise.
24505         * stdio-common/tst-sprintf.c: Likewise.
24506         * stdio-common/tst-swprintf.c: Likewise.
24507         * stdio-common/tst-tmpnam.c: Likewise.
24508         * stdio-common/tst-unbputc.c: Likewise.
24509         * stdio-common/tst-wc-printf.c: Likewise.
24510         * stdlib/tst-environ.c: Likewise.
24511         * stdlib/tst-fmtmsg.c: Likewise.
24512         * stdlib/tst-limits.c: Likewise.
24513         * stdlib/tst-rand48-2.c: Likewise.
24514         * stdlib/tst-rand48.c: Likewise.
24515         * stdlib/tst-random2.c: Likewise.
24516         * stdlib/tst-random.c: Likewise.
24517         * stdlib/tst-strtol.c: Likewise.
24518         * stdlib/tst-strtoll.c: Likewise.
24519         * stdlib/tst-tls-atexit.c: Likewise.
24520         * stdlib/tst-xpg-basename.c: Likewise.
24521         * string/test-ffs.c: Likewise.
24522         * string/tst-bswap.c: Likewise.
24523         * string/tst-inlcall.c: Likewise.
24524         * string/tst-strtok.c: Likewise.
24525         * string/tst-strxfrm.c: Likewise.
24526         * sysdeps/x86_64/tst-audit10.c: Likewise.
24527         * sysdeps/x86_64/tst-audit3.c: Likewise.
24528         * sysdeps/x86_64/tst-audit4.c: Likewise.
24529         * sysdeps/x86_64/tst-audit5.c: Likewise.
24530         * time/tst-ftime_l.c: Likewise.
24531         * time/tst-getdate.c: Likewise.
24532         * time/tst-mktime3.c: Likewise.
24533         * time/tst-mktime.c: Likewise.
24534         * time/tst-posixtz.c: Likewise.
24535         * time/tst-strptime2.c: Likewise.
24536         * time/tst-strptime3.c: Likewise.
24537         * wcsmbs/tst-btowc.c: Likewise.
24538         * wcsmbs/tst-mbrtowc.c: Likewise.
24539         * wcsmbs/tst-mbsrtowcs.c: Likewise.
24540         * wcsmbs/tst-wchar-h.c: Likewise.
24541         * wcsmbs/tst-wcpncpy.c: Likewise.
24542         * wcsmbs/tst-wcrtomb.c: Likewise.
24543         * wcsmbs/tst-wcsnlen.c: Likewise.
24544         * wcsmbs/tst-wcstof.c: Likewise.
24546 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
24548         [BZ #14132]
24549         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
24550         INTDEF.
24551         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
24552         declaration.
24553         (_dl_mcount): Use rtld_hidden_proto.
24554         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
24555         _dl_mcount.
24556         * elf/rtld.c (_rtld_global_ro): Likewise.
24558         [BZ #14132]
24559         * elf/dl-init.c (_dl_init): Don't use INTDEF.
24560         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
24561         of _dl_init_internal.
24562         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
24563         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
24564         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
24565         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
24566         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
24567         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
24568         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
24569         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
24570         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
24571         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
24572         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
24573         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
24574         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24575         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24576         * sysdeps/tile/dl-start.S (_start): Likewise.
24577         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
24578         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
24580         [BZ #14132]
24581         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
24582         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
24583         (rtld_progname): Make macro definition unconditional.
24584         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
24585         INTDEF.
24586         (dlmopen_doit): Do not use INTUSE with _dl_argv.
24587         (dl_main): Likewise.
24588         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24589         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
24590         instead of _dl_argv_internal.
24591         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24592         __GI__dl_argv instead of INTUSE(_dl_argv).
24593         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
24594         __GI__dl_argv instead of _dl_argv_internal.
24596         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
24597         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
24598         macro.
24599         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
24600         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
24601         New macro.
24602         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
24603         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
24604         macro.
24605         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
24606         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
24608 2014-11-04  Andreas Schwab  <schwab@suse.de>
24610         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
24612 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24614         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
24615         mtvsrd instruction in binary form.
24617 2014-11-03  Andreas Schwab  <schwab@suse.de>
24619         [BZ #17522]
24620         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
24621         for less than MB_LEN_MAX use a local buffer of that size.
24622         * libio/tst-fputws.c: New file.
24623         * libio/Makefile (tests): Add tst-fputws.
24625 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
24627         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
24628         the size of the fpu_fr.fpu_dregs[] array.
24630 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
24632         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
24633         (__nanosleep): Do not define as alias.
24634         (nanosleep): Define as alias of __nanosleep.
24635         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
24636         __libc_nanosleep name.
24638 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24640         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
24641         install.texi in comment.
24643 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24645         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
24646         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
24647         ... add here and use lwsync or sync ...
24648         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
24649         ... and add here using lwsync.
24651 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
24653         * elf/dl-machine-reject-phdr.h: New file.
24654         * elf/dl-load.c: #include that.
24655         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
24656         if that returned true.
24658 2014-10-31  Roland McGrath  <roland@hack.frob.com>
24660         [BZ #17496]
24661         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
24662         gen-as-const-headers chunk.  Add a big scare comment after the last
24663         safe place to touch before-compile.
24665 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24667         * manual/install.texi (Tools for Compilation): Update autoconf
24668         version requirements.
24669         * INSTALL: Regenerated.
24671         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
24672         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
24673         (__libc_pselect): Likewise.
24675         [BZ #14138]
24676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
24677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24681 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24683         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
24684         correct barrier instruction.
24685         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
24686         Likewise.
24687         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
24688         Likewise.
24690 2014-10-30  Roland McGrath  <roland@hack.frob.com>
24692         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
24693         after defining inlines.  Instead, just use parens to defeat macro
24694         expansion of __isctype in its declaration.
24696 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
24698         * include/sys/uio.h (__libc_readv): Remove declaration.
24699         (__libc_writev): Likewise.
24700         * misc/readv.c (__libc_readv): Rename to __readv.
24701         (__readv): Do not define as alias.
24702         (readv): Define as alias of __readv.
24703         * misc/writev.c (__libc_writev): Rename to __writev.
24704         (__writev): Do not define as alias.
24705         (writev): Define as alias of __writev.
24706         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
24707         (__readv): Do not define as alias.
24708         (readv): Define unconditionally as alias of __readv.
24709         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
24710         (__writev): Do not define as alias.
24711         (writev): Define unconditionally as alias of __writev.
24712         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
24713         name.
24714         (writev): Do not define __libc_writev name.
24716 2014-10-30  Roland McGrath  <roland@hack.frob.com>
24718         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
24719         (convert_charseq): New function, broken out of ...
24720         (use_from_charmap): ... here.  Call it.
24721         (use_to_charmap): Use convert_charseq and free instead of duplicating
24722         its code with a variable-length stack struct.
24724 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
24726         * include/fcntl.h (__libc_creat): Remove declaration.
24727         * io/creat.c (__libc_creat): Rename to creat.
24728         (creat): Do not define as alias.
24729         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
24730         of creat instead of __libc_creat.
24731         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
24732         to creat.
24733         (creat): Do not define as alias.
24734         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
24735         __libc_creat.
24736         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
24737         __libc_creat name.
24738         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
24739         Likewise.
24741 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
24743         * manual/llio.texi: Add comments discussing why write() may be
24744         considered MT-unsafe on Linux.
24746 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
24748         * dl-load.c (local_strdup): Remove.
24749         (expand_dynamic_string_token): Use __strdup.
24750         (decompose_rpath): Likewise.
24751         (_dl_map_object): Likewise.
24753 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
24755         [BZ #14132]
24756         * sysdeps/generic/unwind-dw2-fde.c
24757         (__register_frame_info_bases_internal): Do not declare.
24758         (__register_frame_info_table_bases_internal): Likewise.
24759         (__deregister_frame_info_bases_internal): Likewise.
24760         (__register_frame_info_bases): Declare and use hidden_proto before
24761         definition.  Use hidden_def instead of INTDEF.
24762         (__register_frame_info_table_bases): Likewise.
24763         (__deregister_frame_info_bases): Likewise.
24764         (__register_frame_info): Do not use INTUSE.
24765         (__register_frame): Likewise.
24766         (__register_frame_info_table): Likewise.
24767         (__register_frame_table): Likewise.
24768         (__deregister_frame_info): Likewise.
24769         (__deregister_frame): Likewise.
24771 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
24773         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24774         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
24775         not undefine.
24776         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
24777         Likewise.
24778         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
24779         Likewise.
24781 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
24783         [BZ #14138]
24784         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
24785         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
24786         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
24787         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
24788         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
24789         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
24790         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
24791         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
24792         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
24793         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
24794         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
24795         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
24796         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
24797         syscall.
24798         (setfsuid): Likewise.
24799         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
24800         (setfsuid): Likewise.
24801         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
24802         (setfsuid): Likewise.
24803         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
24804         Likewise.
24805         (setfsuid): Likewise.
24806         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
24807         (setfsuid): Likewise.
24808         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
24809         Likewise.
24810         (setfsuid): Likewise.
24812 2014-10-27  Andreas Schwab  <schwab@suse.de>
24814         [BZ #17501]
24815         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
24816         check for Slow_SSE4_2 feature bit.
24817         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
24818         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24819         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
24820         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
24822 2014-10-24  Roland McGrath  <roland@hack.frob.com>
24824         * configure.ac: Validate compiler version with a empirical test of
24825         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
24826         $CC -v output.
24827         * configure: Regenerated.
24829         * inet/htons.c (htons): Prototypify.
24830         * inet/htonl.c (htonl): Likewise.
24832 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24834         * string/strncat.c (strncat): Improve performance by using strlen.
24836 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24838         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
24840 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24842         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
24843         Call libc_fetestexcept_aarch64.
24845 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24847         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
24848         Call libc_feholdexcept_aarch64.
24850 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24852         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
24853         Call get_rounding_mode.
24855 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24857         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24858         Simplify logic.
24860 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24862         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
24863         Simplify logic.
24865 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
24867         [BZ #14138]
24868         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
24869         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
24870         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
24871         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
24872         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
24873         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
24874         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
24875         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
24876         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
24877         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
24878         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24879         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
24880         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
24881         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
24882         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
24883         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
24884         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
24885         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
24886         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
24887         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
24888         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
24889         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
24890         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
24891         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
24892         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
24893         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
24894         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
24895         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
24896         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
24897         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
24898         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
24899         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
24900         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
24901         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
24902         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
24903         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
24904         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
24905         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
24906         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
24907         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
24908         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
24909         syscall.
24910         (geteuid): Likewise.
24911         (getgid): Likewise.
24912         (getuid): Likewise.
24913         (getresgid): Likewise.
24914         (getresuid): Likewise.
24915         (getgroups): Likewise.
24916         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
24917         (geteuid): Likewise.
24918         (getgid): Likewise.
24919         (getuid): Likewise.
24920         (getresgid): Likewise.
24921         (getresuid): Likewise.
24922         (getgroups): Likewise.
24923         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
24924         (geteuid): Likewise.
24925         (getgid): Likewise.
24926         (getuid): Likewise.
24927         (getresgid): Likewise.
24928         (getresuid): Likewise.
24929         (getgroups): Likewise.
24930         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
24931         Likewise.
24932         (geteuid): Likewise.
24933         (getgid): Likewise.
24934         (getuid): Likewise.
24935         (getresgid): Likewise.
24936         (getresuid): Likewise.
24937         (getgroups): Likewise.
24938         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
24939         (geteuid): Likewise.
24940         (getgid): Likewise.
24941         (getuid): Likewise.
24942         (getresgid): Likewise.
24943         (getresuid): Likewise.
24944         (getgroups): Likewise.
24945         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
24946         Likewise.
24947         (geteuid): Likewise.
24948         (getgid): Likewise.
24949         (getuid): Likewise.
24950         (getgroups): Likewise.
24952         [BZ #14138]
24953         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
24954         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
24955         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
24956         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24957         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
24958         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
24959         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
24960         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
24961         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
24962         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
24963         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
24964         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
24965         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
24966         __chown.
24967         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
24968         (lchown): Likewise.
24969         (fchown): Likewise.
24970         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
24971         Likewise.
24972         (lchown): Likewise.
24973         (fchown): Likewise.
24974         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
24975         (lchown): Likewise.
24976         (fchown): Likewise.
24977         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
24978         Likewise.
24979         (lchown): Likewise.
24980         (fchown): Likewise.
24982 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24984         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
24985         Simplify logic.
24987 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24989         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
24990         Cleanup logic.
24992 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24994         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
24995         Remove unused include.
24997 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24999         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
25000         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
25001         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
25002         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
25004 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
25005             Helge Deller <deller@gmx.de>
25007         [BZ #17508]
25008         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
25009         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
25010         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
25012 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
25014         [BZ #14132]
25015         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
25016         Remove macro definition.
25017         (__ashrdi3_v_glibc20): Likewise.
25018         (__lshrdi3_v_glibc20): Likewise.
25019         (__cmpdi2_v_glibc20): Likewise.
25020         (__ucmpdi2_v_glibc20): Likewise.
25021         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
25022         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25023         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25024         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25025         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25026         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
25028 2014-10-22  Roland McGrath  <roland@hack.frob.com>
25030         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
25031         old GNU extension [0] syntax.
25032         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
25033         alloca rather than an array member with variable length.
25034         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
25035         * nscd/nscd.c (invalidate_db): New function, broken out of ...
25036         (parse_opt): ... here.  Likewise use alloca there.
25037         Validate the -i argument before checking for rootness.
25038         (send_shutdown): New function, broken out of ...
25039         (parse_opt): ... here.
25041 2014-10-22  Roland McGrath  <roland@hack.frob.com>
25043         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
25044         macro to get at the _rt_local_ro field.
25045         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
25046         ([PIC] case) or _dl_hwcap ([!PIC] case).
25047         * sysdeps/arm/setjmp.S: Likewise.
25049         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
25050         * sysdeps/arm/configure.ac: New check to define it.
25051         * sysdeps/arm/configure: Regenerated.
25052         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
25053         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
25054         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
25055         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
25056         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
25057         Use move/movt pair instead of a load.
25058         (LDST_GLOBAL): Macro removed.
25059         (LDR_GLOBAL): New macro replaces it.
25060         (LDR_HIDDEN): New macro.
25061         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
25062         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
25064         * setjmp/tst-setjmp-static.c: New file.
25065         * setjmp/Makefile (tests): Add it.
25066         (tests-static): New variable.
25068 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
25070         [BZ #17485]
25071         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
25073 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
25075         [BZ #14132]
25076         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
25078 2014-10-21  Roland McGrath  <roland@hack.frob.com>
25080         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
25082 2014-10-20  Roland McGrath  <roland@hack.frob.com>
25084         * io/fts.c (dirent_not_directory): New function.
25085         (fts_build): Call it.
25087 2014-10-20  Roland McGrath  <roland@hack.frob.com>
25089         * nptl/version.c (__nptl_main): Use normal __write rather than
25090         INTERNAL_SYSCALL.
25091         (banner): Update copyright years.
25093         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
25094         gettimeofday.
25095         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
25096         * nptl/pthread_cond_timedwait.c: Likewise.
25097         * nptl/pthread_mutex_timedlock.c: Likewise.
25098         * nptl/sem_timedwait.c: Likewise.
25100         * sysdeps/nptl/bits/libc-lock.h
25101         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
25102         (__libc_lock_init_recursive): Return void, not 0.
25103         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
25104         (__libc_rwlock_init): Likewise.
25105         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
25107 2014-10-20  Torvald Riegel  <triegel@redhat.com>
25109         [BZ #15215]
25110         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
25111         (__pthread_once_slow): ... here.
25112         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
25113         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
25115 2014-10-20  Torvald Riegel  <triegel@redhat.com>
25117         [BZ #15215]
25118         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
25119         __PTHREAD_ONCE_FORK_GEN_INCR): New.
25120         * sysdeps/nptl/fork.c (__libc_fork): Use them.
25121         * nptl/pthread_once.c (__pthread_once): Likewise.
25122         Update comments.
25124 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
25126         [BZ #14138]
25127         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
25128         name.
25129         (writev): Use __libc_writev as strong name.
25130         * sysdeps/unix/sysv/linux/readv.c: Remove file.
25131         * sysdeps/unix/sysv/linux/writev.c: Likewise.
25133 2014-10-17  Roland McGrath  <roland@hack.frob.com>
25135         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
25137         * sysdeps/i386/nptl/tls.h
25138         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
25139         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
25140         New macros.
25141         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
25142         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
25143         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
25144         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
25145         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
25146         Call CHECK_THREAD_SYSINFO instead of doing an assert.
25148         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25149         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
25150         on [__NR_futex].
25151         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
25152         broken out of ...
25153         (__pthread_mutex_init): ... here.  Call it.
25154         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
25155         Conditionalize PI cases on [__NR_futex].
25156         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
25157         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
25158         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25160         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
25161         conditional on [SIGSETXID].
25162         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
25163         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
25164         is defined.  Likewise for SIGSETXID.
25165         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
25166         Conditionalize definitions on [SIGSETXID].
25167         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
25168         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
25169         unblocking on [SIGCANCEL].
25171         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
25172         [__NR_set_robust_list].
25174 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25176         * string/strcoll_l.c (get_next_seq): Fix up formatting.
25177         (do_compare): Likewise.
25179 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
25181         [BZ #15884]
25182         * string/strcoll_l.c: Don't include stdio.h.
25183         (coll_seq): Remove members idxarr and rulearr.
25184         (get_next_seq_cached): Remove function.
25185         (get_next_seq): Likewise.
25186         (get_next_seq_nocache): Rename to get_next_seq.
25187         (do_compare): Remove function.
25188         (do_compare_nocache): Rename to do_compare.
25189         (STRCOLL): Remove weight and rules cache.
25191 2014-10-16  Roland McGrath  <roland@hack.frob.com>
25193         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
25194         * sysdeps/arm/sfp-machine.h: ... to here.
25195         * sysdeps/arm/Implies: Remove arm/soft-fp.
25197 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
25199         * conform/data/sys/utsname.h-data (*_t): Allow.
25200         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
25201         [POSIX] (WEXITED): Do not expect constant.
25202         [POSIX] (WSTOPPED): Likewise.
25203         [POSIX] (WNOHANG): Likewise.
25204         [POSIX] (WNOWAIT): Likewise.
25205         [POSIX] (siginfo_t): Do not expect type or elements.
25206         [POSIX] (pid_t): Do not expect type.
25207         [POSIX] (signal.h): Do not allow header.
25208         [POSIX] (sys/resource.h): Likewise.
25209         [POSIX] (si_*): Do not allow pattern.
25210         [POSIX] (W*): Likewise.
25211         [POSIX] (P_*): Likewise.
25212         [POSIX] (BUS_*): Likewise.
25213         [POSIX] (CLD_*): Likewise.
25214         [POSIX] (FPE_*): Likewise.
25215         [POSIX] (ILL_*): Likewise.
25216         [POSIX] (POLL_*): Likewise.
25217         [POSIX] (SEGV_*): Likewise.
25218         [POSIX] (SI_*): Likewise.
25219         [POSIX] (TRAP_*): Likewise.
25220         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
25221         variable.
25223 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
25225         [BZ #12926]
25226         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
25227         infinite loop when __recvmsg returns 0.
25229 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
25231         * CANCEL-FCT-WAIVE: Remove file.
25232         * CANCEL-FILE-WAIVE: Likewise.
25234         [BZ #14132]
25235         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
25236         instead of INTVARDEF.
25237         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
25238         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
25239         rtld_hidden_data_def instead of INTVARDEF.
25240         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
25241         * elf/dl-deps.c (expand_dst): Likewise.
25242         * elf/dl-load.c (_dl_dst_count): Likewise.
25243         (_dl_dst_substitute): Likewise.
25244         (decompose_rpath): Likewise.
25245         (_dl_init_paths): Likewise.
25246         (open_path): Likewise.
25247         (_dl_map_object): Likewise.
25248         * elf/rtld.c (dl_main): Likewise.
25249         (process_dl_audit): Likewise.
25250         (process_envvars): Likewise.
25251         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
25252         Remove declaration.
25253         (__libc_enable_secure): Use rtld_hidden_proto.
25255 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25257         * elf/dl-load.c
25258         (add_path): New function broken out of _dl_rtld_di_serinfo.
25259         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
25261 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
25263         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
25264         parentheses around macro arguments.
25265         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
25266         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
25267         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
25268         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
25269         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
25270         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
25271         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
25272         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
25273         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
25274         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
25275         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
25276         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
25277         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
25278         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
25279         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
25280         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
25281         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
25282         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
25283         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
25284         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
25285         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
25286         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
25287         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
25288         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
25289         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
25290         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
25291         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
25292         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
25293         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
25294         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
25295         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
25296         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
25297         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
25298         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
25299         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
25300         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
25301         Likewise.
25302         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
25303         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
25304         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
25305         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
25306         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
25307         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
25308         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
25309         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
25310         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
25311         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
25312         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
25313         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
25314         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
25315         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
25316         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
25317         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
25318         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
25319         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
25320         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
25321         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
25322         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
25323         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
25324         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
25325         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
25326         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
25327         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
25328         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
25329         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
25330         (_FP_FRAC_SRS_1): Likewise.
25331         (_FP_FRAC_CLZ_1): Likewise.
25332         (_FP_MUL_MEAT_1_imm): Likewise.
25333         (_FP_MUL_MEAT_1_wide): Likewise.
25334         (_FP_MUL_MEAT_1_hard): Likewise.
25335         (_FP_SQRT_MEAT_1): Likewise.
25336         (_FP_FRAC_ASSEMBLE_1): Likewise.
25337         (_FP_FRAC_DISASSEMBLE_1): Likewise.
25338         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
25339         (__FP_CLZ_2): Likewise.
25340         (_FP_MUL_MEAT_2_wide): Likewise.
25341         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
25342         (_FP_MUL_MEAT_2_gmp): Likewise.
25343         (_FP_MUL_MEAT_2_120_240_double): Likewise.
25344         (_FP_SQRT_MEAT_2): Likewise.
25345         (_FP_FRAC_ASSEMBLE_2): Likewise.
25346         (_FP_FRAC_DISASSEMBLE_2): Likewise.
25347         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
25348         (_FP_FRAC_CLZ_4): Likewise.
25349         (_FP_MUL_MEAT_4_wide): Likewise.
25350         (_FP_MUL_MEAT_4_gmp): Likewise.
25351         (_FP_SQRT_MEAT_4): Likewise.
25352         (_FP_FRAC_ASSEMBLE_4): Likewise.
25353         (_FP_FRAC_DISASSEMBLE_4): Likewise.
25354         * soft-fp/op-common.h (_FP_CMP): Likewise.
25355         (_FP_CMP_EQ): Likewise.
25356         (_FP_CMP_UNORD): Likewise.
25357         (_FP_TO_INT): Likewise.
25358         (_FP_FROM_INT): Likewise.
25359         [!__FP_CLZ] (__FP_CLZ): Likewise.
25360         (_FP_DIV_HELP_imm): Likewise.
25361         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
25362         Likewise.
25363         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
25364         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
25365         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
25366         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
25367         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
25368         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
25369         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
25370         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
25371         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
25372         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
25373         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
25374         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
25375         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
25376         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
25377         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
25378         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
25379         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
25380         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
25381         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
25382         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
25383         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
25384         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
25385         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
25386         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
25387         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
25388         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
25389         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
25390         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
25391         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
25392         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
25393         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
25394         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
25395         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
25396         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
25397         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
25398         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
25399         (FP_UNPACK_RAW_SP): Likewise.
25400         (FP_PACK_RAW_S): Likewise.
25401         (FP_PACK_RAW_SP): Likewise.
25402         (FP_UNPACK_S): Likewise.
25403         (FP_UNPACK_SP): Likewise.
25404         (FP_UNPACK_SEMIRAW_S): Likewise.
25405         (FP_UNPACK_SEMIRAW_SP): Likewise.
25406         (FP_PACK_S): Likewise.
25407         (FP_PACK_SP): Likewise.
25408         (FP_PACK_SEMIRAW_S): Likewise.
25409         (FP_PACK_SEMIRAW_SP): Likewise.
25410         (_FP_SQRT_MEAT_S): Likewise.
25411         (FP_CMP_S): Likewise.
25412         (FP_CMP_EQ_S): Likewise.
25413         (FP_CMP_UNORD_S): Likewise.
25414         (FP_TO_INT_S): Likewise.
25415         (FP_FROM_INT_S): Likewise.
25417         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
25419         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
25420         (FP_EX_INVALID_IMZ): Likewise.
25421         (FP_EX_INVALID_IMZ_FMA): Likewise.
25422         (FP_EX_INVALID_ISI): Likewise.
25423         (FP_EX_INVALID_ZDZ): Likewise.
25424         (FP_EX_INVALID_IDI): Likewise.
25425         (FP_EX_INVALID_SQRT): Likewise.
25426         (FP_EX_INVALID_CVI): Likewise.
25427         (FP_EX_INVALID_VC): Likewise.
25428         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
25429         "invalid" exceptions.
25430         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
25431         (_FP_ADD_INTERNAL): Likewise.
25432         (_FP_MUL): Likewise.
25433         (_FP_FMA): Likewise.
25434         (_FP_DIV): Likewise.
25435         (_FP_CMP_CHECK_NAN): Likewise.
25436         (_FP_SQRT): Likewise.
25437         (_FP_TO_INT): Likewise.
25438         (FP_EXTEND): Likewise.
25440 2014-10-09  Allan McRae  <allan@archlinux.org>
25442         * po/fr.po: Update French translation from translation project.
25444 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
25446         [BZ #14132]
25447         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
25448         of INTDEF.
25449         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
25450         (__cxa_atexit): Use libc_hidden_proto.
25451         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
25453         [BZ #14132]
25454         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
25455         declaration.
25456         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
25457         [!_ISOMAC] (__iswspace_l_internal): Likewise.
25458         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
25459         [!_ISOMAC] (__iswctype_internal): Likewise.
25460         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
25461         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
25462         alias.
25463         (fcntl): Remove __fcntl_internal alias.
25464         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
25465         __connect_internal alias.
25466         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
25467         Likewise.
25469         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
25470         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
25471         FP_DENORM_ZERO.
25472         (_FP_CHECK_FLUSH_ZERO): New macro.
25473         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
25474         (_FP_CMP): Likewise.
25475         (_FP_CMP_EQ): Likewise.
25476         (_FP_TO_INT): Do not set inexact for subnormal arguments if
25477         FP_DENORM_ZERO.
25478         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
25479         (FP_TRUNC): Likewise.
25481         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
25482         treated as invalid conversion, not as normal exponent.
25484         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
25485         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
25486         (_FP_CMP_EQ): Likewise.
25487         (_FP_CMP_UNORD): Likewise.
25488         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
25489         (FP_CMP_EQ_D): Likewise.
25490         (FP_CMP_UNORD_D): Likewise.
25491         * soft-fp/extended.h (FP_CMP_E): Likewise.
25492         (FP_CMP_EQ_E): Likewise.
25493         (FP_CMP_UNORD_E): Likewise.
25494         * soft-fp/quad.h (FP_CMP_Q): Likewise.
25495         (FP_CMP_EQ_Q): Likewise.
25496         (FP_CMP_UNORD_Q): Likewise.
25497         * soft-fp/single.h (FP_CMP_S): Likewise.
25498         (FP_CMP_EQ_S): Likewise.
25499         (FP_CMP_UNORD_S): Likewise.
25500         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
25501         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
25502         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
25503         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
25504         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
25505         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
25506         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
25507         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
25508         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
25509         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
25510         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
25511         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
25512         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
25513         to FP_CMP_Q.
25514         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
25515         FP_CMP_Q.
25516         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
25517         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
25518         FP_CMP_EQ_Q.
25519         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
25520         FP_CMP_Q.
25521         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
25522         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
25523         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
25524         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
25525         FP_CMP_EQ_Q.
25526         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
25527         FP_CMP_Q.
25528         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
25529         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
25530         FP_CMP_EQ_Q.
25531         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
25532         FP_CMP_Q.
25533         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
25534         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
25535         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
25536         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
25537         FP_CMP_EQ_Q.
25539         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
25540         a subnormal result, set the underflow exception if trapping on
25541         underflow is enabled.
25542         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
25543         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
25544         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
25545         redefine to 0.
25546         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
25547         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
25548         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
25549         * soft-fp/extendxftf2.c (__extendxftf2): Use
25550         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
25552         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
25553         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
25554         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25555         FP_HANDLE_EXCEPTIONS.
25556         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
25557         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25558         FP_HANDLE_EXCEPTIONS.
25559         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
25560         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25561         FP_HANDLE_EXCEPTIONS.
25562         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
25563         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25564         FP_HANDLE_EXCEPTIONS.
25566 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
25568         [BZ #14132]
25569         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
25570         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
25571         use INTUSE.
25572         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
25573         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
25574         Remove alias.
25575         (__adjtimex): Define using libc_hidden_ver.
25576         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
25577         Remove declaration.
25578         (ntp_gettime): Call __adjtimex directly.
25579         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
25580         Remove declaration.
25581         (ntp_gettimex): Call __adjtimex directly.
25582         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
25583         __adjtimex_internal alias.
25585 2014-10-08  Roland McGrath  <roland@hack.frob.com>
25587         [BZ #17460]
25588         * nscd/nscd.c (more_help): Rewrite list of tables collection
25589         using xstrdup and asprintf.
25591         * nscd/nscd_conf.c: Remove local xstrdup declaration.
25593 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25594             Roland McGrath  <roland@hack.frob.com>
25596         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
25597         (do_lookup_unique): ... local function 'enter' here; update callers.
25599 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
25601         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
25602         compat_symbol calls on [SHARED].
25603         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
25604         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
25605         Remove.
25606         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25607         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
25608         (oldsetrlimit): Remove.
25609         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25611         (lchown): New syscall entry.
25612         (oldsetrlimit): Remove.
25613         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25614         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
25615         (oldsetrlimit): Remove.
25616         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25618         [BZ #14138]
25619         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
25620         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
25621         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
25622         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
25623         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25624         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
25625         (fchown): Likewise.
25626         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
25627         (fchown): Likewise.
25628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
25629         Likewise.
25631 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25633         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
25634         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
25635         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
25636         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
25637         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
25638         Likewise.
25639         (__old_sem_post): Likewise.
25641 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
25643         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
25644         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
25645         HAVE_CLOCK_GETTIME_VSYSCALL macros.
25646         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
25647         Use INLINE_VSYSCALL macro.
25648         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
25649         __vdso_clock_gettime.
25650         * sysdeps/unix/sysv/linux/tile/init-first.c
25651         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
25652         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
25653         __vdso_clock_gettime.
25655         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
25656         to set up frame more cleanly.
25658         * sysdeps/tile/memcmp.c: New file.
25660         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
25662         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
25663         * sysdeps/tile/tilegx/strcasestr.c: New file.
25664         * sysdeps/tile/tilegx/strnlen.c: New file.
25665         * sysdeps/tile/tilegx/strstr.c: New file.
25667         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
25669 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
25671         * nptl/tst-setuid3.c: Write errors to stdout.
25673 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25675         * elf/dl-deps.c
25676         (preload): New functions broken out of _dl_map_object_deps.
25677         (_dl_map_object_deps):  Remove a nested function. Update call sites.
25679 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
25681         [BZ #14138]
25682         * sysdeps/unix/sysv/linux/execve.c: Remove file.
25683         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
25685 2014-10-01  Steve Ellcey  <sellcey@mips.com>
25687         * sysdeps/mips/strcmp.S: New.
25689 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
25691         [BZ #14138]
25692         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
25693         (linkat): Likewise.
25694         (mkdirat): Likewise.
25695         (readlinkat): Likewise.
25696         (renameat): Likewise.
25697         (symlinkat): Likewise.
25698         (unlinkat): Likewise.
25699         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
25700         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
25701         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
25702         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
25703         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
25704         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
25705         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
25707 2014-09-30  Will Newton  <will.newton@linaro.org>
25709         * math/math.h: Define long double math functions if
25710         _LIBC_TEST is defined.
25711         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
25713         * localedata/Makefile: Move assignment to tests-special
25714         into an ifdef testing run-built-tests.
25715         * timezone/Makefile: Likewise.
25717 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
25719         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
25720         with $(BASH) not $(SHELL).
25722 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
25723             Matthew LeGendre  <legendre1@llnl.gov>
25725         [BZ #17411]
25726         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
25727         l_reloc_result.
25729 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25731         * stdio-common/printf_fp.c
25732         (hack_digit): New function, broken out of ...
25733         (__printf_fp): ... local function here.  Update call sites.
25734         hack_digit now takes an additional parameter that is a pointer
25735         to a struct of the referenced locals.  Those locals moved inside
25736         the struct and references updated.
25738 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
25740         * aclocal.m4: Require autoconf 2.69.
25741         * configure: Regenerated.
25742         * sysdeps/aarch64/configure: Likewise.
25743         * sysdeps/alpha/configure: Likewise.
25744         * sysdeps/arm/armv7/configure: Likewise.
25745         * sysdeps/arm/configure: Likewise.
25746         * sysdeps/ia64/configure: Likewise.
25747         * sysdeps/mach/configure: Likewise.
25748         * sysdeps/mips/configure: Likewise.
25749         * sysdeps/s390/configure: Likewise.
25750         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
25751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
25753         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
25754         file.
25755         * sysdeps/ia64/configure.ac: Likewise.
25757 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
25759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
25760         specify symbol version for ld.so.  Do not include entry for
25761         libpthread.
25762         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25763         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
25764         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25766         [BZ #14171]
25767         * Makeconfig [$(build-shared) = yes]
25768         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
25769         makefiles.
25770         [$(build-shared) = yes && $(soversions.mk-done) = t]
25771         ($(common-objpfx)gnu/lib-names.h): Remove rule.
25772         [$(build-shared) = yes && $(soversions.mk-done) = t]
25773         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
25774         to Makerules.
25775         [$(build-shared) = yes && $(soversions.mk-done) = t]
25776         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
25777         here.
25778         [$(build-shared) = yes && $(soversions.mk-done) = t]
25779         (common-generated): Don't append gnu/lib-names.h and
25780         gnu/lib-names.stmp here.
25781         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
25782         (lib-names-h-abi): New variable.
25783         [$(build-shared) = yes && $(soversions.mk-done) = t]
25784         (lib-names-stmp-abi): Likewise.
25785         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25786         abi-variants] (before-compile): Append
25787         $(common-objpfx)$(lib-names-h-abi).
25788         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25789         abi-variants] (common-generated): Append gnu/lib-names.h.
25790         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25791         abi-variants] (install-others-nosubdir): Depend on
25792         $(inst_includedir)/$(lib-names-h-abi).
25793         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25794         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
25795         [$(build-shared) = yes && $(soversions.mk-done) = t]
25796         ($(common-objpfx)$(lib-names-h-abi)): New rule.
25797         [$(build-shared) = yes && $(soversions.mk-done) = t]
25798         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
25799         [$(build-shared) = yes && $(soversions.mk-done) = t]
25800         (common-generated): Append $(lib-names-h-abi) and
25801         $(lib-names-stmp-abi).
25802         * scripts/lib-names.awk: Do not handle multi being set.
25803         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
25804         Remove variable.
25805         (abi-lp64_be-ld-soname): Likewise.
25806         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
25807         Likewise.
25808         (abi-hard-ld-soname): Likewise.
25809         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
25810         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
25811         Remove variable.
25812         (abi-o32_hard-ld-soname): Likewise.
25813         (abi-o32_soft_2008-ld-soname): Likewise.
25814         (abi-o32_hard_2008-ld-soname): Likewise.
25815         (abi-n32_soft-ld-soname): Likewise.
25816         (abi-n32_hard-ld-soname): Likewise.
25817         (abi-n32_soft_2008-ld-soname): Likewise.
25818         (abi-n32_hard_2008-ld-soname): Likewise.
25819         (abi-n64_soft-ld-soname): Likewise.
25820         (abi-n64_hard-ld-soname): Likewise.
25821         (abi-n64_soft_2008-ld-soname): Likewise.
25822         (abi-n64_hard_2008-ld-soname): Likewise.
25823         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
25824         Likewise.
25825         (abi-64-v2-ld-soname): Likewise.
25826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
25827         ld.so entries.
25828         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
25829         variable.
25830         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
25831         entry.
25832         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
25833         variable.
25834         (abi-64-ld-soname): Likewise.
25835         (abi-x32-ld-soname): Likewise.
25836         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
25837         entry.
25838         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25840 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
25842         [BZ #14138]
25843         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
25844         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
25845         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
25846         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
25847         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
25848         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
25849         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
25850         syscall entry for GLIBC_2.2 symbol version.
25851         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
25852         Likewise.
25853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25854         (setrlimit): Likewise.
25855         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
25856         Likewise.
25858 2014-09-23  Will Newton  <will.newton@linaro.org>
25860         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
25861         _LINUX_ARM_SYSDEP_H include guard too.
25862         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
25863         define.
25865 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25867         * sysdeps/unix/sysv/linux/eventfd.c:
25868         Make first argument unsigned.
25869         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
25870         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
25872 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
25874         [BZ #16852]
25875         * socket/recvmmsg.c (recvmmsg): Drop const argument.
25876         * socket/sys/socket.h: Likewise.
25877         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
25879 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25881         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
25883 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
25885         * time/tst-ftime.c: New test.
25886         * time/Makefile (tests): Add tst-ftime.
25888 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
25890         * soft-fp/extended.h: Fix comment formatting.
25891         * soft-fp/op-1.h: Likewise.
25892         * soft-fp/op-2.h: Likewise.
25893         * soft-fp/op-4.h: Likewise.
25894         * soft-fp/op-8.h: Likewise.
25895         * soft-fp/op-common.h: Likewise.
25896         * soft-fp/soft-fp.h: Likewise.
25898         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
25900 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
25902         [BZ #6652]
25903         * Makeconfig (soversions-default-setname): Remove variable.
25904         ($(common-objpfx)soversions.i): Don't pass default_setname to
25905         soversions.awk.
25906         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
25907         oldest_abi to abi-versions.awk.
25908         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
25909         * config.make.in (oldest-abi): Remove variable.
25910         * configure.ac (--enable-oldest-abi): Remove configure option.
25911         * configure: Regenerated.
25912         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
25913         text.
25914         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
25915         * scripts/soversions.awk: Do not handle default_setname variable.
25916         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
25917         variable.
25918         * sysdeps/mach/hurd/configure: Regenerated.
25919         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
25920         variable.
25921         * sysdeps/unix/sysv/linux/configure: Regenerated.
25923 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25925         * elf/Makefile (CFLAGS-interp.c): Remove.
25926         ($(elf-objpfx)runtime-linker.h): Generate header with linker
25927         path string.
25928         * elf/interp.c: Include generated runtime-linker.h
25930         * Makerules (lib%.so): Don't include $(+interp) in
25931         prerequisites.
25932         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
25933         * dlfcn/eval.c: Remove file.
25935         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
25936         macros.
25938         [BZ #17266]
25939         * misc/sys/cdefs.h: Define __extern_always_inline for clang
25940         4.2 and newer.
25942         [BZ #17370]
25943         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
25945 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25946             Jakub Jelinek  <jakub@redhat.com>
25948         [BZ #17266]
25949         * libio/stdio.h: Check definition of __fortify_function
25950         instead of __extern_always_inline to include bits/stdio2.h.
25951         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
25952         check if __extern_always_inline is defined.
25953         [__USE_MISC || __USE_XOPEN]: Likewise.
25954         [__USE_ISOC99] Likewise.
25955         * misc/sys/cdefs.h (__fortify_function): Define only if
25956         __extern_always_inline is defined.
25957         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
25958         __extern_always_inline and __extern_inline only for g++-4.3
25959         and newer or a compatible gcc.
25961 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
25963         [BZ #17371]
25964         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
25965         last change to handle zero prefix length.
25967 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25969         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
25970         _SC_REGEX_VERSION.
25972         * posix/getconf.c (vars): Add _POSIX_IPV6 and
25973         _POSIX_RAW_SOCKETS.
25975 2014-09-13  Allan McRae  <allan@archlinux.org>
25977         * po/ru.po: Update Russian translation from translation project.
25979 2014-09-12  Roland McGrath  <roland@hack.frob.com>
25981         * locale/programs/locale.c (show_locale_vars): Inline local function
25982         into its sole call site.  Clean up some style nits.
25983         (print_item): New function, broken out of ...
25984         (show_info): ... local function here.  Clean up style nits.
25986         * locale/programs/ld-ctype.c (set_one_default): New function, broken
25987         out of ...
25988         (set_class_defaults): ... local function set_default here.
25989         Define set_default as a macro locally to pass constant parameters.
25990         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
25991         rather than a shared local.
25993         * stdlib/rpmatch.c (try): New function, broken out of ...
25994         (rpmatch): ... local function here.  Also, prototypify definition.
25996 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
25998         * scripts/soversions.awk: Do not handle configuration names.
25999         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
26000         vendor and os variables to soversions.awk.
26001         * configure.ac: Do not modify gnu-* host_os.
26002         * configure: Regenerated
26003         * shlib-versions: Remove first column with configuration names.
26004         * nptl/shlib-versions: Likewise.
26005         * nptl_db/shlib-versions: Likewise.
26006         * sysdeps/hppa/shlib-versions: Likewise.
26007         * sysdeps/m68k/shlib-versions: Likewise.
26008         * sysdeps/mach/hurd/shlib-versions: Likewise.
26009         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
26010         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
26011         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
26012         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
26013         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
26014         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
26015         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
26016         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
26017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
26018         Likewise.
26019         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26020         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26021         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
26022         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26023         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26024         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
26025         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26026         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
26029         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
26030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
26031         Regenerated.
26032         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
26033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
26034         Condition symbol version definitions on [HAVE_ELFV2_ABI].
26036         * shlib-versions: Remove OS-specific entries.  Moved to files in
26037         sysdeps.
26038         * sysdeps/mach/hurd/shlib-versions: New file.
26039         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
26041         * nptl/shlib-versions: Remove architecture-specific entries.
26042         Moved to files in sysdeps.
26043         * shlib-versions: Likewise.
26044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
26045         file.
26046         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26047         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26048         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26049         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26051         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
26052         (UDP_NO_CHECK6_RX): Likewise.
26054 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26056         * sysdeps/posix/sysconf.c (__sysconf): Spell
26057         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
26059 2014-08-12  Florian Weimer  <fweimer@redhat.com>
26061         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
26062         loading.
26063         * iconv/Versions (__gconv_transliterate): Export for use from
26064         gconv modules.
26065         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
26066         (struct __gconv_trans_data, __gconv_trans_fct,
26067         __gconv_trans_context_fct, __gconv_trans_query_fct,
26068         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
26069         definitions.
26070         (struct __gconv_step_data): Remove __trans member.
26071         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
26072         longer hidden.  Remove unused trans_data argument.
26073         * iconv/gconv_int.h (struct trans_struct): Remove definition.
26074         (__gconv_translit_find): Remove declaration.
26075         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
26076         prototype.
26077         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
26078         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
26079         trans_data argument.  Add hidden definition.
26080         (__gconv_translit_find): Remove.
26081         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
26082         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
26083         * iconv/skeleton.c: Remove transliteration initialization.
26084         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
26085         __gconv_step_data initialization.
26086         * libio/iofwide.c (__libio_translit_): Remove.
26087         (_IO_fwide): Adjust struct __gconv_step_data initialization.
26088         * wcsmbs/btowc.c (__btowc): Likewise.
26089         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26090         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26091         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
26092         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
26093         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
26094         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
26095         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
26096         * wcsmbs/wctob.c (wctob): Likewise.
26098 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26100         [BZ #16194]
26101         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
26102         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
26103         register usage.
26104         * sysdeps/x86/Makefile: Adjust.
26106 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26107             Roland McGrath  <roland@hack.frob.com>
26109         * locale/weight.h: Add include guard.
26110         (findidx): Make static rather than auto; take new parameters
26111         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
26112         * locale/weightwc.h: Likewise.
26113         * posix/fnmatch_loop.c
26114         (FCT): Change type of EXTRA from int32_t to wint_t.
26115         Don't include either header inside the function.
26116         Call FINDIDX rather than findidx, and pass new arguments.
26117         #undef FINDIDX at the end of the file.
26118         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
26119         FINDIDX before including fnmatch_loop.c for the non-wide version.
26120         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
26121         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
26122         for the wide version.
26123         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
26124         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
26125         Pass new arguments to findidx.
26126         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
26127         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
26128         Don't #include it inside the function.  Pass new arguments to findidx.
26129         * posix/regex_internal.h
26130         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
26131         (re_string_elem_size_at): Don't #include it inside the function.
26132         Pass new arguments to findidx.
26133         * string/strcoll_l.c: #include WEIGHT_H at top level.
26134         (get_next_seq): Don't #include it inside the function.
26135         Pass new arguments to findidx.
26136         (get_next_seq_nocache): Likewise.
26137         * string/strxfrm_l.c: #include WEIGHT_H at top level.
26138         (STRXFRM): Don't #include it inside the function.
26139         Pass new arguments to findidx.
26141 2014-09-11  Florian Weimer  <fweimer@redhat.com>
26143         [BZ #17344]
26144         * malloc/malloc.c (unlink): Turn asserts into a call to
26145         malloc_printerr.
26147 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
26149         [BZ #17370]
26150         * libio/wfileops (do_ftell_wide): Free OUT.
26152 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
26154         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
26156 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26158         [BZ #17363]
26159         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
26160         group if the current group is empty.
26162 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26164         * benchtests/bench-memset.c (test_main): Add more test from size
26165         from 32 to 512 bytes.
26166         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26167         Add POWER8 memset object.
26168         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26169         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
26170         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
26171         implementation.
26172         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
26173         Likewise.
26174         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
26175         multiarch POWER8 memset optimization.
26176         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
26177         POWER8 memset optimization.
26179         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26180         Remove bzero multiarch objects.
26181         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
26182         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
26183         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
26184         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
26185         Remove define.
26186         [__bzero]: Redefine to specific name.
26187         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
26188         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
26189         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
26190         define.
26191         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26192         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
26194 2014-09-10  Florian Weimer  <fweimer@redhat.com>
26196         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
26197         warnings into errors.
26199         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
26200         __cxa_thread_atexit_impl prototype.
26202 2014-09-09  Steve Ellcey  <sellcey@mips.com>
26204         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
26205         Fix capitalization of error message.
26207 2014-09-09  Steve Ellcey  <sellcey@mips.com>
26209         * sysdeps/mips/preconfigure: Modify ABI tests.
26211 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
26213         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
26215 2014-09-07  Roland McGrath  <roland@hack.frob.com>
26216             Carlos O'Donell  <carlos@systemhalted.org>
26218         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
26219         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
26220         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
26221         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
26222         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
26223         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
26224         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
26225         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
26226         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
26227         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
26228         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
26229         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
26230         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
26231         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
26232         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
26233         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
26234         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
26235         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
26236         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
26237         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
26238         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
26239         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
26240         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
26241         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
26242         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
26243         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
26244         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
26245         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
26246         Deconditionalize the code that was previously under [RESET_PID].
26247         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
26248         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
26249         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
26250         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
26251         include sysdep.h.
26253 2014-09-08  Allan McRae  <allan@archlinux.org>
26255         * version.h (RELEASE): Set to "development".
26256         (VERSION): Set to "2.20.90"
26258 2014-09-07  Allan McRae  <allan@archlinux.org
26260         * version.h (RELEASE): Set to "stable".
26261         (VERSION): Set to "2.20"
26262         * include/features.h (__GLIBC_MINOR__): Set to 20.
26264         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
26265         Liebler.
26267         * po/ko.po: Update Korean translation from translation project.
26269 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
26271         [BZ #17354]
26272         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
26273         macro for handling signed relocations.
26275 2014-09-03  Florian Weimer  <fweimer@redhat.com>
26277         [BZ #17325]
26278         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
26279         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
26280         assert.
26281         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
26282         * iconvdata/ibm935.c (BODY): Likewise.
26283         * iconvdata/ibm937.c (BODY): Likewise.
26284         * iconvdata/ibm939.c (BODY): Likewise.
26285         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
26286         assert.
26287         * iconvdata/Makefile (iconv-test.out): Pass module list to test
26288         script.
26289         * iconvdata/run-iconv-test.sh: New test loop for checking for
26290         decoder crashers.
26292 2014-09-02  Khem Raj  <raj.khem@gmail.com>
26294         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
26295         libm_hidden_ver.
26297 2014-09-01  Allan McRae  <allan@archlinux.org>
26299         * po/eo.po: Update Esperanto translation from translation project.
26301         * po/ca.po: Update Catalan translation from translation project.
26303 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26305         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
26306         __proc_dostop call.
26308 2014-08-27  Mark Wielaard  <mjw@redhat.com>
26310         [BZ #17319]
26311         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
26312         to call set_thread_area instead of hand written asm.
26313         (__NR_set_thread_area): Removed define.
26314         (TLS_FLAG_WRITABLE): Likewise.
26315         (__ASSUME_SET_THREAD_AREA): Remove check.
26316         (TLS_EBX_ARG): Remove define.
26317         (TLS_LOAD_EBX): Likewise.
26319 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26321         Simplify atomicity of socket creation in bind.
26323         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
26324         looking up the name after linking the file.
26326 2014-08-27  Allan McRae  <allan@archlinux.org>
26328         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26330 2014-08-26  Florian Weimer  <fweimer@redhat.com>
26332         [BZ #17187]
26333         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
26334         trans_compare, open_translit, __gconv_translit_find):
26335         Remove module loading code.
26337 2014-08-26  Allan McRae  <allan@archlinux.org>
26339         * po/vi.po: Update Vietnamese translation from translation project.
26341         * po/uk.po: Update Ukrainian translation from translation project.
26343         * po/fr.po: Update French translation from translation project.
26345         * po/ru.po: Update Russian translation from translation project.
26347         * po/pl.po: Update Polish translation from translation project.
26349         * po/cs.po: Update Czech translation from translation project.
26351         * po/de.po: Update German translation from translation project.
26353         * po/bg.po: Update Bulgarian translation from translation project.
26355         * po/sv.po: Update Sweedish translation from translation project.
26357         * po/nl.po: Update Dutch translation from translation project.
26359         * po/es.po: Update Spanish translation from translation project.
26361 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26363         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
26365         * catgets/Makefile (CPPFLAGS-gencat): Remove.
26366         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
26367         (CPPFLAGS-iconvconfig): Likewise.
26368         * timezone/Makefile (CPPFLAGS-zic): Likewise.
26370         * include/libc-symbols.h: Remove unnecessary check for
26371         NOT_IN_libc.
26372         * nptl/pthreadP.h: Likewise.
26373         * sysdeps/aarch64/setjmp.S: Likewise.
26374         * sysdeps/alpha/setjmp.S: Likewise.
26375         * sysdeps/arm/sysdep.h: Likewise.
26376         * sysdeps/i386/setjmp.S: Likewise.
26377         * sysdeps/m68k/setjmp.c: Likewise.
26378         * sysdeps/posix/getcwd.c: Likewise.
26379         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26380         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
26381         * sysdeps/s390/s390-32/setjmp.S: Likewise.
26382         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26383         * sysdeps/sh/sh3/setjmp.S: Likewise.
26384         * sysdeps/sh/sh4/setjmp.S: Likewise.
26385         * sysdeps/unix/alpha/sysdep.h: Likewise.
26386         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26387         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26388         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
26389         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26392         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26393         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26394         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26395         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26396         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26397         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26398         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26399         * sysdeps/x86_64/setjmp.S: Likewise.
26401 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
26403         [BZ #17263]
26404         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
26405         <stdint.h>.
26406         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
26407         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
26409 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26411         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
26413         [BZ #17262]
26414         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
26415         and __x86_64__ when disabling x87 inline functions.
26417 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
26419         [BZ #17259]
26420         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
26421         asm statement with __cpuid_count.
26423 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
26425         * configure.ac: Change __ehdr_start code to dereference the struct.
26426         Run readelf on the output to look for relocations.
26427         * configure: Regenerated.
26429 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
26431         [BZ #17261]
26432         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
26433         value to 0.
26434         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
26436 2014-08-12  Roland McGrath  <roland@hack.frob.com>
26438         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
26440 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
26442         [BZ #16892]
26443         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
26444         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
26446 2014-08-12  Sean Anderson  <seanga2@gmail.com>
26448         * malloc/malloc.c: Fix typo in comment.
26450 2014-08-09  Allan McRae  <allan@archlinux.org>
26452         * Regenerate libc.po.
26454 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
26456         * intl/tst-gettext2.sh: Check every lang file for creation.
26458 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
26460         * sysdeps/aarch64/fpu/math_private.h
26461         (libc_feholdsetround_noex_aarch64_ctx): New function.
26463 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
26465         * sysdeps/arm/armv6/strcpy.S (strcpy):
26466         Fix performance issue in misaligned cases.
26468 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26470         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
26471         Move definition from termios.h.
26472         (struct termio): Likewise.
26473         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26474         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
26475         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
26476         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
26477         Likewise.
26478         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
26479         Move definition to ioctl-types.h
26480         (struct termio): Likewise.
26481         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26482         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
26483         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
26484         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
26485         Likewise.
26487 2014-08-05  Richard Henderson  <rth@redhat.com>
26489         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
26490         exceptions.
26491         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
26492         Add fraiseexcpt.
26493         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
26494         Use __feraiseexcept.
26495         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
26496         Protect libm symbols with IS_IN_libm.
26498         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
26500 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
26502         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
26504 2014-08-04  Will Newton  <will.newton@linaro.org>
26506         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
26507         file.
26509 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
26511         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
26512         variants for each function.
26514 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26516         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
26517         appended ...
26518         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
26519         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
26520         appended ...
26521         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
26522         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
26523         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
26524         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
26525         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
26526         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
26527         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
26528         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
26529         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
26530         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
26531         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
26532         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
26533         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
26534         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
26535         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
26536         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
26537         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
26538         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
26539         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
26540         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
26541         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
26542         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
26543         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
26544         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
26545         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
26546         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
26547         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
26548         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
26549         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
26550         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
26551         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
26552         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
26553         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
26554         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
26555         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
26556         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
26557         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
26558         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
26559         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
26560         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
26561         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
26562         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
26563         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
26564         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
26565         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
26566         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
26567         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
26568         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
26569         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
26570         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
26571         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
26572         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
26573         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
26574         Update #include.
26575         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
26576         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
26578 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26580         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
26581         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
26582         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
26583         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
26584         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
26585         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
26587 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26589         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
26590         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
26591         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26592         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
26594 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26596         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
26597         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
26598         (__libc_vfork): Define function under this name.
26599         (__vfork): Define as an alias.
26600         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
26601         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
26603 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26605         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
26606         that was previously under [RESET_PID].
26607         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
26609 2014-08-04  Andreas Schwab  <schwab@suse.de>
26611         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
26613 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
26615         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
26616         (main): Likewise.
26618 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26620         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
26622 2014-08-01  Richard Henderon  <rth@redhat.com>
26624         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
26625         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
26626         typo in exact zero test.
26627         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26628         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26629         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26631 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26633         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
26634         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
26635         * sysdeps/arm/sysdep.h: ... here.
26636         [!__ASSEMBLER__]: Include <stdint.h>.
26638 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26640         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
26641         (HAVE_WCTYPE_H): Likewise.
26642         (HAVE_ISWCTYPE): Likewise.
26643         (ENABLE_NLS): Likewise.
26644         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
26645         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
26647         * posix/regex_internal.c: Check if DEBUG is defined and is
26648         set.
26650         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
26651         (HAVE_MBSRTOWCS): Likewise.
26652         * posix/fnmatch.c: Include string.h unconditionally.
26654 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
26656         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
26657         reversal.
26659 2014-07-31  Roland McGrath  <roland@hack.frob.com>
26661         * sysdeps/generic/safe-fatal.h: New file.
26662         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
26663         * nptl/forward.c: Include it.
26664         (__pthread_unwind): Use __safe_fatal as default action, rather
26665         than a bogus use of INTERNAL_SYSCALL that could never work.
26667         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
26668         * configure.ac (libc_cv_builtin_trap): New test.
26669         * configure: Regenerated.
26670         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
26671         (ABORT_INSTRUCTION): Define using __builtin_trap.
26673         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
26674         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
26675         * sysdeps/nptl/nptl-signals.h: New file.
26676         * nptl/pthreadP.h: Include <nptl-signals.h>.
26678 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26680         * sysdeps/s390/s390-64/utf16-utf32-z9.c
26681         (ONE_DIRECTION): Define.
26682         * sysdeps/s390/s390-64/utf8-utf16-z9.c
26683         (ONE_DIRECTION): Define.
26684         * sysdeps/s390/s390-64/utf8-utf32-z9.c
26685         (ONE_DIRECTION): Define.
26687 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26689         * sysdeps/s390/Makefile: Delete file.
26690         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
26691         * sysdeps/s390/__longjmp.c: Delete file.
26692         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
26693         Remove fields __flags and __reserved.
26694         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
26695         and add versioning.
26696         * sysdeps/s390/rtld-__longjmp.c: Delete file.
26697         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
26698         * sysdeps/s390/rtld-setjmp.S: Likewise.
26699         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
26700         * sysdeps/s390/s390-32/__longjmp.c: ... here.
26701         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
26702         * sysdeps/s390/s390-32/setjmp.S: ... here.
26703         Add versioning.
26704         (__sigsetjmp): Remove setting __flags field.
26705         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
26706         * sysdeps/s390/s390-64/__longjmp.c: ... here.
26707         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
26708         * sysdeps/s390/s390-64/setjmp.S: ... here.
26709         Add versioning.
26710         (__sigsetjmp): Remove setting __flags field.
26711         * sysdeps/s390/setjmp.S: Delete file.
26712         * sysdeps/s390/sigjmp.c: Likewise.
26713         * sysdeps/s390/v1-longjmp.c: Likewise.
26714         * sysdeps/s390/v1-setjmp.h: Likewise.
26715         * sysdeps/s390/v1-sigjmp.c: Likewise.
26716         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
26717         Remove v1-longjmp_chk.
26718         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
26719         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
26720         Include debug/longjmp_chk.c and add versioning.
26721         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
26722         Include nptl/pt-longjmp.c and add versioning.
26723         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
26724         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
26725         Include __longjmp.c.
26726         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26727         Move to ...
26728         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
26729         (__getcontext): Remove setting __flags field.
26730         Add versioning.
26731         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26732         Don't restore upper high grps.
26733         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
26734         Likewise.
26735         (__swapcontext): Remove setting uc_flags field.
26736         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
26737         Delete file.
26738         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26739         Include __longjmp.c.
26740         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26741         Move to ...
26742         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
26743         (__getcontext): Remove setting __flags field.
26744         Add versioning.
26745         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
26746         (__swapcontext): Remove setting uc_flags field.
26747         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
26748         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
26749         Remove fields uc_high_gprs and __reserved.
26750         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
26751         New file with reverted content.
26752         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
26753         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
26754         Regenerated.
26755         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
26756         Regenerated.
26758 2014-07-31  Andreas Schwab  <schwab@suse.de>
26760         * config.h.in (HAVE_IFUNC): Define to 0.
26761         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
26762         definedness.
26764 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
26766         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26767         memmove-avx-unaligned, memcpy-avx-unaligned and
26768         mempcpy-avx-unaligned.
26769         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26770         Add tests for AVX memcpy functions.
26771         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
26772         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
26773         memcpy_chk.
26774         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
26775         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
26776         memmove_chk.
26777         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
26778         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
26779         mempcpy_chk.
26780         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
26781         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
26782         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
26784 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26786         [BZ #17213]
26787         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
26788         powerpc64le.
26790 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
26792         [BZ #16839]
26793         * manual/llio.texi: Add section about open file description locks.
26794         * manual/examples/ofdlocks.c: Example of open file description
26795         lock usage.
26796         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
26797         F_OFD_SETLK, and F_OFD_SETLKW.
26799 2014-07-23  Allan McRae  <allan@archlinux.org>
26801         * po/es.po: Update Spanish translation from translation project.
26803 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
26805         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
26807 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
26809         [BZ #17078]
26810         * sysdeps/arm/dl-machine.h (elf_machine_rela)
26811         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
26812         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
26814 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
26816         [BZ #17088]
26817         * math/fesetenv.c (__fesetenv)
26818         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
26819         * math/feupdateenv.c (__feupdateenv)
26820         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
26822         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
26823         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
26824         (__ASSUME_SOCKETCALL): Do not define.
26826         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
26827         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
26828         (__ASSUME_SOCKETCALL): Do not define.
26829         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
26830         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
26831         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26832         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
26833         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26834         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
26835         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26836         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26838         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
26839         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
26840         (__ASSUME_SOCKETCALL): Do not define.
26841         (__ASSUME_IPC64): Define unconditionally.
26842         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
26843         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26844         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
26845         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26846         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
26847         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26848         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
26849         Likewise.
26851         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
26852         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
26853         (__ASSUME_SOCKETCALL): Do not define.
26854         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
26855         (__ASSUME_FUTEX_LOCK_PI): Likewise.
26856         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26857         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
26858         (__ASSUME_REQUEUE_PI): Define unconditionally.
26859         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
26860         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
26861         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26862         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
26863         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26864         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26866         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
26867         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
26868         (__ASSUME_SOCKETCALL): Do not define.
26869         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
26870         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26871         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26872         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
26873         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26874         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26876         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
26877         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
26878         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26879         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
26880         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26881         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
26882         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26883         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
26884         (__ASSUME_GETCPU_SYSCALL): Likewise.
26886         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
26887         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
26888         cases for individual architectures.
26889         * sysdeps/gnu/configure: Regenerated.
26890         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
26891         LIBC_SLIBDIR_RTLDDIR.
26892         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
26893         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
26894         LIBC_SLIBDIR_RTLDDIR.
26895         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
26896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
26897         LIBC_SLIBDIR_RTLDDIR.
26898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
26899         Regenerated.
26900         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
26901         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
26902         file.
26903         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
26904         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
26905         file.
26906         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
26907         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
26908         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
26909         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
26911         * sysdeps/aarch64/shlib-versions: Move to ...
26912         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
26913         * sysdeps/alpha/shlib-versions: Move to ...
26914         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
26915         * sysdeps/arm/shlib-versions: Move to ...
26916         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
26917         * sysdeps/hppa/shlib-versions: Move all contents except for
26918         libgcc_s entry to ...
26919         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
26920         entry from ...
26921         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
26922         * sysdeps/ia64/shlib-versions: Move to ...
26923         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
26924         entry from ...
26925         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
26926         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
26927         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
26928         * sysdeps/microblaze/shlib-versions: Move to ...
26929         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
26930         * sysdeps/mips/shlib-versions: Move to ...
26931         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
26932         entry from ...
26933         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
26934         * sysdeps/tile/shlib-versions: Move to ...
26935         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
26936         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
26937         from ...
26938         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
26939         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
26940         entry from ...
26941         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
26943 2014-07-17  Will Newton  <will.newton@linaro.org>
26945         * sysdeps/arm/bits/atomic.h
26946         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
26947         (__arch_compare_and_exchange_bool_16_int): Likewise.
26948         (__arch_compare_and_exchange_bool_64_int): Likewise.
26950         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
26951         into an #else block.
26953 2014-07-16  Roland McGrath  <roland@hack.frob.com>
26955         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
26956         just Linux configurations.  Test empirically that the compiler sets
26957         __ARM_EABI__, rather than using the tuple to decide.
26958         * sysdeps/arm/preconfigure: Regenerated.
26959         * sysdeps/unix/sysv/linux/arm/configure: File removed.
26960         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
26961         contents appended ...
26962         * sysdeps/arm/configure.ac: ... here.
26963         * sysdeps/arm/configure: Regenerated.
26965 2014-07-15  Roland McGrath  <roland@hack.frob.com>
26967         * nptl/pthread_kill.c: New file.
26968         * nptl/pthread_sigmask.c: New file.
26969         * nptl/pthread_sigqueue.c: New file.
26971         * sysdeps/nptl/lowlevellock.h: New file.
26972         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
26973         * sysdeps/nptl/lowlevellock-futex.h: New file.
26975         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
26976         Remove dead declarations.
26978 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
26980         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
26981         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
26982         config-cflags-avx2.
26983         * sysdeps/x86_64/configure.ac: Likewise.
26984         * sysdeps/i386/configure: Regenerated.
26985         * sysdeps/x86_64/configure: Likewise.
26986         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26987         memset-avx2 only if config-cflags-avx2 is yes.
26988         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26989         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
26990         defined.
26991         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
26992         only if HAVE_AVX2_SUPPORT is defined.
26993         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26995 2014-07-14  Alan Modra  <amodra@gmail.com>
26997         [BZ #17153]
26998         * elf/elf.h (DT_PPC64_NUM): Correct value.
26999         * NEWS: Add to fixed bug list.
27001 2014-07-13  Jim Meyering  <meyering@fb.com>
27003         [BZ 17150]
27004         regex: don't deref NULL upon heap allocation failure
27005         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
27006         failure in one more place.
27007         To trigger the segfault, configure grep -with-included-regex,
27008         build it, and run these commands:
27009         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
27011 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
27013         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27015 2014-07-11  Richard Henderson  <rth@redhat.com>
27017         * sysdeps/aarch64/libm-test-ulps: Update.
27019 2014-07-10  Florian Weimer  <fweimer@redhat.com>
27021         [BZ #17135]
27022         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
27023         * nptl/allocatestack.c (__nptl_setxid_error): New function.
27024         (__nptl_setxid): Initialize error member.  Call
27025         __nptl_setxid_error.
27026         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
27027         * nptl/descr.h (struct xid_command): Add error member.
27028         * nptl/tst-setuid3.c: New file.
27029         * nptl/Makefile (tests): Add it.
27031 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27033         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
27034         New define.
27035         (__lll_trylock): Use __lll_base_trylock.
27036         (__lll_cond_trylock): Likewise.
27038 2014-07-10  Roland McGrath  <roland@hack.frob.com>
27040         * nptl/pthread_create.c (start_thread): Use atomic_or and
27041         lll_futex_wake directly rather than lll_robust_dead.
27042         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27043         (lll_robust_dead): Macro removed.
27044         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
27045         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27046         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27047         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27048         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27049         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
27050         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
27051         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27052         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
27053         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27054         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27055         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27056         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27057         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27058         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27060         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27061         Use atomic_compare_and_exchange_val_acq directly rather than
27062         lll_robust_trylock.
27063         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27064         (__lll_robust_trylock, lll_robust_trylock): Removed.
27065         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27066         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27067         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27068         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27069         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
27070         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
27071         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27072         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
27073         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27074         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27075         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27076         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27077         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27078         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27080 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27082         * manual/locale.texi (Locale Names): New section documenting
27083         locale name syntax.  Adjust menu and node chaining accordingly.
27084         (Choosing Locale): Reference Locale Names, Locale Categories.
27085         Mention setting LC_ALL=C.  Reflect that name syntax is now
27086         documented.
27087         (Locale Categories): New section title.  Reference Locale Names.
27088         LC_ALL is an environment variable, but not a category.
27089         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
27090         description, now in Locale Name.  Reference that section.  Locale
27091         name syntax is now documented.
27093 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27095         [BZ #17137]
27096         * locale/findlocale.c (name_present, valid_locale_name): New
27097         functions.
27098         (_nl_find_locale): Use the loc_name variable to store name
27099         candidates.  Call name_present and valid_locale_name to check and
27100         validate locale names.  Return an error if the locale is invalid.
27102 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27104         * locale/setlocale.c (setlocale): Use strdup for allocating
27105         composite name copy.
27107 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27109         Sync up with gnulib.
27110         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
27111         [!_LIBC && ENABLE_NLS]: Include gettext.h.
27112         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
27113         and _GL_ARG_NONNULL.
27114         [USE_UNLOCKED_IO]: Include unlocked-io.h.
27115         [!_LIBC]: Include code for Windows and Cygwin.
27116         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
27117         Include prototype for int strerror_r.
27118         [!_LIBC] (is_open): New function.
27119         (flush_stdout): New function.
27120         (print_errno_message): Use it.
27121         (error): Likewise.
27122         (error_at_line): Likewise.
27123         (error_tail) Add function attribute macros.  Use
27124         __builtin_expect.
27126         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
27128         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
27130         * io/ftw.c: Include sys/param.h unconditionally.
27132         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
27134         [BZ #17125]
27135         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
27136         libc_freeres_ptr.
27137         (freecache): New function to free CACHE on exit.
27139         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
27140         initialization.
27142 2014-07-09  David S. Miller  <davem@davemloft.net>
27144         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27146         * sysdeps/sparc/nptl/internaltypes.h: Delete.
27147         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
27148         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
27149         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
27150         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
27151         * sysdeps/sparc/nptl/sem_init.c: Likewise.
27152         * sysdeps/sparc/nptl/sem_post.c: Likewise.
27153         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
27154         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
27155         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
27156         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
27157         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
27158         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
27160 2014-07-09  Andreas Schwab  <schwab@suse.de>
27162         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
27163         output.
27164         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
27165         (do_test): Likewise.
27167         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27169 2014-07-09  Will Newton  <will.newton@linaro.org>
27171         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
27172         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
27173         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
27174         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
27175         * sysdeps/hppa/start.S (_start): Likewise.
27177 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
27179         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
27181         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
27182         defined.
27184 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27186         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
27187         after checking that it is non-NULL.
27189         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
27191 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27193         * sysdeps/powerpc/memmove.c: Remove file.
27194         * sysdeps/powerpc/powerpc32/power4/memcopy.h
27195         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
27196         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
27197         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
27198         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
27199         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
27200         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
27201         string memmove instead of removed powerpc one.
27203         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27204         [weak_alias]: Fix compiler warning due trailing data.
27205         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
27206         [weak_alias]: Likewise.
27207         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
27208         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
27210         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27211         (__libc_ifunc_impl_list): Add memmove functions.
27213 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27215         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
27216         Remove code.
27217         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
27218         Likewise.
27219         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
27220         Likewise.
27221         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
27222         Likewise.
27223         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
27224         Likewise.
27225         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
27226         Likewise.
27227         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
27228         Likewise.
27229         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
27230         Likewise.
27231         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
27232         Likewise.
27233         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
27234         Likewise.
27235         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
27236         Likewise.
27237         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
27238         Likewise.
27239         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
27240         Likewise.
27241         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
27242         Likewise.
27243         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
27244         Likewise.
27245         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
27246         Likewise.
27247         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
27248         Likewise.
27250 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27252         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
27253         to avoid alignment traps in non-cacheable memory.
27254         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27256         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
27257         multiarch objects.
27258         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
27259         file: multiarch power7 memmove.
27260         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
27261         multiarch default memmove.
27262         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
27263         multiarch memove for powerpc32/power4.
27265         * string/bcopy.c: Use full path to include memmove.c.
27266         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
27267         multiarch objects.
27268         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
27269         bcopy for powerpc64.
27270         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
27271         bcopy for powerpc64.
27272         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
27273         and memmove implementations.
27274         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
27275         optimized multiarch memmove for POWER7/powerpc64.
27276         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
27277         default multiarch memmove for powerpc64.
27278         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
27279         multiarch for powerpc64.
27280         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
27281         for POWER7/powerpc64.
27282         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
27283         memmove for POWER7/powerpc64.
27285         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
27286         glibc default one.
27288         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
27289         __ELF_NATIVE_CLASS equal to 64.
27291 2014-07-07  Roland McGrath  <roland@hack.frob.com>
27293         * sysdeps/nptl/lowlevellock.h: File removed.
27295         * NEWS: NPTL is no longer an add-on!
27296         * nptl/internaltypes.h: Moved ...
27297         * sysdeps/nptl/internaltypes.h: ... here.
27298         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
27299         * sysdeps/nptl/fork.c: Likewise.
27300         * sysdeps/nptl/gai_misc.h: Likewise.
27301         * sysdeps/nptl/librt-cancellation.c: Likewise.
27302         * sysdeps/nptl/jmp-unwind.c: Likewise.
27303         * sysdeps/nptl/setxid.h: Likewise.
27304         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
27305         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
27306         * sysdeps/unix/sysv/linux/arm/Implies: New file.
27307         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
27308         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
27309         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
27310         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
27311         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
27312         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
27313         * sysdeps/unix/sysv/linux/mips/Implies: New file.
27314         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
27315         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
27316         * sysdeps/unix/sysv/linux/sh/Implies: New file.
27317         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
27318         * sysdeps/unix/sysv/linux/tile/Implies: New file.
27319         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
27320         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
27321         * nptl/Makeconfig: Moved ...
27322         * sysdeps/nptl/Makeconfig: ... here.
27323         * nptl/configure: File removed.
27324         * nptl/ANNOUNCE: File removed.
27325         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
27326         * sysdeps/unix/sysv/linux/configure: Regenerated.
27328         * nptl/Makefile (routines): Add libc_pthread_init,
27329         libc_multiple_threads, register-atfork and unregister-atfork.
27330         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
27331         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
27332         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
27333         pthread-pi-defines.sym, structsem.sym.
27334         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
27335         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
27336         [$(subdir) = nptl] (tests): Add tst-setgetname.
27337         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
27338         * sysdeps/unix/sysv/linux/sigaction.c: Just include
27339         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
27340         [!LIBC_SIGACTION]: Remove aliases.
27341         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
27342         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
27343         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
27344         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
27345         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
27346         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
27347         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27348         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27349         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
27350         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
27351         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
27352         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
27353         __libc_allocate_rtsig_private.
27354         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
27355         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
27356         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
27357         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
27358         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
27359         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
27360         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
27361         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
27362         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
27363         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
27364         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
27365         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
27366         * nptl/internaltypes.h: ... here.
27367         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
27368         * sysdeps/nptl/jmp-unwind.c: ... here.
27369         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
27370         * nptl/libc-lowlevellock.c: ... here.
27371         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
27372         * nptl/libc_multiple_threads.c: ... here.
27373         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
27374         * nptl/libc_pthread_init.c: ... here.
27375         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
27376         * nptl/lowlevelbarrier.sym: ... here.
27377         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
27378         * nptl/lowlevelcond.sym: ... here.
27379         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
27380         * nptl/lowlevellock.c: ... here.
27381         * nptl/lowlevellock.h: Moved ...
27382         * sysdeps/nptl/lowlevellock.h: ... here.
27383         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
27384         * nptl/lowlevelrobustlock.c: ... here.
27385         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
27386         * nptl/lowlevelrobustlock.sym: ... here.
27387         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
27388         * nptl/lowlevelrwlock.sym: ... here.
27389         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
27390         * nptl/pt-fork.c: ... here.
27391         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
27392         * nptl/pthread-pi-defines.sym: ... here.
27393         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
27394         * nptl/pthread_attr_getaffinity.c: ... here.
27395         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
27396         * nptl/pthread_attr_setaffinity.c: ... here.
27397         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
27398         * nptl/pthread_mutex_cond_lock.c: ... here.
27399         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
27400         Update #include.
27401         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
27402         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
27403         * nptl/pthread_once.c: ... here, replacing old file.
27404         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
27405         * nptl/pthread_yield.c: ... here.
27406         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
27407         * nptl/register-atfork.c: ... here.
27408         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
27409         * nptl/sem_post.c: ... here.
27410         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
27411         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
27412         * nptl/sem_timedwait.c: ... here.
27413         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
27414         * nptl/sem_trywait.c: ... here.
27415         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
27416         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
27417         * nptl/sem_wait.c: ... here.
27418         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
27419         * nptl/structsem.sym: ... here.
27420         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
27421         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
27422         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
27423         * nptl/unregister-atfork.c: ... here.
27424         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
27425         * nptl/unwindbuf.sym: ... here.
27426         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
27427         * sysdeps/nptl/fork.c: ... here.
27428         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
27429         * sysdeps/nptl/fork.h: ... here.
27430         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
27431         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
27432         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
27433         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
27434         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
27435         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
27436         * sysdeps/unix/sysv/linux/getpid.c: ... here.
27437         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
27438         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
27439         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
27440         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
27441         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
27442         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
27443         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
27444         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
27445         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
27446         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
27447         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
27448         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
27449         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
27450         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
27451         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
27452         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
27453         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
27454         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
27455         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
27456         * sysdeps/unix/sysv/linux/raise.c: ... here.
27457         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
27458         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
27459         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
27460         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
27461         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
27462         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
27463         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
27464         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
27465         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
27466         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
27467         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
27468         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
27469         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
27470         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
27471         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
27473 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27475         * sysdeps/generic/memcopy.h: Add comment for
27476         MEMCPY_OK_FOR_FWD_MEMMOVE.
27478 2014-07-04  Will Newton  <will.newton@linaro.org>
27480         * string/memchr.c: Merge from gnulib.
27481         [_LIBC]: Remove conditionals.
27482         (__ptr_t): Remove define.
27483         (LONG_MAX_32_BITS): Likewise.
27484         (LONG_MAX): Likewise.
27485         (MEMCHR): Use ANSI prototype and optimize algorithm.
27487         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
27489 2014-07-03  Roland McGrath  <roland@hack.frob.com>
27491         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
27492         (lll_futex_timed_wait_bitset): Fix syscall argument count.
27494         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
27495         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
27496         in a bare environment with no <stdlib.h> installed.
27497         * sysdeps/nptl/configure: Regenerated.
27499         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
27501         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
27502         AC_EGREP_CPP for kernel header checks, so they only succeed if
27503         including <linux/version.h> actually works right.
27504         * sysdeps/unix/sysv/linux/configure: Regenerated.
27506         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
27507         value so it's not diagnosed as unused.
27509         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
27510         thing) with "ifeq ($(subdir),rt)".
27512 2014-07-03  Richard Henderson  <rth@redhat.com>
27514         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
27515         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
27516         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
27518         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
27519         (math_force_eval): New.
27521         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
27522         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
27524         * sysdeps/alpha/fpu/s_round.c: Remove file.
27525         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
27527         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
27528         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
27529         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
27530         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
27531         (_dl_start, print_statistics): Likewise.
27532         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
27533         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
27535         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27536         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27537         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27538         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27539         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27540         (HP_SMALL_TIMING_AVAIL): Define.
27541         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27542         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
27543         (HP_SMALL_TIMING_AVAIL): Define.
27544         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27545         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27547         * sysdeps/aarch64/hp-timing.h: New file.
27549         * sysdeps/generic/hp-timing.h: Remove dead comment.
27550         * sysdeps/generic/hp-timing-common.h: New file.
27551         * sysdeps/alpha/hp-timing.h: Include it.
27552         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
27553         * sysdeps/i386/i686/hp-timing.h: Likewise.
27554         * sysdeps/ia64/hp-timing.h: Likewise.
27555         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27556         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27557         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27558         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27559         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
27560         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
27561         (hp_timing_t): New.
27563         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
27564         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
27565         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
27566         * elf/rtld.c (_dl_start_final): Likewise.
27567         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
27568         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27569         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27570         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27571         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27572         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27573         (HP_TIMING_DIFF_INIT): Remove.
27574         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27575         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
27576         (HP_TIMING_DIFF_INIT): Remove.
27577         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27578         * sysdeps/i386/i686/hp-timing.c: Remove file.
27579         * sysdeps/x86_64/hp-timing.c: Remove file.
27580         * sysdeps/ia64/hp-timing.c: Remove file.
27581         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
27582         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
27583         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
27584         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
27586         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
27587         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
27588         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
27589         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27590         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27591         (HP_TIMING_ACCUM): Remove.
27592         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27593         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
27594         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27596         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
27597         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
27598         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
27599         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
27600         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
27601         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27602         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
27603         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27605         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
27607 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
27609         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
27611 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27613         Sync up with gettext.
27614         * intl/loadmsgcat.c: Define O_BINARY if not defined.
27615         [_MSC_VER]: Include malloc.h
27616         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
27617         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
27618         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
27619         TEMP_FAILURE_RETRY.  Cast return of alloca.
27620         [!_LIBC] Call gl_rwlock_init.
27621         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
27623 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27625         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
27626         before checking its value.
27628 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27630         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
27632         * debug/memcpy_chk.c: Don't include pagecopy.h.
27633         * debug/mempcpy_chk.c: Likewise.
27634         * string/memcpy.c: Likewise.
27635         * string/memmove.c: Likewise.
27636         * sysdeps/powerpc/memmove.c: Likewise.
27637         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
27638         definition of PAGE_COPY_FWD_MAYBE here...
27639         * sysdeps/generic/pagecopy.h: ... from here.
27640         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
27642 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27643             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27645         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
27646         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
27647         optimizations.
27648         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27649         (__libc_ifunc_impl_list): Likewise.
27650         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
27651         multiarch strcat for PPC64.
27652         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
27653         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
27655 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27657         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
27659 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27661         * intl/loadmsgcat.c: Remove declaration of
27662         get_sysdep_segment_value.
27663         (get_sysdep_segment_value): Use ISO C style.
27664         (_nl_load_domain): Use ISO C style.  Get rid of redundant
27665         semicolon.  Fix typo and formatting in comment.
27666         (_nl_unload_domain): Use ISO C style.
27668         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
27670 2014-07-02  Will Newton  <will.newton@linaro.org>
27672         * malloc/obstack.c: Merge from gnulib master.
27673         [HAVE_CONFIG_H]: Remove conditional code.
27674         [!_LIBC]: Include config.h.
27675         [!ELIDE_CODE]: Don't include inttypes.h, include
27676         stdint.h unconditionally.
27677         (print_and_abort): Mark as _Noreturn.
27678         (_obstack_allocated_p): Mark as __attribute_pure__.
27679         (obstack_free): Rename to __obstack_free.
27680         [!__attribute__]: Remove conditional code.
27681         * malloc/obstack.h: Merge from gnulib master.
27682         [__cplusplus]: Move conditional down.
27683         [!__attribute_pure__]: Define __attribute_pure__ here
27684         if it is not already defined.
27685         (_obstack_memory_used): Mark as __attribute_pure__.
27686         [!__obstack_free]: Define as obstack_free.
27687         [__GNUC__]: Remove check for ancient NeXT gcc.
27689 2014-07-02  Will Newton  <will.newton@linaro.org>
27690             Paul Eggert  <eggert@cs.ucla.edu>
27692         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
27694 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27696         * resolv/gethnamaddr.c: Add comment warning that the file is
27697         not maintained.
27699 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
27701         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
27702         entries.
27704         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
27705         entry for aio_cancel and aio_cancel64.
27706         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
27707         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
27708         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
27709         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
27710         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
27711         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
27712         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
27713         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
27714         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
27715         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
27716         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
27717         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
27718         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
27720 2014-07-01  Roland McGrath  <roland@hack.frob.com>
27722         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
27723         * nptl/pthread_mutex_lock.c: Likewise.
27724         * nptl/pthread_mutex_timedlock.c: Likewise.
27725         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
27727 2014-07-01  Richard henderson  <rth@redhat.com>
27729         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
27730         (__isnan, __isnanl): Remove.
27731         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
27733         * sysdeps/alpha/fpu/libm-test-ulps: Update.
27735 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
27737         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27739 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27741         * resolv/nss_dns/dns-host.c (getanswer_r)
27742         [MULTI_PTRS_ARE_ALIASES]: Remove code.
27744 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
27746         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27747         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
27748         undefine.
27749         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
27750         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
27752 2014-07-01  Roland McGrath <roland@hack.frob.com>
27754         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
27755         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
27757         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
27758         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
27760         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
27761         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
27762         ... here.
27763         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
27764         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
27766         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
27767         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
27768         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
27769         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
27771         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
27772         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
27773         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
27774         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
27775         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
27776         Moved ...
27777         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
27778         ... here.
27779         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
27780         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
27781         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
27782         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
27783         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
27784         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
27785         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
27786         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
27787         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
27788         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
27789         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
27790         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
27791         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
27792         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
27793         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
27794         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
27795         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
27796         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
27797         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
27798         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
27799         ... here.
27800         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
27801         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
27802         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
27803         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
27804         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
27805         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
27806         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
27807         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
27809 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
27811         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
27812         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
27813         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
27814         Add sysdep.
27816 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27820 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
27822         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27823         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27825         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27827         * sysdeps/arm/libm-test-ulps: Regenerated.
27829 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
27830             Roland McGrath <roland@hack.frob.com>
27832         * test-skeleton.c (signal_handler): Kill the whole process group
27833         before killing the child individually.
27834         (main): Report any failure on `setpgid'.
27836 2014-06-30  Roland McGrath  <roland@hack.frob.com>
27838         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
27839         from _TLS_H to _ARM_NPTL_TLS_H.
27840         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
27841         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
27843 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
27845         [BZ #16539]
27846         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
27847         (__expm1l): Return argument unchanged when small but not
27848         subnormal.
27850         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
27851         include macro name.
27852         (_FP_UNPACK_RAW_1_P): Likewise.
27853         (_FP_PACK_RAW_1): Likewise.
27854         (_FP_PACK_RAW_1_P): Likewise.
27855         (_FP_MUL_MEAT_1_wide): Likewise.
27856         (_FP_MUL_MEAT_DW_1_hard): Likewise.
27857         (_FP_MUL_MEAT_1_hard): Likewise.
27858         (_FP_DIV_MEAT_1_imm): Likewise.
27859         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
27860         (_FP_DIV_MEAT_1_udiv): Likewise.
27861         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
27862         (_FP_UNPACK_RAW_2): Likewise.
27863         (_FP_UNPACK_RAW_2_P): Likewise.
27864         (_FP_PACK_RAW_2): Likewise.
27865         (_FP_PACK_RAW_2_P): Likewise.
27866         (_FP_MUL_MEAT_DW_2_wide): Likewise.
27867         (_FP_MUL_MEAT_2_wide): Likewise.
27868         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
27869         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
27870         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
27871         (_FP_MUL_MEAT_2_gmp): Likewise.
27872         (_FP_DIV_MEAT_2_udiv): Likewise.
27873         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
27874         (_FP_FRAC_SRL_4): Likewise.
27875         (_FP_FRAC_SRST_4): Likewise.
27876         (_FP_FRAC_SRS_4): Likewise.
27877         (_FP_UNPACK_RAW_4): Likewise.
27878         (_FP_UNPACK_RAW_4_P): Likewise.
27879         (_FP_PACK_RAW_4): Likewise.
27880         (_FP_PACK_RAW_4_P): Likewise.
27881         (_FP_MUL_MEAT_DW_4_wide): Likewise.
27882         (_FP_MUL_MEAT_4_wide): Likewise.
27883         (_FP_MUL_MEAT_4_gmp): Likewise.
27884         (umul_ppppmnnn): Likewise.
27885         (_FP_DIV_MEAT_4_udiv): Likewise.
27886         (__FP_FRAC_ADD_4): Likewise.
27887         (__FP_FRAC_SUB_3): Likewise.
27888         (__FP_FRAC_SUB_4): Likewise.
27889         (__FP_FRAC_DEC_3): Likewise.
27890         (__FP_FRAC_DEC_4): Likewise.
27891         (__FP_FRAC_ADDI_4): Likewise.
27892         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
27893         (_FP_FRAC_SRL_8): Likewise.
27894         (_FP_FRAC_SRS_8): Likewise.
27896         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
27897         include macro name.
27898         (FP_UNPACK_RAW_EP): Likewise.
27899         (FP_PACK_RAW_E): Likewise.
27900         (FP_PACK_RAW_EP): Likewise.
27901         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
27902         (_FP_ISSIGNAN): Likewise.
27903         (_FP_ADD_INTERNAL): Likewise.
27904         (_FP_FMA): Likewise.
27905         (_FP_CMP): Likewise.
27906         (_FP_SQRT): Likewise.
27907         (_FP_TO_INT): Likewise.
27908         (_FP_FROM_INT): Likewise.
27909         (FP_EXTEND): Likewise.
27910         (_FP_DIV_MEAT_N_loop): Likewise.
27912 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
27914         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
27915         throughout.
27917 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
27919         [BZ #17097]
27920         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
27921         result with correct sign in case of exponents that produce
27922         overflow except for X very close to 1.
27924 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
27926         mktime: merge #if/#ifdef usage from glibc
27927         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
27928         as that works with both Glibc's and Gnulib's style.
27929         See thread starting at Siddhesh Poyarekar's bug report at:
27930         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
27932 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27934         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
27935         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
27936         * sysdeps/tile/tilegx/memmove.c: Remove file.
27938 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
27940         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
27941         abi-name definition.
27942         * scripts/soversions.awk: Do not handle or generate ABI lines.
27943         * shlib-versions: Remove ABI entries.
27944         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
27945         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
27947 2014-06-27  Roland McGrath  <roland@hack.frob.com>
27949         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
27950         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
27951         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
27952         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
27953         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
27954         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
27955         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
27956         Moved ...
27957         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
27958         ... here.
27959         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
27960         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
27961         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
27962         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
27963         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
27964         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
27965         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
27966         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
27967         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
27968         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
27969         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
27970         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
27971         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
27972         Moved ...
27973         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
27974         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
27975         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
27976         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
27977         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
27978         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
27979         Moved ...
27980         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
27981         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
27982         Moved ...
27983         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
27984         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
27985         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
27986         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
27987         Moved ...
27988         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
27989         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
27990         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
27991         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
27992         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
27993         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
27994         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
27995         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
27996         Moved ...
27997         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
27998         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
27999         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
28000         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
28001         Moved ...
28002         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
28003         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
28004         Moved ...
28005         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
28006         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
28007         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
28008         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
28009         Moved ...
28010         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
28011         ... here.
28012         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
28013         Identical file removed.
28014         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
28015         Moved ...
28016         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
28017         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
28018         Identical file removed.
28019         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
28020         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
28021         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
28022         Moved ...
28023         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
28024         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
28025         Identical file removed.
28026         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
28027         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
28028         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
28029         Identical file removed.
28030         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
28031         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
28032         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
28033         Identical file removed.
28034         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
28035         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
28036         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
28037         Identical file removed.
28038         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
28039         Moved ...
28040         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
28041         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
28042         Identical file removed.
28043         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
28044         Moved ...
28045         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
28046         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
28047         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
28048         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
28049         Identical file removed.
28050         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
28051         Moved ...
28052         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
28053         ... here.
28054         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
28055         Identical file removed.
28056         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
28057         Moved ...
28058         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
28059         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
28060         Identical file removed.
28061         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
28062         Moved ...
28063         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
28064         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
28065         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
28066         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
28067         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
28068         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
28069         Moved ...
28070         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
28071         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
28072         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
28074         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
28075         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
28076         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
28077         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
28078         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
28080 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
28082         [BZ #17092]
28083         * nscd/nscd.c (monitor_child): Return exit status of child
28084         instead of return value from wait syscall.
28086 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
28088         * configure.ac (libc_commonpagesize): Remove variable.
28089         (libc_relro_required): Likewise.
28090         (libc_cv_z_relro): Remove configure test.
28091         * configure: Regenerated.
28092         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
28093         variable.
28094         (libc_relro_required): Likewise.
28095         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
28096         (libc_relro_required): Likewise.
28097         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
28098         (libc_relro_required): Likewise.
28099         * sysdeps/arm/preconfigure: Regenerated.
28100         * sysdeps/ia64/preconfigure: Remove file.
28101         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
28102         variable.
28103         (libc_relro_required): Likewise.
28105         [BZ #16561]
28106         [BZ #16562]
28107         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
28108         (__ieee754_yn): Set FE_TONEAREST mode internally and then
28109         recompute overflowing results in original rounding mode.
28110         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
28111         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
28112         recompute overflowing results in original rounding mode.
28113         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
28114         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28115         recompute overflowing results in original rounding mode.
28116         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
28117         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28118         recompute overflowing results in original rounding mode.
28119         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
28120         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28121         recompute overflowing results in original rounding mode.
28122         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
28123         (libc_feholdsetround_ctx): New macro.
28124         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
28125         * sysdeps/i386/fpu/libm-test-ulps: Update.
28126         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
28128 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28130         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
28131         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
28132         corresponding .cpsetup call.
28134 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28136         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
28137         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
28138         * sysdeps/arm/Makefile [$(subdir) = csu]
28139         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
28140         (static-only-routines): Add aeabi_read_tp here.
28141         (shared-only-routines): Add libc-aeabi_read_tp here.
28142         (CFLAGS-libc-start.c): Add -fexceptions here.
28143         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
28144         (sysdep_routines, static-only-routines, shared-only-routines):
28145         Don't add to these here.
28146         (CFLAGS-libc-start.c): Likewise.
28148         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
28149         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
28150         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
28151         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
28152         * sysdeps/arm/Makefile [$(subdir) = rt]
28153         (librt-sysdep_routines, librt-shared-only-routines):
28154         Append rt-aeabi_unwind_cpp_pr1 here.
28155         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
28156         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
28157         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
28158         (libpthread-sysdep_routines, libpthread-shared-only-routines):
28159         Append nptl-aeabi_unwind_cpp_pr1 here.
28160         (tests): Filter out tst-cleanupx4 here.
28161         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
28162         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
28163         Don't do those here.
28165 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28167         * scripts/list-sources.sh: Do not handle ports specially.
28169 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28171         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
28172         * sysdeps/arm/feupdateenv.c: Likewise.
28174         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
28176 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28178         * manual/texinfo.tex: Update to version 2014-05-05.10 with
28179         trailing whitespace removed.
28180         * scripts/config.guess: Update to version 2014-03-23.
28181         * scripts/config.sub: Update to version 2014-05-01
28182         * scripts/install-sh: Update to version 2013-12-25.23.
28183         * scripts/move-if-change: Update from gnulib.
28185 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28187         * debug/memmove_chk.c: Remove pagecopy.h include.
28189 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
28191         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
28192         identical to gnulib mktime.
28194 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28196         * configure.ac: Do not test for machine being rs6000.  Do not test
28197         for powerpc*-*soft.
28198         * configure: Regenerated.
28200         [BZ #11505]
28201         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
28202         test.
28203         * configure: Regenerated.
28204         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
28205         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
28206         Remove configure test.
28207         * sysdeps/arm/configure: Regenerated.
28208         * sysdeps/nptl/configure.ac: Do not check
28209         libc_cv_asm_cfi_directives.
28210         * sysdeps/nptl/configure: Regenerated.
28211         * sysdeps/x86_64/nptl/configure.ac: Remove file.
28212         * sysdeps/x86_64/nptl/configure: Remove generated file.
28213         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
28214         unconditional.
28215         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
28217 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28219         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
28220         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
28221         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
28222         it is defined.
28224         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
28225         instead of whether it is defined.
28226         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
28227         * sysdeps/hppa/dl-machine.h: Likewise.
28228         * sysdeps/ia64/dl-machine.h: Likewise.
28229         * sysdeps/m68k/dl-machine.h: Likewise.
28230         * sysdeps/microblaze/dl-machine.h: Likewise.
28231         * sysdeps/mips/dl-machine.: Likewise.
28232         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28233         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28234         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28235         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28236         * sysdeps/sh/dl-machine.h: Likewise.
28237         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28238         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28239         * sysdeps/tile/dl-machine.h: Likewise.
28240         * sysdeps/x86_64/dl-machine.h: Likewise.
28242         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
28243         code.
28244         (verify_persistent_db): Likewise.
28246 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
28249         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
28250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
28251         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
28252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28253         Moved ...
28254         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
28255         ... here.
28256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
28257         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
28258         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
28259         Identical file removed.
28260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
28261         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
28262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
28263         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
28264         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
28265         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
28266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
28267         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
28268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
28269         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
28270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28271         Moved ...
28272         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
28273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
28274         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
28275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
28276         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
28277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28278         Moved ...
28279         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
28280         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
28281         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
28282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
28283         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
28284         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28285         Identical file removed.
28286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
28287         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
28288         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
28289         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
28290         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28291         Moved ...
28292         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
28293         ... here.
28294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
28295         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
28296         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
28297         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
28298         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
28299         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
28300         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
28301         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
28302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
28303         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
28304         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28305         Moved ...
28306         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
28307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
28308         Moved ...
28309         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
28310         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
28311         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
28312         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28313         Moved ...
28314         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
28315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
28316         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
28318         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
28319         folded into ...
28320         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
28321         * sysdeps/unix/sysv/linux/s390/Versions
28322         (libpthread: GLIBC_2.19): New version set.
28323         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
28324         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
28325         (librt: GLIBC_2.3.3): New version set.
28326         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
28327         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
28328         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
28329         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
28330         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
28331         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
28332         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
28333         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
28334         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
28335         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
28336         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
28337         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
28338         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
28339         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
28340         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
28341         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
28342         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
28343         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
28344         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
28345         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
28346         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
28347         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
28348         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
28349         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
28350         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
28351         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
28352         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
28353         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
28354         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
28355         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
28356         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
28357         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
28358         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
28359         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
28360         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
28361         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
28362         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
28363         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
28364         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
28365         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
28366         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
28367         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
28368         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
28369         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
28370         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
28372         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
28373         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
28374         (__libc_vfork): Define the function under this name.
28375         [!NOT_IN_libc] (__vfork): Make this an alias.
28376         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
28377         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
28378         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
28379         (__libc_vfork): Define the function under this name.
28380         [!NOT_IN_libc] (__vfork): Make this an alias.
28381         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
28382         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
28383         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
28384         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
28385         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
28386         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28388         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
28389         code that was previously under [RESET_PID].
28390         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
28391         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
28392         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
28394         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
28395         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
28396         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
28397         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
28398         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
28399         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
28400         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
28401         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
28402         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
28403         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
28404         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
28405         Moved ...
28406         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
28407         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
28408         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
28409         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
28410         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
28411         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
28412         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
28413         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
28414         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
28415         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
28416         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
28417         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
28418         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
28419         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
28420         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
28421         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
28422         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
28423         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
28424         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
28425         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
28426         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
28427         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
28428         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
28429         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
28430         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
28431         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
28432         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
28433         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
28434         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
28436 2014-06-25  Roland McGrath  <roland@hack.frob.com>
28438         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
28439         that was previously under [RESET_PID].
28440         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
28442 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28444         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
28445         not undefine and redefine.
28446         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
28447         [O_CLOEXEC]: Make code unconditional.
28448         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
28449         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
28450         <kernel-features.h>.
28451         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
28452         conditional variable definition.
28453         (shm_open) [O_CLOEXEC]: Make code unconditional.
28454         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
28455         code.
28457         * configure.ac (USE_REGPARMS): Don't define here.
28458         * configure: Regenerated.
28459         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
28460         * sysdeps/i386/configure: Regenerated.
28462         * nptl/createthread.c: Don't include kernel-features.h.
28463         * nptl/pthread_cancel.c: Likewise.
28464         * nptl/pthread_condattr_setclock.c: Likewise.
28465         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
28466         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
28467         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
28468         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
28469         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
28470         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
28471         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
28472         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
28473         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
28474         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
28475         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
28476         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
28477         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
28478         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
28479         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
28480         * nscd/gai.c: Likewise.
28481         * nss/nss_db/db-open.c: Likewise.
28482         * sysdeps/generic/ldsodefs.h: Likewise.
28483         * sysdeps/sh/nptl/tls.h: Likewise.
28484         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28485         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
28486         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
28487         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
28488         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
28489         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28490         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
28491         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28492         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28493         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
28494         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
28495         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28496         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
28497         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
28498         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
28499         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
28500         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
28501         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
28502         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
28503         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
28504         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
28505         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
28506         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
28507         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
28508         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
28509         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
28510         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
28511         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
28512         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
28513         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
28514         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
28515         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
28516         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
28517         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28518         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28519         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28520         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28521         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
28522         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
28523         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
28524         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28525         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
28526         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
28527         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28528         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
28529         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
28530         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
28531         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
28532         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
28533         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
28534         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
28535         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
28536         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
28537         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28538         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
28539         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28540         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
28541         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
28542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
28543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
28544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
28545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
28546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
28547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
28548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
28549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
28550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
28551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
28552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
28553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
28554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
28555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
28556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
28562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
28563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
28564         * sysdeps/unix/sysv/linux/pread.c: Likewise.
28565         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
28566         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
28567         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
28568         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
28569         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
28570         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
28571         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
28572         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
28573         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
28574         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
28575         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
28576         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
28577         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
28578         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
28579         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
28580         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28581         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
28582         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
28583         * sysdeps/unix/sysv/linux/system.c: Likewise.
28584         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
28585         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
28586         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28587         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28588         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28589         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28590         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28592         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
28593         * configure: Regenerated.
28594         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
28596         * configure.ac (base_machine): Do not set specially for particular
28597         machines here.
28598         * configure: Regenerated.
28599         * sysdeps/powerpc/preconfigure: Move machine and base_machine
28600         settings from configure.ac.
28601         * sysdeps/i386/preconfigure: New file.
28602         * sysdeps/s390/preconfigure: Likewise.
28603         * sysdeps/sh/preconfigure: Likewise.
28604         * sysdeps/sparc/preconfigure: Likewise.
28606 2014-06-25  Roland McGrath  <roland@hack.frob.com>
28608         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
28609         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
28610         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
28611         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
28612         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
28613         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
28614         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
28615         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
28616         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
28617         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
28618         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
28619         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
28620         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
28621         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
28622         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
28623         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
28624         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
28625         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
28626         * sysdeps/sparc/sparc64/Makefile: ... appended here.
28628         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
28629         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
28630         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
28631         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
28632         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
28633         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
28634         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
28635         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
28636         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
28637         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
28638         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
28639         * sysdeps/sparc/sparc32/sem_post.c: ... here.
28640         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
28641         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
28642         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
28643         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
28644         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
28645         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
28646         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
28647         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
28648         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
28649         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
28650         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
28651         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
28652         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
28653         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
28654         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
28655         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
28656         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
28657         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
28658         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
28659         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
28660         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
28661         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
28662         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
28663         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
28664         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
28665         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
28667         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
28668         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
28669         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
28670         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
28671         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28672         Moved ...
28673         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
28674         ... here.
28675         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
28676         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
28677         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
28678         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
28679         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
28680         Moved ...
28681         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
28682         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
28683         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
28684         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
28685         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
28686         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
28687         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
28688         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28689         Moved ...
28690         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
28691         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28692         Moved ...
28693         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
28694         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
28695         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
28696         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28697         Moved ...
28698         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
28699         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
28700         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
28701         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
28702         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
28703         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
28704         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
28705         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
28706         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
28707         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28708         Moved ...
28709         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
28710         ... here.
28711         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
28712         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
28713         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
28714         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
28715         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
28716         Moved ...
28717         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
28718         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
28719         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
28720         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
28721         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
28722         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
28723         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
28724         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28725         Moved ...
28726         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
28727         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28728         Moved ...
28729         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
28730         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
28731         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
28732         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28733         Moved ...
28734         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
28735         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
28736         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
28737         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
28738         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
28740 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28742         * timezone/checktab.awk: Update from tzcode 2014e.
28743         * timezone/private.h: Likewise.
28744         * timezone/tzfile.h: Likewise.
28745         * timezone/zdump.c: Likewise.
28746         * timezone/zic.c: Likewise.
28748         * sysdeps/unix/sysv/linux/kernel-features.h
28749         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
28750         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
28751         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
28752         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28753         Remove conditional code.
28755 2014-06-25  Will Newton  <will.newton@linaro.org>
28757         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
28758         (_dl_arm_cap_flags): Add HWCAP2 values.
28759         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
28760         (_DL_HWCAP_COUNT): Increase to 37.
28761         (_DL_HWCAP_LAST): New define.
28762         (_DL_HWCAP2_LAST): New define.
28763         (_dl_procinfo): Add support for printing
28764         AT_HWCAP2 entries.
28765         (_dl_string_hwcap): Use _dl_hwcap_string.
28767 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28769         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28771 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28773         * README: Do not mention ports directory.
28775         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
28776         Remove macro.
28777         * sysdeps/unix/sysv/linux/futimes.c: Do not include
28778         <kernel-features.h>.
28779         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
28780         conditional variable definition.
28781         (__futimes): Update comment.
28782         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
28783         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
28785         [BZ #16560]
28786         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
28787         arguments close to 0.
28788         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
28789         Likewise.
28790         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
28791         Likewise.
28792         * math/auto-libm-test-in: Add more tests of exp10.
28793         * math/auto-libm-test-out: Regenerated.
28794         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28796         * sysdeps/unix/sysv/linux/kernel-features.h
28797         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
28798         * sysdeps/unix/sysv/linux/readv.c: Do not include
28799         <kernel-features.h>.
28800         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
28801         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
28802         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
28803         unconditional.
28804         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
28805         conditional code.
28806         * sysdeps/unix/sysv/linux/writev.c: Do not include
28807         <kernel-features.h>.
28808         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
28809         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
28810         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
28811         unconditional.
28812         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
28813         conditional code.
28815 2014-06-25  Will Newton  <will.newton@linaro.org>
28817         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
28818         comment changes throughout the file.  Remove checks
28819         for HAVE_*_H definitions that are not required.
28820         (__gen_tempname): Call abort if an unknown kind value is
28821         passed.
28823 2014-06-25  Andreas Schwab  <schwab@suse.de>
28825         [BZ #17086]
28826         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
28827         scalbln, scalblnf, scalblnl in libc.
28829 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28831         [BZ #17086]
28832         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
28833         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
28834         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
28836 2014-06-24  Roland McGrath  <roland@hack.frob.com>
28838         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
28839         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
28840         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
28841         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
28842         Update #include.
28843         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
28844         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
28845         Update #include.
28846         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
28847         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
28848         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
28849         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
28850         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
28851         * sysdeps/x86/bits/pthreadtypes.h: ... here.
28852         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
28853         * sysdeps/x86/bits/semaphore.h: ... here.
28854         * sysdeps/x86/nptl/elide.h: Moved ...
28855         * sysdeps/x86/elide.h: ... here.
28856         * sysdeps/x86_64/nptl/Implies: File removed.
28857         * sysdeps/i386/nptl/Implies: File removed.
28859 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
28861         [BZ #16539]
28862         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
28863         return the argument for normal arguments with exponent below -64.
28864         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28865         Likewise.
28866         * math/auto-libm-test-in: Add another test of expm1.
28867         * math/auto-libm-test-out: Regenerated.
28869         [BZ #16287]
28870         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
28871         calling __erfcl for arguments at least 16.
28872         * math/auto-libm-test-in: Add more tests of erf.
28873         * math/auto-libm-test-out: Regenerated.
28875         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
28876         individual architectures.
28877         * sysdeps/unix/sysv/linux/configure: Regenerated.
28878         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
28879         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
28880         * sysdeps/unix/sysv/linux/powerpc/configure.ac
28881         (ldd_rewrite_script): Define variable.
28882         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
28884         file.
28885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
28886         generated file.
28887         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
28888         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
28889         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
28890         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
28891         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
28892         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
28893         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
28894         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
28896 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28898         [BZ #17084]
28899         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
28900         Rename member __data.d to __data.__elision_data.
28902 2014-06-24  Wilco  <wdijkstr@arm.com>
28904         * NEWS: Add 16918 to fixed bug list.
28906 2014-06-24  Wilco  <wdijkstr@arm.com>
28908         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
28910 2014-06-24  Wilco  <wdijkstr@arm.com>
28912         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
28913         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
28914         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
28915         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
28916         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
28917         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
28918         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
28919         Use _FPU_MASK_RM.
28921 2014-06-24  Wilco  <wdijkstr@arm.com>
28923         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
28925 2014-06-24  Wilco  <wdijkstr@arm.com>
28927         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
28928         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
28929         * sysdeps/arm/fesetround.c (fesetround): Remove space.
28930         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
28932 2014-06-24  Wilco  <wdijkstr@arm.com>
28934         [BZ #16918]
28935         * sysdeps/arm/feupdateenv.c (feupdateenv):
28936         Rewrite to reduce FPSCR accesses and fix return value.
28938 2014-06-24  Wilco  <wdijkstr@arm.com>
28940         * sysdeps/arm/fclrexcpt.c (feclearexcept):
28941         Optimize to avoid unnecessary FPSCR writes.
28942         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
28943         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
28944         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
28945         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
28947 2014-06-24  Wilco  <wdijkstr@arm.com>
28949         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
28950         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
28951         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
28952         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
28953         Call libc_fetestexcept_vfp.
28954         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
28955         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
28956         __SOFTFP__ ifdef so that they can be built for softfp.
28958 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28960         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
28961         argument type signed char.
28963         * Makerules (check-abi): Dump diff of symlist if the test
28964         fails.
28966 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28968         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
28969         using abort.
28971         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
28972         Remove unused variable ST.
28974 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
28976         [BZ #16354]
28977         [BZ #17061]
28978         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
28979         small arguments before calling __expm1.
28980         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
28981         small arguments before calling __expm1f.
28982         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
28983         small arguments before calling __expm1l.
28984         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
28985         Likewise.
28986         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
28987         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
28988         spurious underflow for some cosh tests.
28989         * math/auto-libm-test-out: Regenerated.
28990         * sysdeps/i386/fpu/libm-test-ulps: Update.
28992         [BZ #17050]
28993         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
28994         (__ieee754_y1): Set errno if return value overflows.
28995         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
28996         (__ieee754_y1f): Set errno if return value overflows.
28997         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
28998         (__ieee754_y1l): Set errno if return value overflows.
28999         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
29000         (__ieee754_y1l): Set errno if return value overflows.
29001         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
29002         * math/auto-libm-test-out: Regenerated.
29004         * math/gen-auto-libm-tests.c: Document use of
29005         ignore-zero-inf-sign.
29006         (input_flag_type): Add value flag_ignore_zero_inf_sign.
29007         (input_flags): Add ignore-zero-inf-sign.
29008         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
29009         * math/gen-libm-test.pl (generate_testfile): Handle
29010         ignore-zero-inf-sign.
29011         * math/auto-libm-test-in: Mark some cpow tests with
29012         ignore-zero-inf-sign and some with xfail-rounding.
29013         * math/auto-libm-test-out: Regenerated.
29014         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
29015         * sysdeps/i386/fpu/libm-test-ulps: Update.
29016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29018         [BZ #16315]
29019         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
29020         overflowing or underflowing operations take place with sign of
29021         result.
29022         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29023         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29024         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
29025         (__ieee754_pow): Recompute overflowing and underflowing results in
29026         original rounding mode.
29027         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
29028         (__powl_helper): Allow negative argument X and scale negated value
29029         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
29030         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
29031         overflowing or underflowing operations take place with sign of
29032         result.
29033         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
29034         Include <math.h>.
29035         * math/auto-libm-test-in: Add more tests of pow.
29036         * math/auto-libm-test-out: Regenerated.
29037         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
29038         (pow_tonearest_test_data): Remove.
29039         (pow_test_tonearest): Likewise.
29040         (pow_towardzero_test_data): Likewise.
29041         (pow_test_towardzero): Likewise.
29042         (pow_downward_test_data): Likewise.
29043         (pow_test_downward): Likewise.
29044         (pow_upward_test_data): Likewise.
29045         (pow_test_upward): Likewise.
29046         (main): Don't call removed functions.
29047         * sysdeps/i386/fpu/libm-test-ulps: Update.
29048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29050 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
29053         Moved ...
29054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
29055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29056         Moved ...
29057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
29058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29059         Moved ...
29060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
29061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29062         Moved ...
29063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
29064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29065         File removed.
29066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29067         File removed.
29068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
29069         File removed.
29070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
29071         File removed.
29072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
29073         File removed.
29074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
29075         File removed.
29076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
29077         File removed.
29078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29079         File removed.
29080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
29081         File removed.
29082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29083         File removed.
29084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
29085         File removed.
29086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
29087         File removed.
29088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
29089         Moved ...
29090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
29091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
29092         Moved ...
29093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
29094         ... here.
29095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
29096         Moved ...
29097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
29098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
29099         Moved ...
29100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
29101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
29102         Moved ...
29103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
29104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
29105         Moved ...
29106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
29107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
29108         Moved ...
29109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
29110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
29111         Moved ...
29112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
29113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
29114         Moved ...
29115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
29116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
29117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
29118         ... here.
29119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
29120         Moved ...
29121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
29122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29123         Moved ...
29124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
29125         ... here.
29126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
29127         Moved ...
29128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29129         ... here.
29130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29131         Moved ...
29132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
29133         ... here.
29134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29135         Moved ...
29136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
29137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
29138         Moved ...
29139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
29140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
29141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
29142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
29143         Moved ...
29144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
29145         ... here.
29146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
29147         Moved ...
29148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
29149         ... here.
29150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
29151         Moved ...
29152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
29153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
29154         Moved ...
29155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
29156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
29157         Moved ...
29158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
29159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29160         Moved ...
29161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
29162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
29163         Moved ...
29164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
29165         ... here.
29166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
29167         Moved ...
29168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
29169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
29170         Moved ...
29171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
29172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
29173         Moved ...
29174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
29175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
29176         Moved ...
29177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
29178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
29179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
29180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
29181         Moved ...
29182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
29183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
29184         Moved ...
29185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
29186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
29187         Moved ...
29188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
29189         ... here.
29190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29191         Moved ...
29192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
29193         ... here.
29194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
29195         Moved ...
29196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
29197         ... here.
29198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
29199         Moved ...
29200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
29201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
29202         Moved ...
29203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
29204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
29205         Moved ...
29206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
29207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
29208         Moved ...
29209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
29210         ... here.
29211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
29212         Moved ...
29213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
29214         ... here.
29215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
29216         Moved ...
29217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
29218         ... here.
29219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
29220         Moved ...
29221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
29222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29223         Moved ...
29224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
29226 2014-06-23  Will Newton  <will.newton@linaro.org>
29227             Wilco  <wdijkstr@arm.com>
29229         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
29230         implementation.  Include get-rounding-mode.h.
29231         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
29232         [!libc_feholdsetround_noex_ctx]: Define
29233         libc_feholdsetround_noex_ctx.
29234         [!libc_feholdsetround_noexf_ctx]: Define
29235         libc_feholdsetround_noexf_ctx.
29236         [!libc_feholdsetround_noexl_ctx]: Define
29237         libc_feholdsetround_noexl_ctx.
29238         (libc_feholdsetround_ctx): New function.
29239         (libc_feresetround_ctx): New function.
29240         (libc_feholdsetround_noex_ctx): New function.
29241         (libc_feresetround_noex_ctx): New function.
29243 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29245         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
29246         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
29247         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
29248         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
29249         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
29250         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
29252         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
29253         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
29254         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
29255         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
29256         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
29257         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
29258         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
29259         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
29260         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
29261         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
29262         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
29263         Moved ...
29264         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
29265         ... here.
29266         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
29267         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
29268         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
29269         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
29270         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
29271         Moved ...
29272         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
29273         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
29274         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
29275         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
29276         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
29277         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
29278         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
29279         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
29280         Moved ...
29281         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
29282         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
29283         Moved ...
29284         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
29285         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
29286         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
29287         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
29288         Moved ...
29289         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
29290         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
29291         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
29292         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
29293         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
29294         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
29295         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
29296         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
29297         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
29298         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
29299         Moved ...
29300         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
29301         ... here.
29302         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
29303         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
29304         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
29305         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
29306         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
29307         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
29308         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
29309         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
29310         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
29311         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
29312         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
29313         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
29314         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
29315         Moved ...
29316         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
29317         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
29318         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
29319         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
29320         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
29321         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
29322         Moved ...
29323         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
29324         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
29325         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
29326         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
29327         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
29329         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
29330         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
29331         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
29332         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
29333         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
29334         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
29335         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
29336         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
29337         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
29338         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
29339         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
29340         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
29341         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
29342         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
29343         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
29344         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
29345         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
29346         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
29347         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
29348         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
29349         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
29350         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
29351         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
29352         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
29353         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
29354         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
29355         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
29356         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
29358 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
29360         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29361         (FALLOC_FL_COLLAPSE_RANGE): New macro.
29362         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
29363         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
29364         (IPV6_PMTUDISC_INTERFACE): Likewise.
29365         (IPV6_PMTUDISC_OMIT): Likewise.
29367 2014-06-23  Andreas Schwab  <schwab@suse.de>
29369         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
29370         Remove unused errout label.
29372 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29374         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
29375         macro: hardware supports Vector Crypto instructions.
29377 2014-06-23  Will Newton  <will.newton@linaro.org>
29379         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
29380         rather than __builtin_expect.
29382         * elf/dl-lookup.c (undefined_msg): Remove variable.
29383         (_dl_lookup_symbol_x): Replace undefined_msg with string
29384         literal.
29386         * elf/dl-lookup.c (do_lookup_unique): New function.
29387         (do_lookup_x): Move STB_GNU_UNIQUE handling code
29388         to a separate function.
29390 2014-06-23  Andreas Schwab  <schwab@suse.de>
29392         [BZ #17079]
29393         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
29394         before reading the next line.
29396 2014-06-23  Will Newton  <will.newton@linaro.org>
29398         * test-skeleton.c (signal_handler): Use printf and %m
29399         rather than perror.  Use printf rather than fprintf to
29400         stderr.  Use puts rather than fputs to stderr.
29401         (main): Likewise.
29403 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
29405         * nscd/nscd.c (thread_info_t): Remove typedef.
29406         (thread_info): Remove variable.
29408 2014-06-21  Allan McRae  <allan@archlinux.org>
29410         * NEWS: Mention CVE-2014-4043.
29412 2014-06-20  Roland McGrath  <roland@hack.frob.com>
29414         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
29415         * nptl/smp.h: ... here.
29417         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
29419         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
29420         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
29421         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
29422         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
29424         * nptl/allocatestack.c: Include <stack-aliasing.h>.
29425         * nptl/stack-aliasing.h: New file.
29426         * sysdeps/i386/i686/stack-aliasing.h: New file.
29427         * sysdeps/i386/i686/nptl/Makefile: File removed.
29428         * sysdeps/x86_64/stack-aliasing.h: New file.
29429         * sysdeps/x86_64/nptl/Makefile
29430         (CFLAGS-pthread_create.c): Variable removed.
29432         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
29433         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
29434         old file.
29435         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
29436         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
29437         old file.
29439 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
29441         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29442         (__ASSUME_SIGFRAME_V2): Remove macro.
29443         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
29444         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
29445         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
29446         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
29447         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
29448         Declare as function.  Remove conditional macro definitions.
29449         (__default_rt_sa_restorer): Likewise.
29450         (__default_sa_restorer_v1): Remove declaration.
29451         (__default_sa_restorer_v2): Likewise.
29452         (__default_rt_sa_restorer_v1): Likewise.
29453         (__default_rt_sa_restorer_v2): Likewise.
29454         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
29455         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
29456         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
29458 2014-06-20  Roland McGrath  <roland@hack.frob.com>
29460         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
29461         (libpthread-routines): Add sysdep.
29462         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
29463         * sysdeps/unix/sysv/linux/sparc/Versions
29464         (libpthread: GLIBC_2.3.3): New version set.
29465         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
29466         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
29467         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
29468         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
29469         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
29470         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
29471         Moved ...
29472         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
29473         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
29474         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
29475         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
29476         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
29477         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
29478         * sysdeps/sparc/nptl/sem_init.c: ... here.
29479         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
29480         * sysdeps/sparc/nptl/sem_post.c: ... here.
29481         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
29482         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
29483         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
29484         * sysdeps/sparc/nptl/sem_wait.c: ... here.
29485         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
29486         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
29487         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
29488         (libpthread-routines): Add cpu_relax.
29489         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
29490         File removed.
29491         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
29492         (librt: GLIBC_2.3.3): New version set.
29493         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
29494         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
29495         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
29496         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
29497         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
29498         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
29499         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
29500         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
29501         Moved ...
29502         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
29503         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
29504         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
29505         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
29506         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
29507         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
29508         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
29509         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
29510         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
29511         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
29512         Moved ...
29513         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
29514         Update #include.
29515         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
29516         Moved ...
29517         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
29518         Update #include.
29519         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
29520         Moved ...
29521         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
29522         Update #include.
29523         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
29524         Moved ...
29525         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
29526         Update #include.
29527         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
29528         Moved ...
29529         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
29530         Update #include.
29531         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
29532         Moved ...
29533         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
29534         Update #include.
29535         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
29536         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
29537         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
29538         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
29539         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
29540         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
29541         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
29542         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
29543         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
29544         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
29545         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
29546         Moved ...
29547         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
29548         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
29549         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
29550         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
29551         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
29553 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29555         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
29556         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
29557         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29558         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
29559         * nscd/nscd.c: Likewise.
29560         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
29561         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
29562         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
29563         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
29565         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
29566         <kernel-features.h>.
29567         (init_mq_netlink): Remove conditional have_sock_cloexec
29568         definitions.  Remove code conditional on have_sock_cloexec < 0.
29569         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
29570         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
29571         * sysdeps/unix/sysv/linux/opensock.c: Do not include
29572         <kernel-features.h>.
29573         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
29574         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
29576 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29578         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29579         Add tests for memset_chk and memset.
29581         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
29582         with AVX2_Usable.
29584 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29586         [BZ #16046]
29587         * elf/tst-dl-iter-static.c: New file.
29588         * elf/Makefile (tests-static): Add tst-dl-iter-static.
29590         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
29591         error.
29593 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29595         * sysdeps/unix/sysv/linux/kernel-features.h
29596         (__ASSUME_F_GETOWN_EX): Remove macro.
29597         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
29598         <kernel-features.h>.
29599         (miss_F_GETOWN_EX): Remove variable or macro.
29600         (do_fcntl): Do not check miss_F_GETOWN_EX.
29601         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
29603         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
29604         Remove macro.
29605         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
29606         [!__ASSUME_AT_RANDOM]: Remove conditional code.
29607         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
29609         * sysdeps/unix/sysv/linux/kernel-features.h
29610         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
29611         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
29612         [ADJ_OFFSET_SS_READ]: Make code unconditional.
29613         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
29615 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29617         [BZ #17075]
29618         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
29619         Fix calculation of the symbol's value.
29620         * sysdeps/arm/tst-armtlsdescloc.c: New file.
29621         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
29622         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
29623         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
29624         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
29625         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
29626         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
29627         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
29628         (modules-names): Add `tst-armtlsdescmod',
29629         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
29630         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
29631         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29632         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
29633         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
29634         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29635         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
29636         ($(objpfx)tst-armtlsdescloc): New dependency.
29637         ($(objpfx)tst-armtlsdescextnow): Likewise.
29638         ($(objpfx)tst-armtlsdescextlazy): Likewise.
29639         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
29640         TLS scheme support.
29641         * sysdeps/arm/configure: Regenerate.
29643 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29645         * include/fcntl.h (__atfct_seterrno): Remove prototype.
29646         (__atfct_seterrno_2): Likewise.
29647         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
29648         <kernel-features.h>.
29649         (__ASSUME_ATFCTS): Do not undefine and redefine.
29650         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
29651         (__have_atfcts): Remove conditional definition.
29652         (__fxstatat([__NR_fstatat64]: Make code unconditional.
29653         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
29654         unreachable if [__ASSUME_ATFCTS].
29655         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
29656         not undefine and redefine.
29657         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
29658         <kernel-features.h>.
29659         (faccessat) [__NR_faccessat]: Make code unconditional.
29660         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
29661         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
29662         <kernel-features.h>.
29663         (fchmodat) [__NR_fchmodat]: Make code unconditional.
29664         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29665         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
29666         <kernel-features.h>.
29667         (fchownat) [__NR_fchownat]: Make code unconditional.
29668         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
29669         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
29670         <kernel-features.h>.
29671         (futimesat) [__NR_futimesat]: Make code unconditional.
29672         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
29673         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29674         <kernel-features.h>.
29675         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29676         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29677         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29678         <kernel-features.h>.
29679         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
29680         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29681         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
29682         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29683         <kernel-features.h>.
29684         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
29685         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29686         * sysdeps/unix/sysv/linux/linkat.c: Do not include
29687         <kernel-features.h>.
29688         (linkat) [__NR_linkat]: Make code unconditional.
29689         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29690         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
29691         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
29692         <kernel-features.h>.
29693         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
29694         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29695         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
29696         <kernel-features.h>.
29697         (mkdirat) [__NR_mkdirat]: Make code unconditional.
29698         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
29699         * sysdeps/unix/sysv/linux/openat.c: Do not include
29700         <kernel-features.h>.
29701         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
29702         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
29703         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
29704         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
29705         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
29706         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
29707         <kernel-features.h>.
29708         (readlinkat) [__NR_readlinkat]: Make code unconditional.
29709         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
29710         result of INLINE_SYSCALL directly, not via int variable.
29711         * sysdeps/unix/sysv/linux/renameat.c: Do not include
29712         <kernel-features.h>.
29713         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
29714         (renameat) [__NR_renameat]: Make code unconditional.
29715         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
29716         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
29717         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
29718         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
29719         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
29720         (__ASSUME_ATFCTS): Do not undefine and redefine.
29721         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
29722         <kernel-features.h>.
29723         (symlinkat) [__NR_symlinkat]: Make code unconditional.
29724         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29725         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
29726         <kernel-features.h>.
29727         (unlinkat) [__NR_unlinkat]: Make code unconditional.
29728         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29729         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
29730         (__ASSUME_ATFCTS): Do not undefine and redefine.
29731         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29732         <kernel-features.h>.
29733         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29734         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29735         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29736         <kernel-features.h>.
29737         (__xmknodat) [__NR_mknodat]: Make code unconditional.
29738         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29740 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29742         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
29744 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
29746         [BZ #17069]
29747         * posix/regcomp.c (parse_reg_exp): Deallocate partially
29748         constructed tree before returning error.
29749         * posix/bug-regexp36.c: Expand test case.
29751 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
29753         [BZ #6803]
29754         * math/libm-test.inc (scalbln_test_date):
29755         Add errno expectations.
29756         * math/w_scalblnf.c: New File.
29757         Add wrapper which checks for setting errno to ERANGE.
29758         Add weak_alias for corresponding scalbln function.
29759         * math/w_scalbln.c: Likewise.
29760         * math/w_scalblnl.c: Likewise.
29761         * math/Makefile (libm-calls): Add w_scalbln.
29762         * sysdeps/ieee754/flt-32/s_scalblnf.c:
29763         Remove weak_alias for corresponding scalbln function.
29764         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29765         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29766         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29767         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29768         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
29769         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
29770         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
29771         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
29772         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
29773         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
29774         Remove long_double_symbol for scalblnl function in libm, libc.
29775         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
29776         Add wrapper which checks for setting errno to ERANGE.
29777         Add long_double_symbol for scalblnl function in libm, libc.
29778         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
29779         Remove long_double_symbol for scalblnl in libm.
29780         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
29781         Add wrapper which checks for setting errno to ERANGE.
29782         Add long_double_symbol for scalblnl function in libm.
29783         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
29784         Do not use wrapper because of own implementation.
29786 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
29788         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
29789         3 bytes for __pad1 for x32.
29790         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
29792 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
29793             H.J. Lu  <hongjiu.lu@intel.com>
29795         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
29796         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
29797         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29798         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29799         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
29801 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
29803         [BZ #17069]
29804         * posix/regcomp.c (parse_expression): Deallocate partially
29805         constructed tree before returning error.
29806         * posix/Makefile.c (tests): Add bug-regex36.
29807         (generated): Add bug-regex36.mtrace.
29808         (tests-special): Add $(objpfx)bug-regex36-mem.out
29809         (bug-regex36-ENV): New variable.
29810         ($(objpfx)bug-regex36-mem.out): New rule.
29811         * posix/bug-regex36.c: New file.
29813 2014-06-19  Will Newton  <will.newton@linaro.org>
29815         * malloc/malloc.c (systrim): If extra is zero then return
29816         early.
29818 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29820         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
29822 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
29824         * sysdeps/aarch64/strchr.S: New file.
29826 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
29828         [BZ #17022]
29829         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
29830         from arguments -2 or below.
29831         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
29832         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
29834 2014-06-18  Andreas Schwab  <schwab@suse.de>
29836         [BZ #17062]
29837         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
29838         of a bracket expr not to run off the end of the string.
29839         * posix/Makefile (tests): Add tst-fnmatch3.
29840         * posix/tst-fnmatch3.c: New file.
29842 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
29844         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
29845         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29846         [$(cross-compiling) = no]: Likewise.
29847         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
29848         [$(cross-compiling) = no]: Likewise.
29850 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29852         [BZ #17031]
29853         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
29854         double, adjusted for any remainder from the high double.
29855         * math/libm-test.inc (nearbyint): Add tests.
29856         (rint): Likewise.
29858 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29860         * nptl/sysdeps/powerpc/Makefile: Moved ...
29861         * sysdeps/powerpc/nptl/Makefile: ... here.
29862         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
29863         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
29864         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
29865         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
29866         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
29867         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
29868         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
29869         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
29870         * nptl/sysdeps/powerpc/tls.h: Moved ...
29871         * sysdeps/powerpc/nptl/tls.h: ... here.
29873 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
29875         [BZ #16681]
29876         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
29877         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
29878         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
29879         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
29880         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
29881         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
29882         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
29883         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
29884         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
29886 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
29888         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29890 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
29892         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
29893         defined operator.
29895         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
29896         $TIMEOUTFACTOR.
29898 2014-06-16  Florian Weimer  <fweimer@redhat.com>
29900         [BZ #17058]
29901         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
29902         non-executed part of the test.
29904 2014-06-16  Andreas Schwab  <schwab@suse.de>
29906         * string/bits/string2.h (strdup, strndup): Update feature guard.
29908 2014-06-14  David S. Miller  <davem@davemloft.net>
29910         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29912 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
29914         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
29915         that was previously under [RESET_PID].
29916         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
29918         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
29919         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
29920         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
29921         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29922         (__libc_vfork): New strong alias.
29923         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
29925 2014-06-14 Andi Kleen  <ak@linux.intel.com>
29927         * sysdeps/generic/elide.h: New file.
29929 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29931         * Makefile (installed-headers): Adjust path of pthread.h header.
29933 2014-06-13  Roland McGrath  <roland@hack.frob.com>
29935         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
29936         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
29937         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
29938         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
29940         * nptl/sysdeps/s390/Makefile: Moved ...
29941         * sysdeps/s390/nptl/Makefile: ... here.
29942         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
29943         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
29944         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
29945         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
29946         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
29947         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
29948         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
29949         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
29950         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
29951         * sysdeps/s390/nptl/pthreaddef.h: ... here.
29952         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
29953         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
29954         * nptl/sysdeps/s390/tls.h: Moved ...
29955         * sysdeps/s390/nptl/tls.h: ... here.
29957         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
29958         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
29960 2014-06-13  David S. Miller  <davem@davemloft.net>
29962         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
29963         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
29964         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
29965         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
29966         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
29967         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
29968         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
29969         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
29970         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
29971         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
29972         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
29973         Remove RESET_PID cpp guards.
29974         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
29975         Remove RESET_PID cpp guards.
29976         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
29978 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
29980         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
29981         __sp to uintptr_t.
29983 2014-06-13  Andi Kleen  <ak@linux.intel.com>
29985         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
29986         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
29987         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
29988         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
29989         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
29990         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
29991         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
29992         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
29993         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
29994         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
29995         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
29996         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
29997         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
29998         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
29999         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
30000         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
30001         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
30002         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
30003         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
30004         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
30006         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
30007         (pthread_rwlock_rdlock): Add elision.
30008         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
30009         (pthread_rwlock_wrlock): Add elision.
30010         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
30011         (pthread_rwlock_trywrlock): Add elision.
30012         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
30013         (pthread_rwlock_tryrdlock): Add elision.
30014         * nptl/pthread_rwlock_unlock.c: Include elide.h.
30015         (pthread_rwlock_tryrdlock): Add elision unlock.
30016         * nptl/sysdeps/pthread/pthread.h:
30017         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
30018         (PTHREAD_RWLOCK_INITIALIZER,
30019         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
30020         Handle new elision field.
30021         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
30022         * sysdeps/arm/nptl/bits/pthreadtypes.h
30023         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30024         * sysdeps/sh/nptl/bits/pthreadtypes.h
30025         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30026         * sysdeps/tile/nptl/bits/pthreadtypes.h
30027         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30028         * sysdeps/a/nptl/bits/pthreadtypes.h
30029         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30030         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
30031         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30032         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
30033         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30034         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
30035         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30036         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
30037         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30038         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
30039         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30040         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
30041         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30042         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
30043         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30044         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
30045         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30046         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
30047         (elision_init): Set try_xbegin to zero when no RTM.
30048         * sysdeps/x86/nptl/bits/pthreadtypes.h
30049         (pthread_rwlock_t): Change __pad1 to __rwelision.
30050         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30052 2014-06-13  Andi Kleen  <ak@linux.intel.com>
30054         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
30055         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
30056         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
30057         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
30059 2014-06-13  Meador Inge  <meadori@codesourcery.com>
30061         [BZ #16996]
30062         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
30063         that the cached result has been set before returning it.
30065 2014-06-12  Roland McGrath  <roland@hack.frob.com>
30067         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
30068         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
30069         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
30070         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
30071         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
30072         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
30074         * nptl/sysdeps/sparc/Makefile: Moved ...
30075         * sysdeps/sparc/nptl/Makefile: ... here.
30076         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
30077         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
30078         * nptl/sysdeps/sparc/tls.h: Moved ...
30079         * sysdeps/sparc/nptl/tls.h: ... here.
30080         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
30081         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
30082         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
30083         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
30084         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
30085         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
30086         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
30087         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
30088         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
30089         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
30090         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
30091         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
30092         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
30093         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
30094         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
30095         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
30096         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
30097         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
30098         Update #include.
30099         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
30100         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
30101         Update #include.
30102         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
30103         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
30104         Update #include.
30105         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
30106         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
30107         Update #include.
30109         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
30111         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
30112         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
30114         * sysdeps/pthread/posix-timer.h: Include <list.h>.
30115         (struct list_links): Type removed.
30116         (struct thread_node, struct timer_node): Replace struct list_links
30117         with struct list_head.
30118         (list_unlink_ip): Likewise.
30119         * sysdeps/pthread/timer_routines.c
30120         (timer_free_list, thread_free_list, thread_active_list): Likewise.
30121         (list_append, list_insbefore): Likewise.
30122         (list_init): Function removed.
30123         (thread_init, init_module): Use INIT_LIST_HEAD instead.
30124         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
30125         * sysdeps/pthread/Makefile: ... here, new file.
30127         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
30128         * sysdeps/nptl/Implies: ... here.
30129         * sysdeps/unix/sysv/linux/Implies: Add nptl.
30130         * nptl/sysdeps/pthread/list.h: Moved ...
30131         * include/list.h: ... here.
30132         * nptl/sysdeps/pthread/createthread.c: Moved ...
30133         * nptl/createthread.c: ... here.
30134         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
30135         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
30136         * nptl/pt-longjmp.c: ... here.
30137         * nptl/sysdeps/pthread/Makefile: Moved ...
30138         * sysdeps/nptl/Makefile: ... here.
30139         * nptl/sysdeps/pthread/Subdirs: Moved ...
30140         * sysdeps/nptl/Subdirs: ... here.
30141         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
30142         * sysdeps/nptl/aio_misc.h: ... here.
30143         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
30144         * sysdeps/nptl/bits/libc-lock.h: ... here.
30145         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
30146         * sysdeps/nptl/bits/libc-lockP.h: ... here.
30147         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
30148         * sysdeps/nptl/bits/stdio-lock.h: ... here.
30149         * nptl/sysdeps/pthread/configure: Moved ...
30150         * sysdeps/nptl/configure: ... here.
30151         * nptl/sysdeps/pthread/configure.ac: Moved ...
30152         * sysdeps/nptl/configure.ac: ... here.
30153         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
30154         * sysdeps/nptl/gai_misc.h: ... here.
30155         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
30156         * sysdeps/nptl/librt-cancellation.c: ... here.
30157         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
30158         * sysdeps/nptl/malloc-machine.h: ... here.
30159         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
30160         * sysdeps/nptl/pthread-functions.h: ... here.
30161         * nptl/sysdeps/pthread/pthread.h: Moved ...
30162         * sysdeps/nptl/pthread.h: ... here.
30163         * nptl/sysdeps/pthread/setxid.h: Moved ...
30164         * sysdeps/nptl/setxid.h: ... here.
30165         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
30166         * sysdeps/nptl/sigfillset.c: ... here.
30167         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
30168         * sysdeps/nptl/tcb-offsets.h: ... here.
30169         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
30170         * sysdeps/nptl/tst-mqueue8x.c: ... here.
30171         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
30172         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
30173         * nptl/sysdeps/pthread/allocalim.h: Moved ...
30174         * sysdeps/pthread/allocalim.h: ... here.
30175         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
30176         * sysdeps/pthread/bits/sigthread.h: ... here.
30177         * nptl/sysdeps/pthread/flockfile.c: Moved ...
30178         * sysdeps/pthread/flockfile.c: ... here.
30179         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
30180         * sysdeps/pthread/ftrylockfile.c: ... here.
30181         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
30182         * sysdeps/pthread/funlockfile.c: ... here.
30183         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
30184         * sysdeps/pthread/posix-timer.h: ... here.
30185         * nptl/sysdeps/pthread/timer_create.c: Moved ...
30186         * sysdeps/pthread/timer_create.c: ... here.
30187         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
30188         * sysdeps/pthread/timer_delete.c: ... here.
30189         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
30190         * sysdeps/pthread/timer_getoverr.c: ... here.
30191         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
30192         * sysdeps/pthread/timer_gettime.c: ... here.
30193         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
30194         * sysdeps/pthread/timer_routines.c: ... here.
30195         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
30196         * sysdeps/pthread/timer_settime.c: ... here.
30197         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
30198         * sysdeps/pthread/tst-timer.c: ... here.
30199         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
30200         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
30202         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
30203         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
30205         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
30206         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
30207         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
30208         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
30209         Update #include target.
30210         * nptl/sysdeps/i386/i686/Makefile: Moved ...
30211         * sysdeps/i386/i686/nptl/Makefile: ... here.
30212         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
30213         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
30214         Update #include target.
30215         * nptl/sysdeps/i386/i686/tls.h: Moved ...
30216         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
30217         * nptl/sysdeps/i386/Makefile: Moved ...
30218         * sysdeps/i386/nptl/Makefile: ... here.
30219         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
30220         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
30221         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
30222         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
30223         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
30224         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
30225         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
30226         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
30227         * sysdeps/i386/nptl/pthreaddef.h: ... here.
30228         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
30229         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
30230         * nptl/sysdeps/i386/tls.h: Moved ...
30231         * sysdeps/i386/nptl/tls.h: ... here.
30233         * sysdeps/sh/Makefile [$(subdir) = csu]
30234         (gen-as-const-headers): Add tcb-offsets.sym.
30235         * nptl/sysdeps/sh/Makefile: File removed.
30236         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
30237         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
30238         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
30239         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
30240         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
30241         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
30242         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
30243         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
30244         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
30245         * sysdeps/sh/nptl/pthreaddef.h: ... here.
30246         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
30247         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
30248         * nptl/sysdeps/sh/tls.h: Moved ...
30249         * sysdeps/sh/nptl/tls.h: ... here.
30250         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
30251         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
30252         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
30253         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
30254         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
30255         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
30256         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
30257         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
30258         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
30259         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
30260         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
30261         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
30262         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
30263         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
30264         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
30265         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
30266         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
30267         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
30268         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
30269         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
30270         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
30271         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
30272         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
30273         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
30274         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
30275         Moved ...
30276         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
30277         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
30278         Moved ...
30279         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
30280         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
30281         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
30282         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
30283         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
30284         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
30285         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
30286         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
30287         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
30288         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
30289         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
30290         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
30291         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
30292         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
30293         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
30294         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
30295         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
30296         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
30297         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
30299 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30301         * posix/spawn_faction_addopen.c: Include string.h.
30303 2014-06-11  Roland McGrath  <roland@hack.frob.com>
30305         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
30306         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
30307         * nptl/sysdeps/x86_64/Makefile: Moved ...
30308         * sysdeps/x86_64/nptl/Makefile: ... here.
30309         * nptl/sysdeps/x86_64/configure: Moved ...
30310         * sysdeps/x86_64/nptl/configure: ... here.
30311         * nptl/sysdeps/x86_64/configure.ac: Moved ...
30312         * sysdeps/x86_64/nptl/configure.ac: ... here.
30313         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
30314         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
30315         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
30316         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
30317         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
30318         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
30319         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
30320         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
30321         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
30322         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
30323         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
30324         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
30325         * nptl/sysdeps/x86_64/tls.h: Moved ...
30326         * sysdeps/x86_64/nptl/tls.h: ... here.
30327         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
30328         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
30329         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
30330         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
30332         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
30334 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30338 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
30340         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
30341         type.
30342         [POSIX] (off_t): Likewise.
30343         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
30344         [POSIX] (S_ISBLK): Require macro.
30345         [POSIX] (S_ISCHR): Likewise.
30346         [POSIX] (S_ISDIR): Likewise.
30347         [POSIX] (S_ISFIFO): Likewise.
30348         [POSIX] (S_ISREG): Likewise.
30349         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
30350         optional-macro.
30351         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
30352         type.
30353         [POSIX] (time_t): Likewise.
30354         [POSIX] (timer_t): Likewise.
30356 2014-06-11  Florian Weimer  <fweimer@redhat.com>
30358         [BZ #17048]
30359         * posix/spawn_int.h (struct __spawn_action): Make the path string
30360         non-const to support deallocation.
30361         * posix/spawn_faction_addopen.c
30362         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
30363         * posix/spawn_faction_destroy.c
30364         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
30365         path in all spawn_do_open actions.
30366         * posix/tst-spawn.c (do_test): Exercise the copy operation in
30367         posix_spawn_file_actions_addopen.
30369 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
30371         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
30372         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
30373         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
30374         conditional code always true.
30375         (__libc_vfork): New alias.
30377 2014-06-11  Roland McGrath  <roland@hack.frob.com>
30379         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30380         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
30382         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
30384         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30385         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
30387         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
30388         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
30390         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30391         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
30393 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30395         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
30396         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
30397         multiarch strcmp for PPC64.
30398         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
30399         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
30400         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
30401         multiarch optimizations.
30402         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30403         (__libc_ifunc_impl_list): Likewise.
30405 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30407         * benchtests/scripts/validate_benchout.py: New script.
30408         * benchtests/Makefile (bench-func): Call it.
30409         * benchtests/scripts/benchout.schema.json: New file.
30411 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
30413         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
30414         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
30415         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
30416         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
30417         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
30418         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
30419         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
30420         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
30421         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
30422         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
30423         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
30424         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
30425         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
30426         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
30427         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
30428         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
30429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
30430         Moved ...
30431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
30432         ... here.
30433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
30434         Moved ...
30435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
30436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
30437         Moved ...
30438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
30439         ... here.
30440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
30441         Moved ...
30442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
30443         ... here.
30444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
30445         Moved ...
30446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
30447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
30448         Moved ...
30449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
30450         ... here.
30451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
30452         Moved ...
30453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
30454         ... here.
30455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
30456         Moved ...
30457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
30458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
30459         Moved ...
30460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
30461         ... here.
30462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
30463         Moved ...
30464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
30465         ... here.
30466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
30467         Moved ...
30468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
30469         ... here.
30470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
30471         Moved ...
30472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
30473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
30474         Moved ...
30475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
30476         ... here.
30477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
30478         Moved ...
30479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
30480         ... here.
30481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
30482         Moved ...
30483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
30484         ... here.
30485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
30486         Moved ...
30487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
30488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
30489         Moved ...
30490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
30491         ... here.
30492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
30493         Moved ...
30494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
30495         ... here.
30496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
30497         Moved ...
30498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
30499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
30500         Moved ...
30501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
30502         ... here.
30503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
30504         Moved ...
30505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
30506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
30507         Moved ...
30508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
30509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
30510         Moved ...
30511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
30512         ... here.
30513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
30514         Moved ...
30515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
30516         ... here.
30517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
30518         Moved ...
30519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
30520         ... here.
30521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
30522         Moved ...
30523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
30524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
30525         Moved ...
30526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
30527         ... here.
30528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
30529         Moved ...
30530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
30531         ... here.
30532         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
30533         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
30534         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
30535         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
30536         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
30537         Moved ...
30538         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
30539         ... here.
30540         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
30541         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
30542         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
30543         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
30544         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
30545         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
30546         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
30547         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
30548         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
30549         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
30550         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
30551         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
30552         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
30553         Moved ...
30554         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
30555         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
30556         Moved ...
30557         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
30558         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
30559         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
30560         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
30561         Moved ...
30562         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
30563         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
30564         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
30565         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
30566         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
30567         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
30568         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
30570 2014-06-10  Wilco  <wdijkstr@arm.com>
30572         * math/test-fenv-return.c: New file.
30573         * math/Makefile: Add new test test-fenv-return.
30575 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
30577         [BZ #17042]
30578         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
30579         when x - 1 is zero.
30580         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
30581         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
30582         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
30583         0.0L for an argument of 1.0L.
30584         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
30585         Likewise.
30586         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
30587         value when x - 1 is zero.
30588         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
30589         * sysdeps/i386/fpu/libm-test-ulps: Update.
30590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30592 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
30594         [BZ #15119]
30595         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
30597 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30599         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
30600         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
30602 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30604         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30605         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
30607         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30608         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
30610         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30611         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
30613         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30614         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
30616         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
30617         if not already defined.
30618         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
30619         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
30620         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
30621         (TLS_INIT_TP): Use it.
30622         (TLS_DEFINE_INIT_TP): New macro.
30623         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
30625 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
30627         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
30628         constant.
30629         [POSIX] (IXANY): Likewise.
30630         [POSIX] (OLCUC): Likewise.
30631         [POSIX || POSIX2008] (CBAUD): Do not allow.
30632         [POSIX || POSIX2008] (DEFECHO): Likewise.
30633         [POSIX || POSIX2008] (ECHOCTL): Likewise.
30634         [POSIX || POSIX2008] (ECHOKE): Likewise.
30635         [POSIX || POSIX2008] (ECHOPRT): Likewise.
30636         [POSIX || POSIX2008] (EXTA): Likewise.
30637         [POSIX || POSIX2008] (EXTB): Likewise.
30638         [POSIX || POSIX2008] (FLUSHO): Likewise.
30639         [POSIX || POSIX2008] (LOBLK): Likewise.
30640         [POSIX || POSIX2008] (PENDIN): Likewise.
30641         [POSIX || POSIX2008] (SWTCH): Likewise.
30642         [POSIX || POSIX2008] (VDISCARD): Likewise.
30643         [POSIX || POSIX2008] (VDSUSP): Likewise.
30644         [POSIX || POSIX2008] (VLNEXT): Likewise.
30645         [POSIX || POSIX2008] (VREPRINT): Likewise.
30646         [POSIX || POSIX2008] (VSTATUS): Likewise.
30647         [POSIX || POSIX2008] (VWERASE): Likewise.
30648         (B*): Change to B[0123456789]*.
30649         * conform/data/time.h-data [POSIX || UNIX98]
30650         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
30651         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30652         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
30653         [POSIX] (tm_*): Do not allow.
30655 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
30657         * Makefile (install): Don't set LANGUAGE.
30658         * Makefile.in (install): Likewise.
30659         * assert/Makefile (test-assert-ENV): Remove variable.
30660         (test-assert-perr-ENV): Likewise.
30661         * elf/Makefile (neededtest4-ENV): Likewise.
30662         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30663         [$(cross-compiling) = no]: Don't set LANGUAGE.
30664         * io/ftwtest-sh (LANG): Remove variable.
30665         * libio/Makefile (tst-widetext-ENV): Likewise.
30666         * manual/install.texi (Running make install): Don't refer to
30667         environment settings for make install.
30668         * INSTALL: Regenerated.
30669         * nptl/tst-tls6.sh: Don't set LANG.
30670         * posix/globtest.sh (LANG): Remove variable.
30671         * string/Makefile (tester-ENV): Likewise.
30672         (inl-tester-ENV): Likewise.
30673         (noinl-tester-ENV): Likewise.
30674         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30675         [$(cross-compiling) = no]: Don't set LANGUAGE.
30676         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
30677         without explicit environment settings.
30679 2014-06-06  Roland McGrath  <roland@hack.frob.com>
30681         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
30682         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
30683         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
30684         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
30686 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
30688         * crypt/crypt-private.h [DOS]: Add some includes taken from the
30689         other files in the crypt directory.
30690         * crypt/crypt.c: Remove duplicate includes.
30691         * crypt/crypt-entry.c: Likewise.
30692         * crypt/crypt_util.c: Likewise.
30694 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
30696         * Makeconfig (run-program-env): New variable.
30697         (run-program-prefix-before-env): Likewise.
30698         (run-program-prefix-after-env): Likewise.
30699         (run-program-prefix): Define in terms of new variables.
30700         (built-program-cmd-before-env): New variable.
30701         (built-program-cmd-after-env): Likewise.
30702         (built-program-cmd): Define in terms of new variables.
30703         (test-program-prefix-before-env): New variable.
30704         (test-program-prefix-after-env): Likewise.
30705         (test-program-prefix): Define in terms of new variables.
30706         (test-program-cmd-before-env): New variable.
30707         (test-program-cmd-after-env): Likewise.
30708         (test-program-cmd): Define in terms of new variables.
30709         * Rules (make-test-out): Use $(run-program-env).
30710         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
30711         (help): Do not mention environment variables.  Mention
30712         --timeoutfactor option.
30713         (timeoutfactor): New variable.
30714         (blacklist_exports): Remove function.
30715         (exports): Remove variable.
30716         (command): Do not include ${exports}.
30717         * manual/install.texi (Configuring and compiling): Do not mention
30718         test wrappers preserving environment variables.  Mention that last
30719         assignment to a variable must take precedence.
30720         * INSTALL: Regenerated.
30721         * benchtests/Makefile (run-bench): Use $(run-program-env).
30722         * catgets/Makefile ($(objpfx)test1.cat): Use
30723         $(built-program-cmd-before-env), $(run-program-env) and
30724         $(built-program-cmd-after-env).
30725         ($(objpfx)test2.cat): Do not specify environment variables
30726         explicitly.
30727         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
30728         $(run-program-env) and $(built-program-cmd-after-env).
30729         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
30730         $(run-program-env) and $(test-program-cmd-after-env).
30731         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
30732         explicitly.
30733         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
30734         run_program_env and test_program_cmd_after_env arguments.
30735         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
30736         * elf/tst-pathopt.sh: Use run_program_env argument.
30737         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
30738         $(test-wrapper-env) and $(run-program-env).
30739         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
30740         run_program_env arguments.
30741         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
30742         * intl/Makefile ($(objpfx)tst-gettext.out): Use
30743         $(test-program-prefix-before-env), $(run-program-env) and
30744         $(test-program-prefix-after-env).
30745         ($(objpfx)tst-gettext2.out): Likewise.
30746         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
30747         run_program_env and test_program_prefix_after_env arguments.
30748         * intl/tst-gettext2.sh: Likewise.
30749         * intl/tst-gettext4.sh: Do not set environment variables
30750         explicitly.
30751         * intl/tst-gettext6.sh: Likewise.
30752         * intl/tst-translit.sh: Likewise.
30753         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
30754         $(test-program-prefix-before-env), $(run-program-env) and
30755         $(test-program-prefix-after-env).
30756         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
30757         run_program_env and test_program_prefix_after_env arguments.
30758         * math/Makefile (run-regen-ulps): Use $(run-program-env).
30759         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
30760         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
30761         explicitly with each use of ${test_wrapper_env}.
30762         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
30763         $(test-program-prefix-before-env), $(run-program-env) and
30764         $(test-program-prefix-after-env).
30765         * posix/tst-getconf.sh: Do not set environment variables
30766         explicitly.
30767         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
30768         run_program_env and test_program_prefix_after_env arguments.
30769         * stdio-common/tst-printf.sh: Do not set environment variables
30770         explicitly.
30771         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
30772         $(test-program-prefix-before-env), $(run-program-env) and
30773         $(test-program-prefix-after-env).
30774         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
30775         run_program_env and test_program_prefix_after_env arguments.
30776         Split $test calls into $test_pre and $test.
30777         * timezone/Makefile (build-testdata): Use
30778         $(built-program-cmd-before-env), $(run-program-env) and
30779         $(built-program-cmd-after-env).
30781 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30783         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
30784         strlen for non SHARED builds.
30786 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30788         * nptl/allocatestack.c (check_list): Inlined function...
30789         (__reclaim_stacks): ... here.
30791 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
30793         [BZ #15698]
30794         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30795         memory overrun.
30797 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
30799         * Rules (make-test-out): Include
30800         LOCPATH=$(common-objpfx)localedata in default environment.
30801         * debug/Makefile (tst-chk1-ENV): Remove variable.
30802         (tst-chk2-ENV): Likewise.
30803         (tst-chk3-ENV): Likewise.
30804         (tst-chk4-ENV): Likewise.
30805         (tst-chk5-ENV): Likewise.
30806         (tst-chk6-ENV): Likewise.
30807         (tst-lfschk1-ENV): Likewise.
30808         (tst-lfschk2-ENV): Likewise.
30809         (tst-lfschk3-ENV): Likewise.
30810         (tst-lfschk4-ENV): Likewise.
30811         (tst-lfschk5-ENV): Likewise.
30812         (tst-lfschk6-ENV): Likewise.
30813         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
30814         (tst-iconv7-ENV): Likewise.
30815         * intl/Makefile (LOCPATH-ENV): Likewise.
30816         (tst-codeset-ENV): Likewise.
30817         (tst-gettext3-ENV): Likewise.
30818         (tst-gettext5-ENV): Likewise.
30819         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
30820         (tst-fopenloc-ENV): Likewise.
30821         (tst-fgetws-ENV): Remove variable.
30822         (tst-ungetwc1-ENV): Likewise.
30823         (tst-ungetwc2-ENV): Likewise.
30824         (bug-ungetwc2-ENV): Likewise.
30825         (tst-swscanf-ENV): Likewise.
30826         (bug-ftell-ENV): Likewise.
30827         (tst-fgetwc-ENV): Likewise.
30828         (tst-fseek-ENV): Likewise.
30829         (tst-ftell-partial-wide-ENV): Likewise.
30830         (tst-ftell-active-handler-ENV): Likewise.
30831         (tst-ftell-append-ENV): Likewise.
30832         * posix/Makefile (tst-fnmatch-ENV): Likewise.
30833         (tst-regexloc-ENV): Likewise.
30834         (bug-regex1-ENV): Likewise.
30835         (tst-regex-ENV): Likewise.
30836         (tst-regex2-ENV): Likewise.
30837         (bug-regex5-ENV): Likewise.
30838         (bug-regex6-ENV): Likewise.
30839         (bug-regex17-ENV): Likewise.
30840         (bug-regex18-ENV): Likewise.
30841         (bug-regex19-ENV): Likewise.
30842         (bug-regex20-ENV): Likewise.
30843         (bug-regex22-ENV): Likewise.
30844         (bug-regex23-ENV): Likewise.
30845         (bug-regex25-ENV): Likewise.
30846         (bug-regex26-ENV): Likewise.
30847         (bug-regex30-ENV): Likewise.
30848         (bug-regex32-ENV): Likewise.
30849         (bug-regex33-ENV): Likewise.
30850         (bug-regex34-ENV): Likewise.
30851         (bug-regex35-ENV): Likewise.
30852         (tst-rxspencer-ENV): Likewise.
30853         (tst-rxspencer-no-utf8-ENV): Likewise.
30854         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
30855         (tst-sscanf-ENV): Likewise.
30856         (tst-swprintf-ENV): Likewise.
30857         (tst-swscanf-ENV): Likewise.
30858         (test-vfprintf-ENV): Likewise.
30859         (scanf13-ENV): Likewise.
30860         (bug14-ENV): Likewise.
30861         (tst-grouping-ENV): Likewise.
30862         * stdlib/Makefile (tst-strtod-ENV): Likewise.
30863         (tst-strtod3-ENV): Likewise.
30864         (tst-strtod4-ENV): Likewise.
30865         (tst-strtod5-ENV): Likewise.
30866         (testmb2-ENV): Likewise./
30867         * string/Makefile (tst-strxfrm-ENV): Likewise.
30868         (tst-strxfrm2-ENV): Likewise.
30869         (bug-strcoll1-ENV): Likewise.
30870         (test-strcasecmp-ENV): Likewise.
30871         (test-strncasecmp-ENV): Likewise.
30872         * time/Makefile (tst-strptime-ENV): Likewise.
30873         (tst-ftime_l-ENV): Likewise.
30874         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
30875         (tst-mbrtowc-ENV): Likewise.
30876         (tst-wcrtomb-ENV): Likewise.
30877         (tst-mbrtowc2-ENV): Likewise.
30878         (tst-c16c32-1-ENV): Likewise.
30879         (tst-mbsnrtowcs-ENV): Likewise.
30881 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
30883         * manual/resource.texi (How to get information about the memory
30884         subsystem?): Fix typo.
30885         Reported by Peon de la Parra Ivan <peon@keba.com>
30887 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
30889         [BZ #16882]
30890         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
30891         (pthread_spin_lock): Branch out of spin loop to proper location.
30892         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
30893         (pthread_spin_lock): Likewise.
30895         * nptl/tst-spin4.c: New test.
30896         * nptl/Makefile (tests): Add tst-spin4.
30898 2014-06-03  Andreas Schwab  <schwab@suse.de>
30900         [BZ #15946]
30901         * resolv/res_send.c (send_dg): Reload file descriptor after
30902         calling reopen.
30904 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
30906         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30908 2014-06-03  Richard Henderson  <rth@redhat.com>
30910         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
30911         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
30912         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
30913         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
30914         in the SAVE_PID block.
30915         (__libc_vfork): New alias.
30916         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
30918         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
30919         child in registers, not on the stack.  Remove RESET_PID conditionals.
30920         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
30922 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30924         * sysdeps/aarch64/libm-test-ulps: Regenerate.
30926 2014-06-03  Wilco  <wdijkstr@arm.com>
30928         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
30929         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
30930         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
30931         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
30932         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
30933         Likewise.
30935 2014-06-03  Wilco  <wdijkstr@arm.com>
30937         * sysdeps/aarch64/fpu/math_private.h
30938         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
30939         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
30940         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
30941         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
30942         Fix declarations.
30944 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30946         * crypt/crypt-private.h: Include ufc-crypt.h.
30947         (__b64_from_24bit): Declare extern.
30948         * crypt/crypt_util.c(__b64_from_24bit): New function.
30949         (b64t): New static const variable.
30950         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
30951         (b64t): Remove variable.
30952         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
30953         * crypt/sha256-crypt.c: Include crypt-private.h.
30954         (b64t): Remove variable.
30955         (__sha256_crypt_r): Remove b64_from_24bit and replace
30956         with __b64_from_24bit.
30957         * crypt/sha512-crypt.c: Likewise.
30959 2014-06-02  Roland McGrath  <roland@hack.frob.com>
30961         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
30962         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
30963         Label the code __libc_vfork rather than __vfork.
30964         [!NOT_IN_libc] (vfork): Define as weak alias.
30965         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
30966         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
30967         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
30969 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30971         * malloc/malloc.c (malloc_info): Fix format specifier for
30972         n_mmaps.
30974 2014-06-02  Wilco  <wdijkstr@arm.com>
30976         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
30977         FPCR write.
30979 2014-06-02  Wilco  <wdijkstr@arm.com>
30981         [BZ #17009]
30982         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
30983         Rewrite to reduce FPCR/FPSR accesses.
30985 2014-06-01  David S. Miller  <davem@davemloft.net>
30987         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30989 2014-05-31  David S. Miller  <davem@davemloft.net>
30991         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
30992         to occur in round to nearest mode when |x| >= 2.0
30994 2014-05-30  Richard Henderson  <rth@twiddle.net>
30996         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
30997         (PSEUDO_RET_NOERRNO): Remove.
30998         (ret): Don't redefine.
30999         (ret_NOERRNO): Define in terms of ret.
31000         (ret_ERRVAL): Likewise.
31002         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
31003         use of PSEUDO_RET; perform the error check directly.
31005 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
31007         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
31008         with __int128_t.
31010 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31012         * malloc/malloc (malloc_info): Fix formatting.
31014 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31015             Roland McGrath  <roland@hack.frob.com>
31017         * malloc/malloc (malloc_info): Also print mmapped statistics.
31019 2014-05-30  Roland McGrath  <roland@hack.frob.com>
31021         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
31022         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
31024 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
31026         * malloc/malloc.c (malloc_info): Inline mi_arena.
31028 2014-05-29  Richard Henderson  <rth@twiddle.net>
31030         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
31031         Remove comma before expanding ASM_ARGS_##nr.
31032         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
31033         Make _x0 a strict output; make _x8 a strict input; adjust expansion
31034         of ASM_ARGS_##nr.
31035         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
31036         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
31037         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
31038         (ASM_ARGS_1): Add leading comma.
31040         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
31041         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
31042         to __errno_location.
31043         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
31044         Remove the expected plt for __errno_location.
31046         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31047         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
31048         call to __read_tp.
31050         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31051         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
31052         it and break it down.
31053         (DOCARGS_0, DOCARGS_1): Do nothing.
31054         (DOCARGS_2): Update to store into the new stack frame.
31055         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
31056         (UNDOCARGS_1): Update to restore from the new stack frame.
31057         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
31058         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
31060         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31061         (SINGLE_THREAD_P): New parameter for result regno.
31062         (PSEUDO): Update to match; use cbz instead of beq.
31064         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31065         Use ENTRY to define the _nocancel entry point.  Share the syscall
31066         and syscall error check paths with the cancel path.
31067         (PSEUDO_END): New.
31069         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
31070         whitespace; tabs before and after asm mnemonics.
31072 2014-05-29  Eric Wong  <normalperson@yhbt.net>
31074         [BZ #15132]
31075         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31076         Call fstat64 or stat64 internally, depending on arguments passed.
31077         Replace stat buffer argument with file descriptor argument.
31078         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
31079         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
31080         Pass fd to __internal_statvfs instead of calling fstat64.
31081         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
31082         Pass fd to __internal_statvfs64 instead of calling fstat64.
31083         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
31084         Pass -1 to __internal_statvfs instead of calling stat64.
31085         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
31086         Pass -1 to __internal_statvfs64 instead of calling stat64.
31088 2014-05-28  Roland McGrath  <roland@hack.frob.com>
31090         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
31091         that was previously under [RESET_PID].
31092         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
31094         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
31095         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
31097 2014-05-27  Roland McGrath  <roland@hack.frob.com>
31099         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
31101         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
31102         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
31104 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
31106         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
31108 2014-05-27  Andreas Schwab  <schwab@suse.de>
31110         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
31111         TLS_INIT_TP macro.
31112         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
31113         * elf/rtld.c (init_tls, dl_main): Likewise.
31114         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
31115         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
31116         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
31117         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
31118         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
31119         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
31120         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
31121         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
31122         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
31123         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
31124         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
31125         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
31126         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
31127         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
31128         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
31129         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
31130         * sysdeps/generic/tls.h: Update description.
31132 2014-05-27  Will Newton  <will.newton@linaro.org>
31134         [BZ #16990]
31135         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
31136         and restore r2 rather than just restoring.
31138 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31140         [BZ #16724]
31141         * libio/tst-ftell-append.c: New test case.
31142         * libio/Makefile (tests): Add test case.
31143         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
31144         append mode.
31145         * libio/wfileops.c (do_ftell_wide): Likewise.
31147 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31149         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31151         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
31152         ...
31153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
31154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31155         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
31156         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
31157         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
31158         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
31159         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
31160         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
31161         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
31162         Moved ...
31163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
31164         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
31165         Moved ...
31166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
31167         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
31168         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
31169         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
31170         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
31171         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
31172         ...
31173         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
31174         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
31175         Moved ...
31176         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
31177         here.
31178         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
31179         ...
31180         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
31181         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
31182         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
31184         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
31185         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
31186         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
31187         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
31189         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
31190         merge into ...
31191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
31192         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
31193         ...
31194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
31195         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
31196         ...
31197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
31198         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
31199         Moved ...
31200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
31201         here.
31202         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
31203         Moved ...
31204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
31205         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
31206         Moved ...
31207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
31209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
31210         conditional [RESET_PID].
31211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
31212         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
31213         removed.
31214         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
31215         removed.
31217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
31218         <tcb-offsets.h>.
31219         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31220         (__libc_vfork): New strong alias.
31221         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
31222         removed.
31223         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
31224         Removed.
31226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
31227         <tcb-offsets.h>.
31228         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
31229         (__libc_vfork): New strong alias.
31230         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
31231         removed.
31232         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
31233         removed.
31235 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
31237         * malloc/malloc.c (mi_arena): New function.
31238         (malloc_info): Remove nested function mi_arena. Call non-nosted
31239         function mi_arena.
31241 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31243         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
31244         by insrwi.
31245         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31246         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31247         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
31248         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
31249         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
31250         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
31251         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
31253 2014-05-26  Andreas Schwab  <schwab@suse.de>
31255         [BZ #16984]
31256         * locale/programs/repertoire.c (repertoire_read): Add slash
31257         between I18NPATH element and file name.
31258         * locale/programs/locfile.c (locfile_read): Likewise.
31260 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
31262         * nptl/pthread_mutexattr_settype.c
31263         (__pthread_mutexattr_settype):
31264         Disable lock elision for PTHREAD_MUTEX_NORMAL.
31266 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
31268         * nptl/tst-mutex5 (do_test):
31269         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
31271 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31273         * benchtests/README: Document 'init' directive.
31274         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
31275         BENCH_INIT.
31276         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
31277         (parse_file): Recognize 'init' directive.
31279 2014-05-26  Kyle McMartin  <kyle@redhat.com>
31281         [BZ #16796]
31282         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
31283         alignment of struct pthread.
31285 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31287         [BZ #16878]
31288         * nscd/netgroupcache.c (addgetnetgrentX): Look for
31289         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
31290         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
31291         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
31293 2014-05-25  Richard Henderson  <rth@twiddle.net>
31295         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31296         (SINGLE_THREAD_P_PIC): Remove.
31297         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
31298         (SINGLE_THREAD_P_PIC): Remove.
31300         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
31301         branch to syscall error ...
31302         (PSEUDO): ... here.
31303         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
31304         from __local_syscall_error to .Lsyscall_error.
31305         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
31306         (SYSCALL_ERROR): Update label name.
31308         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31309         Do not use DOARGS/UNDOARGS.
31310         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
31311         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
31312         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
31313         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
31314         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
31316         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
31317         block comment.
31319         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
31320         define if !NOT_IN_libc.
31321         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
31322         define with non-default symbol versions.
31324 2014-05-23  Richard Henderson  <rth@twiddle.net>
31326         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
31327         (vfork, __vfork): Define via compat_symbol.
31329         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
31330         [!HAVE_IFUNC] (vfork_compat): Remove.
31331         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
31333 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
31335         [BZ #16978]
31336         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
31337         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
31338         variable.
31340 2014-05-23  Richard Henderson  <rth@twiddle.net>
31342         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
31343         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
31344         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
31345         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
31347         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
31348         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
31349         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
31350         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
31351         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
31352         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
31353         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
31354         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
31355         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
31356         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
31357         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
31358         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
31359         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
31360         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
31361         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
31362         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
31363         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
31364         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
31365         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
31366         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
31367         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
31368         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
31369         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
31370         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
31371         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
31372         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
31373         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
31374         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
31375         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
31376         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
31377         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
31378         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
31379         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
31380         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
31381         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
31382         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
31383         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
31384         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
31385         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
31386         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
31387         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
31388         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
31389         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
31390         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
31391         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
31392         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
31393         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
31394         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
31395         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
31396         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
31397         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
31398         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
31399         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
31400         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
31401         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
31402         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
31404         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
31405         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
31406         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
31407         before exiting on error.
31408         (__libc_vfork): New strong alias.
31409         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
31410         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
31412         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
31413         that was previously under [RESET_PID].
31414         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
31416         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
31418 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
31420         [BZ #16977]
31421         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
31422         value when x - 1 is zero.
31423         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
31424         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
31425         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
31426         0.0L for an argument of 1.0L.
31427         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
31428         Likewise.
31429         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
31430         value when x - 1 is zero.
31431         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
31432         * sysdeps/i386/fpu/libm-test-ulps: Update.
31433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31435 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31437         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
31438         alphasort and versionsort.
31440 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31442         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
31443         macro.
31444         [copysignf]: Likewise.
31446 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31448         * crypt/md5-crypt.c: Fix formatting.
31450 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31452         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
31453         (b64_from_24bit): New function.
31455 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31457         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
31458         libc_hidden_builtin_def to ifunc.
31459         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
31460         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
31462 2014-05-21  Roland McGrath  <roland@hack.frob.com>
31464         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
31465         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
31467 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
31469         * nscd/Depend (linuxthreads): Remove.
31470         (nptl): Add.
31471         * resolv/Depend (linuxthreads): Remove.
31472         * rt/Depend (linuxthreads): Remove.
31474         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
31475         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
31476         $(common-objpfx)elf/.
31477         (link-libc-before-gnulib): Likewise.
31478         (elfobjdir): Remove variable.
31479         * Makefile (install): Use $(elf-objpfx) instead of
31480         $(common-objpfx)elf/.
31481         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
31482         $(elfobjdir)/.
31483         (link-libc-deps): Likewise.
31484         ($(common-objpfx)libc.so): Likewise.
31485         ($(common-objpfx)linkobj/libc.so): Likewise.
31486         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
31487         instead of $(common-objpfx)elf/.
31488         (symbolic-link-list): Likewise.
31489         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31490         [$(cross-compiling) = no]: Likewise.
31491         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
31492         $(elfobjdir)/.
31493         (static-gnulib-arch): Likewise.
31494         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31495         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
31496         $(common-objpfx)elf/.
31498 2014-05-21  Richard Henderson  <rth@redhat.com>
31500         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31501         (SINGLE_THREAD_P): Use the correct width load.  Fold
31502         into the ldr offset.
31504         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
31505         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
31507 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
31509         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
31510         (libgcc_s_resume): Use __attribute_used__.
31511         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
31512         Likewise.
31514 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31516         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
31517         optimization when used with float constants.
31519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31521 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
31523         [BZ #16915]
31524         * locale/nl_langinfo_l.c: Make direct reference to every
31525         _nl_current_CATEGORY symbol.
31526         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
31527         (tests-static): Add tst-langinfo-static.
31528         (tests-special): Add tst-langinfo-static.out.
31529         ($(objpfx)tst-langinfo.out): Redirect output.
31530         ($(objpfx)tst-langinfo-static.out): New.
31531         * localedata/tst-langinfo.sh: Send output to stdout.
31532         * localedata/tst-langinfo-static.c: New file.
31534         [BZ #16965]
31535         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
31536         when the shift amount is modulo the limb size.
31538 2014-05-20  Richard Henderson  <rth@redhat.com>
31540         [BZ #16967]
31541         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
31542         Change type of sa_flags from unsigned int to int.
31544         [BZ #16966]
31545         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
31547         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
31549 2014-05-20  Will Newton  <will.newton@linaro.org>
31551         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31552         Test the return value of the system call in the nocancel case.
31554 2014-05-20  Will Newton  <will.newton@linaro.org>
31555             Yvan Roux  <yvan.roux@linaro.org>
31557         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
31558         #include of asm/ptrace.h.
31559         (PTRACE_GET_THREAD_AREA): Remove #undef.
31560         (PTRACE_GETHBPREGS): Likewise.
31561         (PTRACE_SETHBPREGS): Likewise.
31562         (struct user_regs_struct): New structure.
31563         (struct user_fpsimd_struct): New structure.
31564         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
31565         #include of asm/ptrace.h and second #include of sys/user.h.
31566         (PTRACE_GET_THREAD_AREA): Remove #undef.
31567         (PTRACE_GETHBPREGS): Likewise.
31568         (PTRACE_SETHBPREGS): Likewise.
31569         (ELF_NGREG): Use new struct user_regs_struct.
31570         (elf_fpregset_t): Use new struct user_fpsimd_struct.
31572 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31574         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
31575         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
31577 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
31579         [BZ #16958]
31580         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
31581         membar to avoid block loads/stores to overlap previous stores.
31583 2014-05-17  Richard Henderson  <rth@redhat.com>
31585         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
31586         Create the __##syscall_name##_nocancel entry point.
31587         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
31588         Remove; let the sysdep-cancel.h code create it.
31590 2014-05-17  David S. Miller  <davem@davemloft.net>
31592         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
31593         Protect with __USE_GNU.
31594         (TIOCSET_TEMPT): Likewise.
31595         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31596         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
31597         these are already provided in bits/ioctl-types.h
31599 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31601         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
31602         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
31604         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
31605         Use wait4 regardless of [__NR_waitpid].
31607 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
31609         PR libgcc/60166
31610         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31611         (_FP_NANSIGN_Q): Set the quiet bit.
31613 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
31615         * benchtests/Makefile
31616         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
31617         not $(common-objpfx)math/libm.so.
31618         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
31619         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
31620         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
31621         $(common-objpfx)dlfcn/libdl.so.
31622         ($(objpfx)tst-audit8): Depend on $(libm), not
31623         $(common-objpfx)math/libm.so.
31624         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
31625         not $(common-objpfx)dlfcn/libdl.so.
31626         * math/Makefile
31627         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31628         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
31629         [$(build-shared) = yes].
31630         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
31631         $(common-objpfx)nptl/libpthread.so.
31632         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
31633         $(common-objpfx)math/libm.so$(libm.so-version) or
31634         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
31635         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
31636         $(common-objpfx)dlfcn/libdl.so.
31637         * setjmp/Makefile (link-libm): Remove variable.
31638         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
31639         * stdio-common/Makefile (link-libm): Remove variable.
31640         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
31641         * stdlib/Makefile (link-libm): Remove variable.
31642         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
31643         ($(objpfx)tst-strtod-round): Likewise.
31644         ($(objpfx)tst-tininess): Likewise.
31645         ($(objpfx)tst-strtod-underflow): Likewise.
31646         ($(objpfx)tst-strtod6): Likewise.
31647         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
31648         $(libdl), not $(common-objpfx)nptl/libpthread.so and
31649         $(common-objpfx)dlfcn/libdl.so.
31651 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31653         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
31654         BSD terminal modes definitions.
31656 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31658         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
31659         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
31661         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
31662         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
31663         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
31664         Don't do #include_next.
31665         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
31666         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
31667         Don't do #include_next.
31668         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
31669         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
31670         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
31671         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
31673 2014-05-16  Allan McRae  <allan@archlinux.org>
31675         * po/sv.po: Update Swedish translation from translation project.
31677         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
31678         in sed expression.
31680 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
31682         [BZ #16917]
31683         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
31684         errno if the TIOCGPTN ioctl fails with an error different than
31685         EINVAL.
31686         * login/tst-ptsname.c: New file.
31687         * login/Makefile (tests): Add tst-ptsname.
31689         [BZ #16943]
31690         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
31691         and prlimit64.
31693 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31695         [BZ #16849]
31696         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
31697         herrno to return EAI_AGAIN.
31699 2014-05-14  Roland McGrath  <roland@hack.frob.com>
31701         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
31702         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
31703         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
31704         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
31705         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
31706         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
31707         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
31708         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
31709         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
31710         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
31711         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
31712         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
31713         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
31714         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
31715         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
31716         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
31717         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
31718         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
31719         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
31720         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
31721         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
31722         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
31723         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
31724         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
31725         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
31726         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
31727         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
31728         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
31729         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
31730         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
31731         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
31732         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
31733         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
31734         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
31735         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31736         Moved ...
31737         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
31738         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
31739         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
31740         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
31741         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
31742         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
31743         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
31744         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
31745         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
31746         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
31747         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
31748         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
31749         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
31750         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
31751         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
31752         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
31753         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
31754         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
31755         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
31756         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
31757         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
31758         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
31759         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
31760         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
31761         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
31762         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
31763         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
31764         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31765         Moved ...
31766         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
31767         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
31768         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
31769         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
31770         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
31771         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
31772         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
31773         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
31774         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
31775         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
31776         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
31777         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
31778         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
31779         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
31780         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
31781         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
31782         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
31783         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
31784         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
31785         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31786         Moved ...
31787         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
31788         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
31789         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
31791         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
31792         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
31793         (libpthread-sysdep_routines): Add elision-related stuff here instead.
31794         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
31795         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
31796         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
31797         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
31798         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
31799         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
31800         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
31801         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
31802         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
31803         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
31804         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
31805         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
31806         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
31807         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
31808         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
31809         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
31810         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
31811         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
31812         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
31813         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
31814         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
31815         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
31816         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
31817         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
31818         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
31819         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
31820         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
31821         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
31823         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
31824         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
31826         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
31827         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
31828         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
31829         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
31830         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
31831         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
31832         Moved ...
31833         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
31834         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
31835         Moved ...
31836         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
31837         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
31838         Moved ...
31839         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
31840         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
31841         Moved ...
31842         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
31843         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
31844         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
31845         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
31846         Moved ...
31847         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
31848         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
31849         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
31850         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
31851         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
31852         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
31853         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
31854         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
31855         Moved ...
31856         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
31857         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
31858         Moved ...
31859         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
31860         ... here.
31861         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
31862         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
31863         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
31864         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
31865         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
31866         Moved ...
31867         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
31868         ... here.
31869         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
31870         Moved ...
31871         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
31872         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
31873         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
31874         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
31875         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
31876         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
31877         Moved ...
31878         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
31879         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
31880         Moved ...
31881         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
31882         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
31883         Moved ...
31884         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
31885         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
31886         Moved ...
31887         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
31888         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
31889         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
31890         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
31891         Moved ...
31892         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
31893         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
31894         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
31895         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
31896         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
31897         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
31898         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
31899         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
31900         Moved ...
31901         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
31902         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
31903         Moved ...
31904         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
31905         ... here.
31906         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
31907         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
31908         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
31909         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
31910         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
31911         Moved ...
31912         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
31913         ... here.
31914         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
31915         Moved ...
31916         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
31917         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
31918         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
31919         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
31920         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
31921         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
31922         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
31923         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
31924         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
31925         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
31926         Moved ...
31927         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
31928         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
31929         Moved ...
31930         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
31931         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
31932         Moved ...
31933         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
31934         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
31935         Moved ...
31936         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
31937         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
31938         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
31939         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
31940         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
31941         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
31942         Moved ...
31943         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
31944         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
31945         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
31946         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
31947         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
31948         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
31949         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
31950         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
31951         Moved ...
31952         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
31953         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
31954         Moved ...
31955         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
31956         ... here.
31957         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
31958         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
31959         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
31960         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
31961         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
31962         Moved ...
31963         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
31964         ... here.
31965         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
31966         Moved ...
31967         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
31968         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
31969         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
31970         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
31971         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
31972         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
31973         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
31974         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
31975         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
31976         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
31977         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
31979         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
31980         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
31982         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
31983         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
31985         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
31986         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
31987         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
31988         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
31989         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
31990         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
31991         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
31992         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
31993         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
31994         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
31995         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
31996         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
31997         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
31998         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
31999         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
32000         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
32001         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
32002         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
32003         Moved ...
32004         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
32005         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
32006         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
32007         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
32008         Moved ...
32009         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
32010         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
32011         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
32012         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
32013         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
32014         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
32015         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
32016         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
32017         Moved ...
32018         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
32019         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
32020         Moved ...
32021         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
32022         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
32023         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
32024         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
32025         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
32026         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
32027         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
32028         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
32029         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
32030         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
32031         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
32032         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
32033         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
32034         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
32035         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
32036         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
32037         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
32039         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
32040         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
32041         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
32042         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
32043         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
32045         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
32046         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
32047         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
32048         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
32049         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
32050         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
32051         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
32052         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
32053         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
32054         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
32056         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
32057         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
32059         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
32060         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
32061         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
32062         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
32063         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
32064         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
32065         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
32066         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
32067         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
32068         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
32069         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
32070         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
32071         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
32072         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
32073         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
32074         Update #include.
32075         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
32076         Likewise.
32077         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32078         Likewise.
32079         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32080         Likewise.
32081         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32082         Likewise.
32083         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
32084         Likewise.
32085         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
32086         Likewise.
32087         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
32088         Likewise.
32089         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
32090         Likewise.
32091         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
32092         Likewise.
32093         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
32094         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
32095         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
32096         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
32097         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
32098         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
32099         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
32100         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
32101         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
32102         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
32103         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
32104         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
32105         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
32106         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
32107         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
32109         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
32110         that was previously under [RESET_PID].
32111         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32112         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
32113         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
32115         * sysdeps/i386/nptl/Implies: New file.
32116         * sysdeps/x86_64/nptl/Implies: New file.
32117         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
32118         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
32119         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
32120         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
32122         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
32123         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32124         (__libc_vfork): New strong alias.
32125         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
32126         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
32128         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
32129         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32130         (__libc_vfork): New strong alias.
32131         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
32132         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
32134         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
32135         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32136         (__libc_vfork): New strong alias.
32137         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
32138         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
32139         * nptl/pt-vfork.c: New file.
32140         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
32141         (libpthread: GLIBC_2.20): New version set (empty).
32143 2014-05-14  Will Newton  <will.newton@linaro.org>
32145         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
32146         rather than #if.
32148 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
32150         [BZ #16564]
32151         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
32152         arguments with exponent 65 or above.
32153         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
32154         arguments 0x1p113L or above.
32155         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
32156         to arguments 0x1p107L or above.
32157         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
32158         positive arguments with exponent 65 or above.
32159         * math/auto-libm-test-in: Add more tests of log1p.
32160         * math/auto-libm-test-out: Regenerated.
32162         [BZ #16928]
32163         * math/s_cacos.c (__cacos): Ensure zero real part of result from
32164         non-finite arguments is +0.
32165         * math/s_cacosf.c (__cacosf): Likewise.
32166         * math/s_cacosl.c (__cacosl): Likewise.
32167         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
32168         * sysdeps/i386/fpu/libm-test-ulps: Update.
32169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32171         [BZ #16927]
32172         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
32173         value.
32174         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
32175         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
32176         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
32177         for explicit high bit of mantissa when testing for argument equal
32178         to 1.
32179         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
32180         * sysdeps/i386/fpu/libm-test-ulps: Update.
32181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32183         [BZ #16516]
32184         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
32185         (__erf): Scale by 16 instead of 8 in potentially underflowing
32186         case.  Ensure exception if result actually underflows.
32187         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
32188         (__erff): Scale by 16 instead of 8 in potentially underflowing
32189         case.  Ensure exception if result actually underflows.
32190         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
32191         (efx8): Remove variable.
32192         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32193         case.  Ensure exception if result actually underflows.
32194         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
32195         (efx8): Remove variable.
32196         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32197         case.  Ensure exception if result actually underflows.
32198         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
32199         (efx8): Remove variable.
32200         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32201         case.  Ensure exception if result actually underflows.
32202         * math/auto-libm-test-in: Add more tests of erf.
32203         * math/auto-libm-test-out: Regenerated.
32205 2014-05-14  Andreas Schwab  <schwab@suse.de>
32207         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
32208         Remove code conditionalized on USE___THREAD.
32210         * config.h.in (HAVE_PT_CHOWN): Define as 0.
32211         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
32212         not definedness.
32214 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
32216         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
32217         Define unconditionally.
32218         (__ASSUME_O_CLOEXEC): Likewise.
32219         (__ASSUME_SOCK_CLOEXEC): Likewise.
32220         (__ASSUME_IN_NONBLOCK): Likewise.
32221         (__ASSUME_PIPE2): Likewise.
32222         (__ASSUME_EVENTFD2): Likewise.
32223         (__ASSUME_SIGNALFD4): Likewise.
32224         (__ASSUME_DUP3): Likewise.
32225         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32226         (__ASSUME_DUP3): Do not define.
32227         (__ASSUME_EVENTFD2): Likewise.
32228         (__ASSUME_IN_NONBLOCK): Likewise.
32229         (__ASSUME_O_CLOEXEC): Likewise.
32230         (__ASSUME_PIPE2): Likewise.
32231         (__ASSUME_SIGNALFD4): Likewise.
32232         (__ASSUME_SOCK_CLOEXEC): Likewise.
32233         (__ASSUME_UTIMES): Undefine.
32234         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32235         (__ASSUME_UTIMES): Do not define.
32236         (__ASSUME_O_CLOEXEC): Likewise.
32237         (__ASSUME_SOCK_CLOEXEC): Likewise.
32238         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
32239         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
32240         0x020621].
32241         (__ASSUME_PIPE2): Likewise.
32242         (__ASSUME_EVENTFD2): Likewise.
32243         (__ASSUME_SIGNALFD4): Likewise.
32244         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
32245         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
32246         Do not define.
32247         (__ASSUME_EVENTFD2): Likewise.
32248         (__ASSUME_SIGNALFD4): Likewise.
32249         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32250         (__ASSUME_32BITUIDS): Likewise.
32251         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32252         (__ASSUME_IPC64): Likewise.
32253         (__ASSUME_ST_INO_64_BIT): Likewise.
32254         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
32255         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
32256         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32257         (__ASSUME_UTIMES): Do not define.
32258         (__ASSUME_PSELECT): Likewise.
32259         (__ASSUME_PPOLL): Likewise.
32260         (__ASSUME_O_CLOEXEC): Likewise.
32261         (__ASSUME_SOCK_CLOEXEC): Likewise.
32262         (__ASSUME_IN_NONBLOCK): Likewise.
32263         (__ASSUME_PIPE2): Likewise.
32264         (__ASSUME_EVENTFD2): Likewise.
32265         (__ASSUME_SIGNALFD4): Likewise.
32266         (__ASSUME_DUP3): Likewise.
32267         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32268         (__ASSUME_UTIMES): Likewise.
32269         (__ASSUME_O_CLOEXEC): Likewise.
32270         (__ASSUME_SOCK_CLOEXEC): Likewise.
32271         (__ASSUME_IN_NONBLOCK): Likewise.
32272         (__ASSUME_PIPE2): Likewise.
32273         (__ASSUME_EVENTFD2): Likewise.
32274         (__ASSUME_SIGNALFD4): Likewise.
32275         (__ASSUME_DUP3): Likewise.
32276         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32277         (__ASSUME_UTIMES): Likewise.
32278         (__ASSUME_O_CLOEXEC): Likewise.
32279         (__ASSUME_SOCK_CLOEXEC): Likewise.
32280         (__ASSUME_IN_NONBLOCK): Likewise.
32281         (__ASSUME_PIPE2): Likewise.
32282         (__ASSUME_EVENTFD2): Likewise.
32283         (__ASSUME_SIGNALFD4): Likewise.
32284         (__ASSUME_DUP3): Likewise.
32285         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
32286         Likewise.
32287         (__ASSUME_UTIMES): Likewise.
32288         (__ASSUME_EVENTFD2): Likewise.
32289         (__ASSUME_SIGNALFD4): Likewise.
32290         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32291         (__ASSUME_O_CLOEXEC): Likewise.
32292         (__ASSUME_SOCK_CLOEXEC): Likewise.
32293         (__ASSUME_IN_NONBLOCK): Likewise.
32294         (__ASSUME_PIPE2): Likewise.
32295         (__ASSUME_EVENTFD2): Likewise.
32296         (__ASSUME_SIGNALFD4): Likewise.
32297         (__ASSUME_DUP3): Likewise.
32298         (__ASSUME_UTIMES): Undefine.
32300         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
32301         feclearexcept.  Remove symbol versioning code.
32302         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
32303         symbol versioning code.
32304         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
32305         symbol versioning code.
32306         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
32307         feupdateenv.  Remove symbol versioning code.
32308         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
32309         fegetexceptflag.  Remove symbol versioning code.
32310         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
32311         fesetexceptflag.  Remove symbol versioning code.
32312         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
32313         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
32314         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
32315         (__posix_fadvise64_l32): Remove prototype.
32316         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
32317         code.
32319 2014-05-13  Roland McGrath  <roland@hack.frob.com>
32321         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
32322         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
32323         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
32324         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
32326 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
32328         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
32329         current working directory
32331 2014-05-13  Roland McGrath  <roland@hack.frob.com>
32333         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
32334         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
32335         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
32336         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
32337         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
32338         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
32339         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
32340         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
32341         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
32342         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
32343         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
32344         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
32345         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
32346         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
32347         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
32348         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
32349         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
32350         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
32351         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
32352         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
32353         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
32354         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
32355         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
32356         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
32357         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
32358         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
32359         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
32360         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
32361         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
32362         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
32363         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
32364         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
32365         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
32366         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
32367         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
32368         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
32369         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
32370         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
32371         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
32372         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
32373         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
32374         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
32376         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
32377         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
32379         * sysdeps/unix/sysv/linux/arm/Makefile
32380         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
32381         Add rt-aeabi_unwind_cpp_pr1.
32382         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
32383         Add nptl-aeabi_unwind_cpp_pr1.
32384         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
32385         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
32386         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
32387         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32388         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
32389         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32391         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
32392         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
32393         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
32394         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
32396         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
32397         Deconditionalize the code that was previously under [RESET_PID].
32398         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
32400         * sysdeps/generic/exit-thread.h: New file.
32401         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
32402         * include/unistd.h (__exit_thread): Remove declaration.
32403         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
32404         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
32405         * csu/libc-start.c: Include <exit-thread.h>.
32406         (LIBC_START_MAIN): Pass no argument to __exit_thread.
32407         * nptl/pthread_create.c: Include <exit-thread.h>.
32408         (start_thread): Call __exit_thread in place of __exit_thread_inline.
32409         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
32410         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
32411         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
32412         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
32413         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
32414         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
32415         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
32416         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
32417         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
32418         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
32419         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
32420         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
32421         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
32422         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
32423         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
32424         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
32426 2014-05-13  Andreas Schwab  <schwab@suse.de>
32428         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
32430 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
32432         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
32433         (__ASSUME_UTIMES): Do not condition on kernel version.
32434         (__ASSUME_PSELECT): Define unconditionally.
32435         (__ASSUME_PPOLL): Likewise.
32436         (__ASSUME_ATFCTS): Likewise.
32437         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
32438         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
32439         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
32440         (__ASSUME_UTIMENSAT): Define unconditionally.
32441         (__ASSUME_PRIVATE_FUTEX): Likewise.
32442         (__ASSUME_FALLOCATE): Likewise.
32443         (__ASSUME_O_CLOEXEC): Likewise.
32444         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
32445         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
32446         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
32447         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
32448         (__ASSUME_IN_NONBLOCK): Likewise.
32449         (__ASSUME_PIPE2): Likewise.
32450         (__ASSUME_EVENTFD2): Likewise.
32451         (__ASSUME_SIGNALFD4): Likewise.
32452         (__ASSUME_DUP3): Likewise.
32453         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32454         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
32455         (__ASSUME_AT_RANDOM): Likewise.
32456         (__ASSUME_PREADV): Likewise.
32457         (__ASSUME_PWRITEV): Likewise.
32458         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
32459         (__ASSUME_F_GETOWN_EX): Define unconditionally.
32460         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
32461         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32462         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
32463         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32464         (__ASSUME_O_CLOEXEC): Define unconditionally.
32465         (__ASSUME_PSELECT): Do not undefine conditionally.
32466         (__ASSUME_PPOLL): Likewise.
32467         (__ASSUME_ATFCTS): Likewise.
32468         (__ASSUME_SET_ROBUST_LIST): Likewise.
32469         (__ASSUME_UTIMENSAT): Likewise.
32470         (__ASSUME_FDATASYNC): Define unconditionally.
32471         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32472         (__ASSUME_SIGFRAME_V2): Likewise.
32473         )__ASSUME_EVENTFD2): Likewise.
32474         (__ASSUME_SIGNALFD4): Likewise.
32475         (__ASSUME_PSELECT): Do not undefine conditionally.
32476         (__ASSUME_PPOLL): Likewise.
32477         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32478         (__ASSUME_PSELECT): Define unconditionally.
32479         (__ASSUME_PPOLL): Likewise.
32480         (__ASSUME_O_CLOEXEC): Likewise.
32481         (__ASSUME_SOCK_CLOEXEC): Likewise.
32482         (__ASSUME_IN_NONBLOCK): Likewise.
32483         (__ASSUME_PIPE2): Likewise.
32484         (__ASSUME_EVENTFD2): Likewise.
32485         (__ASSUME_SIGNALFD4): Likewise.
32486         (__ASSUME_DUP3): Likewise.
32487         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32488         (__ASSUME_O_CLOEXEC): Likewise.
32489         (__ASSUME_SOCK_CLOEXEC): Likewise.
32490         (__ASSUME_IN_NONBLOCK): Likewise.
32491         (__ASSUME_PIPE2): Likewise.
32492         (__ASSUME_EVENTFD2): Likewise.
32493         (__ASSUME_SIGNALFD4): Likewise.
32494         (__ASSUME_DUP3): Likewise.
32495         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32496         (__ASSUME_EVENTFD2): Likewise.
32497         (__ASSUME_SIGNALFD4): Likewise.
32498         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32500 2014-05-12  Andreas Schwab  <schwab@suse.de>
32502         [BZ #16932]
32503         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
32504         (_nss_nis_gethostbyname4_r): Return error if item length is larger
32505         than maximum RPC packet size.
32506         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
32507         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
32508         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
32509         (_nss_nis_getservbyport_r): Likewise.
32511 2014-05-12  Will Newton  <will.newton@linaro.org>
32513         * malloc/Makefile (tests): Add tst-mallopt.
32514         * malloc/tst-mallopt.c: New file.
32516 2014-05-09  Roland McGrath  <roland@hack.frob.com>
32518         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
32519         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
32521 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32523         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
32524         (tst-tlsmod6.so): Likewise.
32526 2014-05-09  Roland McGrath  <roland@hack.frob.com>
32528         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
32530 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
32532         [BZ #16064]
32533         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
32534         and <dl-procinfo.h>.
32535         (__fegetenv): Save SSE state in envp->__eip if supported.
32536         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
32537         envp->__eip if supported.
32538         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
32539         and <dl-procinfo.h>.
32540         (__fesetenv): Always set __eip, __cs_selector, __opcode,
32541         __data_offset and __data_selector in environment to 0.  Set SSE
32542         state if supported.
32543         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
32544         test-fenv-sse.
32545         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
32546         -mfpmath=sse.
32547         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
32549 2014-05-09  Will Newton  <will.newton@linaro.org>
32551         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
32552         and libc_relro_required for ARM.
32553         * sysdeps/arm/preconfigure: Regenerate.
32555 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
32556             Stefan Liebler  <stli@linux.vnet.ibm.com>
32558         * config.make.in (enable-lock-elision): New Makefile variable.
32559         * configure.ac: Likewise.
32560         * configure: Regenerate.
32561         * sysdeps/s390/configure.ac:
32562         Add check for gcc transactions support.
32563         * sysdeps/s390/configure: Regenerate.
32564         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
32565         Build elision files if enabled.
32566         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
32567         Add lock elision support for s390.
32568         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
32569         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
32570         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
32571         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
32572         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
32573         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
32574         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32575         Likewise.
32576         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
32577         Likewise.
32578         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
32579         Likewise.
32580         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
32581         Likewise.
32582         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
32583         (__lll_timedlock_elision, __lll_lock_elision)
32584         (__lll_unlock_elision, __lll_trylock_elision)
32585         (lll_timedlock_elision, lll_lock_elision)
32586         (lll_unlock_elision, lll_trylock_elision): Add.
32587         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32588         (pthread_mutex_t): Add lock elision support for s390.
32590 2014-05-14  Wilco  <wdijkstr@arm.com>
32592         * sysdeps/arm/fclrexcpt.c: Cleanup.
32593         * sysdeps/arm/fedisblxcpt.c: Cleanup.
32594         * sysdeps/arm/feenablxcpt.c: Cleanup.
32595         * sysdeps/arm/fegetenv.c: Cleanup.
32596         * sysdeps/arm/fegetexcept.c: Cleanup.
32597         * sysdeps/arm/fegetround.c: Cleanup.
32598         * sysdeps/arm/feholdexcpt.c: Cleanup.
32599         * sysdeps/arm/fesetenv.c: Cleanup.
32600         * sysdeps/arm/fesetround.c: Cleanup.
32601         * sysdeps/arm/feupdateenv.c: Cleanup.
32602         * sysdeps/arm/fgetexcptflg.c: Cleanup.
32603         * sysdeps/arm/fraiseexcpt.c: Cleanup.
32604         * sysdeps/arm/fsetexcptflg.c: Cleanup.
32605         * sysdeps/arm/ftestexcept.c: Cleanup.
32606         * sysdeps/arm/get-rounding-mode.h: Cleanup.
32607         * sysdeps/arm/setfpucw.c: Cleanup.
32609 2014-05-09  Will Newton  <will.newton@linaro.org>
32611         * sysdeps/arm/armv7/strcmp.S: New file.
32612         * NEWS: Mention addition of ARMv7 optimized strcmp.
32614 2014-05-08  Roland McGrath  <roland@hack.frob.com>
32616         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
32617         look for %.ac rather than %.in.
32619         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
32620         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
32621         * sysdeps/mach/hurd/configure: Regenerated.
32622         * sysdeps/unix/sysv/linux/configure: Regenerated.
32624         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
32626 2014-05-07  Steve Ellcey  <sellcey@mips.com>
32628         [BZ# 16922]
32629         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
32630         (LONG_SUB): Ditto.
32631         (PTR_SUB): Ditto.
32633 2014-05-07  Andreas Schwab  <schwab@suse.de>
32635         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
32636         when skipping over non-matching result from nscd.
32638 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
32640         [BZ #16876]
32641         * nptl/sockperf.c (client): Check socket return value.
32643         [BZ #16877]
32644         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
32645         nscd security class.
32647 2014-05-06  Roland McGrath  <roland@hack.frob.com>
32649         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
32650         * sysdeps/arm/unwind.h: ... here.
32652 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
32654         [BZ# 16916]
32655         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
32656         Define.
32658 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32660         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
32661         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
32662         multiarch strncpy for PPC64.
32663         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
32664         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
32665         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
32666         multiarch optimizations.
32667         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32668         (__libc_ifunc_impl_list): Likewise.
32669         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
32670         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
32671         multiarch stpncpy for PPC64.
32672         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
32673         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
32675 2014-05-06  Andreas Schwab  <schwab@suse.de>
32677         [BZ #16912]
32678         * gmon/mcount.c (_MCOUNT_DECL): Use
32679         atomic_compare_and_exchange_bool_acq instead of
32680         catomic_compare_and_exchange_bool_acq.
32682 2014-05-05  Roland McGrath  <roland@hack.frob.com>
32684         * elf/Makefile (others, install-bin): Remove pldd.
32685         (pldd-modules): Variable removed.
32686         ($(objpfx)pldd): Target removed.
32687         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
32688         (others, install-bin): Append pldd here.
32689         ($(objpfx)pldd): New target.
32691         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
32692         to 0, so the first #if test emitted later doesn't see it undefined.
32693         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
32694         * sysdeps/gnu/errlist.c: Regenerated.
32696 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32698         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32699         [libc_hidden_builtin_def]: Define to empty value.
32700         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
32701         [libc_hidden_builtin_def]: Likewise.
32702         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
32703         [libc_hidden_builtin_def]: Likewise.
32704         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
32705         [libc_hidden_builtin_def]: Likewise.
32706         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
32707         __redirect_memcpy and define ifunc as default hidden symbol.
32708         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
32709         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
32711 2014-05-04  Adam Conrad  <adconrad@0c3.net>
32713         * locale/iso-4217.def: Reintroduce XDR currency.
32715 2014-05-04  Allan McRae  <allan@archlinux.org>
32717         * po/eo.po: Update Esperanto translation from translation project.
32719 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
32721         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
32722         and FEATURE_INDEX_MAX to 1.
32723         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
32725 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32727         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
32728         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
32729         * iconvdata/big5.c (ONE_DIRECTION): Define.
32730         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
32731         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
32732         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
32733         * iconvdata/cp932.c (ONE_DIRECTION): Define.
32734         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
32735         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
32736         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
32737         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
32738         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
32739         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
32740         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
32741         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
32742         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
32743         * iconvdata/gbk.c (ONE_DIRECTION): Define.
32744         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
32745         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
32746         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
32747         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
32748         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
32749         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
32750         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
32751         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
32752         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
32753         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
32754         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
32755         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
32756         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
32757         * iconvdata/iso646.c (ONE_DIRECTION): Define.
32758         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
32759         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
32760         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
32761         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
32762         * iconvdata/johab.c (ONE_DIRECTION): Define.
32763         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
32764         * iconvdata/sjis.c (ONE_DIRECTION): Define.
32765         * iconvdata/t.61.c (ONE_DIRECTION): Define.
32766         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
32767         * iconvdata/tscii.c (ONE_DIRECTION): Define.
32768         * iconvdata/uhc.c (ONE_DIRECTION): Define.
32769         * iconvdata/unicode.c (ONE_DIRECTION): Define.
32770         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
32771         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
32772         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
32774 2014-05-01  Roland McGrath  <roland@hack.frob.com>
32776         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
32777         (_IO_JUMPS_OFFSET): Define to 0.
32779         * nptl/sysdeps/pthread/bits/libc-lock.h
32780         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
32781         (__libc_lock_define_initialized_recursive): Always define using
32782         initializer.  Modern compilers treat uninitialized (implicit zero) and
32783         explicit zero initializers the same (i.e. put the datum in bss).
32785 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32787         * nscd/nscd-client.h: Include <string.h>.
32789 2014-05-01  David S. Miller  <davem@davemloft.net>
32791         [BZ #16885]
32792         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
32793         multiple zero bytes exist at the end of a string.
32794         Reported by Aurelien Jarno <aurelien@aurel32.net>
32796         * string/test-strcmp.c (check): Add explicit test for situations where
32797         there are multiple zero bytes after the first.
32799 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32801         [BZ #16890]
32802         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
32803         when compiling wprintf.
32804         * stdio-common/tstdiomisc.c (t3): New function.
32805         (main): Call it.
32807 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32809         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
32810         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
32811         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
32812         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
32814 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32816         * stdlib/longlong.h: Updated from GCC.
32818 2014-05-01  Will Newton  <will.newton@linaro.org>
32819             Bernard Ogden  <bernie.ogden@linaro.org>
32821         * NEWS: Update fixed bug list.
32823         [BZ #15119]
32824         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
32826 2014-04-30  David S. Miller  <davem@davemloft.net>
32828         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
32829         (libc_feholdexcept_setround_sparc_ctx): New function.
32830         (libc_fesetenv_sparc_ctx): Likewise.
32831         (libc_feupdateenv_sparc_ctx): Likewise.
32832         (libc_feholdsetround_sparc_ctx): Likewise.
32833         (libc_feholdexcept_setround_ctx): Define.
32834         (libc_feholdexcept_setroundf_ctx): Likewise.
32835         (libc_feholdexcept_setroundl_ctx): Likewise.
32836         (libc_fesetenv_ctx): Likewise.
32837         (libc_fesetenvf_ctx): Likewise.
32838         (libc_fesetenvl_ctx): Likewise.
32839         (libc_feupdateenv_ctx): Likewise.
32840         (libc_feupdateenvf_ctx): Likewise.
32841         (libc_feupdateenvl_ctx): Likewise.
32842         (libc_feresetround_ctx): Likewise.
32843         (libc_feresetroundf_ctx): Likewise.
32844         (libc_feresetroundl_ctx): Likewise.
32845         (libc_feholdsetround_ctx): Likewise.
32846         (libc_feholdsetroundf_ctx): Likewise.
32847         (libc_feholdsetroundl_ctx): Likewise.
32849         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
32850         with __USE_GNU instead of XOPEN cpp guards.
32852         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
32853         0.
32855         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
32856         with XOPEN cpp guards.
32858 2014-04-30  Julian Brown  <julian@codesourcery.com>
32860         [BZ #16888]
32861         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
32862         handling.
32864 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
32866         [BZ #9894]
32867         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
32868         Change to 2.6.32.
32869         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
32870         * sysdeps/unix/sysv/linux/configure: Regenerated.
32871         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
32872         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
32873         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
32874         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
32875         * README: Update reference to required Linux kernel version.
32876         * manual/install.texi (Linux): Update reference to required Linux
32877         kernel headers version.
32878         * INSTALL: Regenerated.
32880         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
32881         header inclusion.
32882         [POSIX] (limits.h): Likewise.
32883         [POSIX] (math.h): Likewise.
32884         [POSIX] (sys/wait.h): Likewise.
32885         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
32886         function.
32887         [POSIX] (stddef.h): Do not allow header inclusion.
32889 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32891         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
32893 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
32895         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
32896         Return immediately after lll_futex_wake.
32898 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32900         [BZ #16791]
32901         * nscd/nscd-client.h (datahead_init_common): Initialize entire
32902         structure.
32903         (datahead_init_pos): Call datahead_init_common early.
32904         (datahead_init_neg): Likewise.
32906         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
32907         datahead_init_neg): New functions.
32908         * nscd/aicache.c (addhstaiX): Use them.
32909         * nscd/grpcache.c (cache_addgr): Likewise.
32910         * nscd/hstcache.c (cache_addhst): Likewise.
32911         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32912         * nscd/netgroupcache.c (do_notfound): Likewise.
32913         (addgetnetgrentX): Likewise.
32914         (addinnetgrX): Likewise.
32915         * nscd/pwdcache.c (cache_addpw): Likewise.
32916         * nscd/servicescache.c (cache_addserv): Likewise.
32918 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32919             Atsushi Onoe  <atsushi@onoe.org>
32921         [BZ #14308]
32922         [BZ #12994]
32923         [BZ #13651]
32924         * resolv/res_query.c (__libc_res_nsearch): Return if at least
32925         one response is valid.
32926         * resolv/res_send.c (send_dg): Check for validity of other
32927         response if the current response is a referral.
32929 2014-04-29  Steve Ellcey  <sellcey@mips.com>
32931         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
32933 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
32935         [BZ #16823]
32936         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
32937         Always divide by positive zero when computing -Inf result.
32938         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
32939         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
32941 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32943         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
32944         FPSCR if value do not change.
32945         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32946         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
32947         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32948         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
32949         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
32950         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
32951         function.
32953 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
32955         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
32956         * sysdeps/unix/sysv/linux/hppa: Move directory from
32957         ports/systeps/unix/sysv/linux/hppa.
32958         * README: Update listing for hppa-*-linux-gnu.
32960 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
32962         [BZ #16754]
32963         * manual/stdio.texi (Hook functions): Fix types of stream hook
32964         functions.
32965         [BZ #16854]
32966         * socket/sys/socket.h: Fix typo in comment.
32968 2014-04-28  Wilco  <wdijkstr@arm.com>
32970         * sysdeps/arm/fenv_private.h: New file.
32971         * sysdeps/arm/math_private.h: New file.
32972         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
32974 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
32976         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
32977         with __int128_t.
32978         (La_x86_64_retval): Likewise.
32980 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
32982         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
32983         fpsr if value didn't change.
32984         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
32985         to fpcr if value didn't change.
32986         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
32987         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
32988         fpsr or fpcr if value didn't change.
32989         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
32990         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
32991         fpcr if value didn't change.
32992         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
32993         to fpsr if value didn't change.
32995 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
32997         * nptl/tst-sem3.c: Use test-skeleton.c
32998         (main): Rename to do_test.  Use return instead of
32999         exit.
33000         * nptl/tst-sem4.c: Use test-skeleton.c
33001         (main): Rename to do_test.
33003 2014-04-22  David S. Miller  <davem@davemloft.net>
33005         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33006         (struct sigaction): New struct member __glibc_reserved0, change
33007         type of sa_flags to int.
33009 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
33011         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
33012         (COUNT_LEADING_ZEROS_0): Define for AArch64.
33014 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33016         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
33017         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
33019 2014-04-22  Will Newton  <will.newton@linaro.org>
33020             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
33022         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
33023         (__longjmp): Add longjmp and longjmp_target SystemTap
33024         probes.
33025         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
33026         (__sigsetjmp): Add setjmp SystemTap probe.
33028 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
33030         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
33031         match manual order.
33033 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33035         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
33037         * sysdeps/powerpc/fpu/fenv_private.h
33038         (libc_feholdexcept_setroundl_ctx): Define to
33039         libc_feholdexcept_setround_ppc_ctx.
33040         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
33041         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
33042         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
33043         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
33045 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
33047         * sysdeps/aarch64/math-tests.h: New file.
33049 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
33051         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
33052         New.
33053         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33054         Check and set bit_AVX2_Usable.
33055         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
33056         macro.
33057         (bit_AVX2): Likewise.
33058         (index_AVX2_Usable): Likewise.
33059         (CPUID_AVX2): Likewise.
33060         (HAS_AVX2): Likewise.
33062 2014-04-17  Will Newton  <will.newton@linaro.org>
33064         * manual/setjmp.texi (System V contexts): Add note that
33065         calling setcontext on a context created by a call to a
33066         signal handler is undefined.  Update text to note that
33067         setcontext from a signal handler is possible but not
33068         recommended.
33070         [BZ #16629]
33071         * stdlib/tst-setcontext.c: Include signal.h.
33072         (main): Check that the signal stack before and
33073         after swapcontext is the same.
33075         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
33076         Re-implement to restore registers in user code and avoid
33077         rt_sigreturn system call.
33079 2014-04-17  Wilco  <wdijkstr@arm.com>
33081         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
33082         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
33083         * math/test-fenv.c: Skip exception trap tests on targets which only
33084         support non-stop mode.
33086 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
33087             Wilco Dijkstra  <wilco.dijkstra@arm.com>
33089         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
33090         (libc_feholdsetround_aarch64_ctx)
33091         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
33092         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
33093         (libc_feresetround_ctx, libc_feresetroundf_ctx)
33094         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
33095         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
33096         (libc_feresetround_noexl_ctx): Define.
33098 2014-04-16  Richard Henderson  <rth@redhat.com>
33100         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
33102         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
33103         unwind tables.
33105         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
33106         const from the non-libc, non-ldso copy.
33108         * sysdeps/alpha/libm-test-ulps: Regenerate.
33110 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
33111             Wilco Dijkstra  <wilco.dijkstra@arm.com>
33113         * sysdeps/aarch64/fpu/math_private.h: New file.
33115 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33117         * sysdeps/aarch64/libm-test-ulps: Regenerate.
33119 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
33121         [BZ #16275]
33122         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
33123         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
33124         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
33125         Intel MPX bound registers before _dl_profile_fixup.
33126         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
33127         registers after _dl_profile_fixup.  Save and restore bound
33128         registers bnd0/bnd1 when calling _dl_call_pltexit.
33129         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
33130         (LR_BND_OFFSET): Likewise.
33131         (LRV_BND0_OFFSET): Likewise.
33132         (LRV_BND1_OFFSET): Likewise.
33134 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33136         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
33137         to...
33138         * sysdeps/mach/hurd/i386/tls.h: ... here.
33139         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
33140         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
33141         fields.
33143 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33145         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
33147 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33149         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33151 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33153         [BZ #14770]
33154         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
33155         * sysdeps/s390/configure: Regenerate.
33157         [BZ #16824]
33158         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
33159         Set round-to-nearest internally to reduce error accumulation.
33161 2014-04-16  Alan Modra  <amodra@gmail.com>
33163         [BZ #16740]
33164         [BZ #16619]
33165         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
33166         * math/libm-test.inc (frexp_test_data): Add tests.
33167         * NEWS: Update fixed bug list.
33169 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33171         * benchtests/Makefile: Depend on libraries in build directory.
33172         (bench-math): Separate out math tests.
33173         (bench-pthread): Separate out pthread tests.
33174         (bench): Include math and pthread tests.
33176 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
33178         [BZ #16831]
33179         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
33180         _dl_debug_initialize.
33182         * configure.ac: Remove SELinux header check.
33183         * configure: Regenerate.
33184         * nscd/selinux.c (perms): Array of const char* to permission names.
33185         (nscd_request_avc_has_perm): Call security_deny_unknown to find
33186         default policy. Call string_to_security_class and string_to_av_perm to
33187         translate strings. Enforce default policy and call avs_has_perm with
33188         results of translated strings.
33190 2014-04-13  David S. Miller  <davem@davemloft.net>
33192         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33194 2014-04-12  Allan McRae  <allan@archlinux.org>
33196         [BZ #16838]
33197         * manual/string.texi (Collation Functions): Fix qsort argument
33198         order in example.
33199         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33201 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
33203         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
33204         Make the test a no-op if there are no exceptions defined.
33206 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
33208         * elf/Makefile (tests): make tst-dlopen-aout conditional on
33209         enable-hardcoded-path-in-tests
33211 2014-04-11  Will Newton  <will.newton@linaro.org>
33213         * benchtests/Makefile (extra-objs): Add json-lib.o.
33214         (bench-func): Tidy up JSON output.
33215         * benchtests/bench-skeleton.c: Include json-lib.h.
33216         (main): Use JSON library functions to do output of
33217         benchmark results.
33218         * benchtests/bench-timing-type.c (main): Output the
33219         timing type simply, leaving formatting to the user.
33220         * benchtests/json-lib.c: New file.
33221         * benchtests/json-lib.h: Likewise.
33223 2014-04-11  Torvald Riegel  <triegel@redhat.com>
33225         [BZ #15215]
33226         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
33227         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
33228         memory barriers.  Add comments.
33229         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
33230         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
33231         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
33232         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
33233         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
33234         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
33236 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33238         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
33239         * sysdeps/s390/s390-64/configure.ac: ... this ...
33240         * sysdeps/s390/configure.ac: ... to here.
33241         * sysdeps/s390/s390-32/configure: Delete file.
33242         * sysdeps/s390/s390-64/configure: Delete file.
33243         * sysdeps/s390/configure: Regenerate.
33245 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
33247         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
33249 2014-04-11  Will Newton  <will.newton@linaro.org>
33251         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
33252         to zero if it is not defined elsewhere.  (mtrim): Test
33253         the value of MALLOC_DEBUG with #if rather than #ifdef.
33255 2014-04-10 Torvald Riegel  <triegel@redhat.com>
33257         * benchtests/pthread_once-inputs: New file.
33258         * benchtests/pthread_once-source.c: New file.
33259         * benchtests/README: Update documentation.
33261 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
33262             H.J. Lu  <hongjiu.lu@intel.com>
33264         [BZ #16275]
33265         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
33266         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
33267         * sysdeps/x86_64/configure: Regenerated.
33268         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
33269         macro.
33270         (REGISTER_SAVE_RAX): Likewise.
33271         (REGISTER_SAVE_RCX): Likewise.
33272         (REGISTER_SAVE_RDX): Likewise.
33273         (REGISTER_SAVE_RSI): Likewise.
33274         (REGISTER_SAVE_RDI): Likewise.
33275         (REGISTER_SAVE_R8): Likewise.
33276         (REGISTER_SAVE_R9): Likewise.
33277         (REGISTER_SAVE_BND0): Likewise.
33278         (REGISTER_SAVE_BND1): Likewise.
33279         (REGISTER_SAVE_BND2): Likewise.
33280         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
33281         bound registers when calling _dl_fixup.
33283 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33285         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
33286         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
33287         of its definition.
33288         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
33289         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
33290         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
33291         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
33292         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
33293         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
33294         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
33296 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
33298         [BZ #15514]
33299         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
33300         pathconf(_PC_NAME_MAX).
33302 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33304         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
33305         Remove macro usage.
33306         (__PTHREAD_SPINS): Move definition to ...
33307         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33308         (__PTHREAD_SPINS): ... here.
33309         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33310         (__PTHREAD_SPIN): Likewise.
33311         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
33312         (__PTHREAD_SPIN): Likewise.
33313         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
33314         (__PTHREAD_SPIN): Likewise.
33315         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
33316         (__PTHREAD_SPIN): Likewise.
33317         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
33318         (__PTHREAD_SPIN): Likewise.
33319         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
33320         (__PTHREAD_SPIN): Likewise.
33321         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
33322         (__PTHREAD_SPIN): Likewise.
33323         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
33324         (__PTHREAD_SPIN): Likewise.
33325         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
33326         (__PTHREAD_SPIN): Likewise.
33327         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33328         (__PTHREAD_SPIN): Likewise.
33329         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
33330         (__PTHREAD_SPIN): Likewise.
33331         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
33332         (__PTHREAD_SPIN): Likewise.
33334         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
33335         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
33336         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
33337         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
33338         imply folder.
33339         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
33340         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
33341         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
33342         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
33343         correct imply path.
33344         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
33345         strlen symbol for non multi-arch builds.
33346         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
33347         missing hidden_def and weak_alias.
33349 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
33351         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
33353 2014-04-07  Will Newton  <will.newton@linaro.org>
33355         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
33356         and contents.  [!_LIBC] Remove #ifndef and contents.
33357         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
33358         * string/memccpy.c (__memccpy): Use ANSI prototype.
33359         * string/memfrob.c (memfrob): Likewise.
33360         * string/strcoll.c (STRCOLL): Likewise.
33361         * string/strlen.c (strlen): Likewise.
33362         * string/strtok.c (STRTOK): Likewise.
33363         * string/strcat.c: Remove unused #include of memcopy.h.
33364         (strcat): Use ANSI prototype.
33365         * string/strchr.c: Remove unused #include of memcopy.h.
33366         (strchr): Use ANSI prototype.
33367         * string/strcmp.c: Remove unused #include of memcopy.h.
33368         (strcmp): Use ANSI prototype.
33369         * string/strcpy.c: Remove unused #include of memcopy.h.
33370         (strcpy): Use ANSI prototype.
33372 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33374         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
33375         * config.make.in (config-extra-cppflags): Set it from
33376         libc_extra_cppflags.
33377         * configure.ac (libc_extra_cflags): Make it accumulate over
33378         configure fragments.
33379         (libc_extra_cppflags): New flag.
33380         * configure. Regenerate.
33381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
33382         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
33383         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
33384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
33386         [BZ #16815]
33387         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
33388         result for FE_DOWNWARD rounding mode.
33389         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
33390         Likewise.
33391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33393 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
33395         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
33396         in function argument name.
33398 2014-04-03  David Svoboda  <svoboda@cert.org>
33400         [BZ #5666]
33401         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
33402         explicitly.
33404 2014-04-03  Roland McGrath  <roland@hack.frob.com>
33406         * elf/dl-unmap-segments.h: New file.
33407         * sysdeps/generic/ldsodefs.h
33408         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
33409         * elf/dl-close.c: Include <dl-unmap-segments.h>.
33410         * elf/dl-fptr.c: Likewise.
33411         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
33412         * sysdeps/aarch64/tlsdesc.c: Likewise.
33413         * sysdeps/arm/tlsdesc.c: Likewise.
33414         * sysdeps/i386/tlsdesc.c: Likewise.
33415         * sysdeps/tile/dl-runtime.c: Likewise.
33416         * sysdeps/x86_64/tlsdesc.c: Likewise.
33417         * elf/dl-load.h: New file.
33418         * elf/dl-load.c: Include it.
33419         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
33420         Macros moved to dl-load.h.
33421         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
33422         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
33423         Use _dl_unmap_segments in place of __munmap.
33424         Break out segment-mapping loop into ...
33425         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
33427 2014-04-03  Will Newton  <will.newton@linaro.org>
33429         * elf/dl-lookup.c (do_lookup_x): Remove comment
33430         referring to nested function and move variable
33431         declarations down to before first use.
33433 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
33435         [BZ #16799]
33436         [BZ #16800]
33437         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
33438         with 0 numerator.
33439         * math/s_catanf.c (__catanf): Likewise.
33440         * math/s_catanh.c (__catanh): Likewise.
33441         * math/s_catanhf.c (__catanhf): Likewise.
33442         * math/s_catanhl.c (__catanhl): Likewise.
33443         * math/s_catanl.c (__catanl): Likewise.
33444         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
33445         by positive zero when computing -Inf result.
33446         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
33447         (catanh_test): Likewise.
33448         * sysdeps/i386/fpu/libm-test-ulps: Update.
33449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33451         [BZ #16789]
33452         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
33453         instead of using underflowing value in computing result.
33454         * math/s_clog10.c (__clog10): Likewise.
33455         * math/s_clog10f.c (__clog10f): Likewise.
33456         * math/s_clog10l.c (__clog10l): Likewise.
33457         * math/s_clogf.c (__clogf): Likewise.
33458         * math/s_clogl.c (__clogl): Likewise.
33459         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
33460         (clog10_test): Likewise.
33461         * sysdeps/i386/fpu/libm-test-ulps: Update.
33462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33464 2014-04-02  Alan Modra  <amodra@gmail.com>
33466         [BZ #16739]
33467         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
33468         output when value is near a power of two.  Use int64_t for lx and
33469         remove casts.  Use decimal rather than hex exponent constants.
33470         Don't use long double multiplication when double will suffice.
33471         * math/libm-test.inc (nextafter_test_data): Add tests.
33472         * NEWS: Add 16739 and 16786 to bug list.
33474         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
33476         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
33478 2014-04-01  Will Newton  <will.newton@linaro.org>
33480         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
33481         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
33483 2014-04-01  Florian Weimer  <fweimer@redhat.com>
33485         [BZ #13347]
33486         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
33487         * nptl/tst-setuid2.c: New file.
33488         * nptl/Makefile (xtests): Add tst-setuid2.
33490 2014-04-01  Alan Modra  <amodra@gmail.com>
33492         [BZ #16786]
33493         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
33495 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
33497         [BZ #6803]
33498         [BZ #6804]
33499         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
33500         set errno as appropriate.
33501         * math/w_scalbf.c (__scalbf): Likewise.
33502         * math/w_scalbl.c (__scalbl): Likewise.
33503         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
33504         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
33505         * math/libm-test.inc (scalb_test_data): Add errno expectations.
33506         Add more NaN tests.
33508         [BZ #16349]
33509         * math/w_atan2.c: Include <errno.h>.
33510         (__atan2): Set errno for result underflowing to zero.
33511         * math/w_atan2f.c: Include <errno.h>.
33512         (__atan2f): Set errno for result underflowing to zero.
33513         * math/w_atan2l.c: Include <errno.h>.
33514         (__atan2l): Set errno for result underflowing to zero.
33515         * math/auto-libm-test-in: Don't allow missing errno for some atan2
33516         tests.
33517         * math/auto-libm-test-out: Regenerated.
33519 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33521         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
33522         Encode instruction correctly in little endian.
33523         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
33524         Likewise.
33525         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
33526         Likewise.
33527         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
33528         Likewise.
33529         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
33530         Likewise.
33532 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
33534         [BZ #9894]
33535         * sysdeps/unix/sysv/linux/kernel-features.h
33536         [__sparc__ && !__arch64__ && !__sparc_v9__]
33537         (__ASSUME_SET_ROBUST_LIST): Do not define.
33538         [__sparc__ && !__arch64__ && !__sparc_v9__]
33539         (__ASSUME_FUTEX_LOCK_PI): Likewise.
33540         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
33541         Likewise.
33542         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33543         (__ASSUME_FUTEX_LOCK_PI): Undefine.
33544         (__ASSUME_REQUEUE_PI): Likewise.
33545         (__ASSUME_SET_ROBUST_LIST): Likewise.
33546         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33547         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
33548         Undefine.
33549         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33550         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
33551         Likewise.
33552         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
33553         Likewise.
33554         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
33555         Likewise.
33556         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33557         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
33558         Undefine.
33559         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
33560         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
33561         Likewise.
33563         [BZ #16648]
33564         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33565         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
33566         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
33568 2014-03-31  Will Newton  <will.newton@linaro.org>
33570         * benchtests/Makefile (bench): Add ffs and ffsll to list
33571         of tests.
33572         * benchtests/ffs-inputs: New file.
33573         * benchtests/ffsll-inputs: Likewise.
33575 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
33577         [BZ #16770]
33578         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
33579         too large before casting to int.
33580         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
33581         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
33582         * math/libm-test.inc (scalb_test_data): Add more tests.
33584 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33586         * benchtests/Makefile (DETAILED_OPT): New make option.
33587         (bench-func): Run benchmark program with -d if DETAILED_OPT is
33588         set.
33589         * benchtests/bench-skeleton.c: Include stdbool.h.
33590         (main): Store and print timings per input.
33591         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
33592         member to each argument value.
33593         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
33594         (_print_arg_data): Initialize per-input timing to 0.
33596         * benchtests/Makefile (timing-type): New binary.
33597         (bench-clean): Also remove bench-timing-type.
33598         (bench): New target for timing-type.
33599         (bench-func): Print output in JSON format.
33600         * benchtests/bench-skeleton.c (main): Print output in JSON
33601         format.
33602         * benchtests/bench-timing-type.c: New file.
33603         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
33604         (TIMING_PRINT_STATS): Remove.
33605         * benchtests/scripts/bench.py (_print_arg_data): Store variant
33606         name separately.
33608         * benchtests/bench-modf.c: Remove.
33609         * benchtests/modf-inputs: New inputs file.
33611 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
33613         [BZ #16362]
33614         * math/s_clog10.c (M_PI_LOG10E): New macro.
33615         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
33616         imaginary parts are 0.
33617         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
33618         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
33619         imaginary parts are 0.
33620         * math/s_clog10l.c (M_PI_LOG10El): New macro.
33621         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
33622         imaginary parts are 0.
33623         * math/libm-test.inc (clog10_test_data): Update expected results
33624         for when real and imaginary parts are 0.
33626 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
33628         * elf/dl-load.c: Finish conversion of __builtin_expect into
33629         __glibc_{un}likely.
33631 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
33633         [BZ #16348]
33634         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
33635         1+x for argument with exponent below -67.
33636         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
33637         Likewise.
33638         * math/auto-libm-test-in: Add more tests of exp.
33639         * math/auto-libm-test-out: Regenerated.
33641 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33643         [BZ #16759]
33644         * inet/getnetgrent_r.c (get_nonempty_val): New function.
33645         (nscd_getnetgrent): Use it.
33647         [BZ #16760]
33648         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
33649         of stpcpy.
33651 2014-03-27  Andi Kleen  <ak@linux.intel.com>
33653         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
33654         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33655         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33656         (lll_robust_unlock): Remove out of line section. Use cfi
33657         intrinsics.
33658         (LLL_STUB_UNWIND_INFO*): Remove.
33659         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
33660         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33661         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33662         (lll_robust_unlock): Remove out of line section. Use cfi
33663         intrinsics.
33664         (LLL_STUB_UNWIND_INFO*): Remove.
33666 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33668         [BZ #16758]
33669         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
33670         blank values.
33672 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
33674         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
33676 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
33678         [BZ #16198]
33679         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
33680         fnstenv.
33681         * math/test-fenv-preserve.c: New file.
33682         * math/Makefile (tests): Add test-fenv-preserve.
33684 2014-03-26  Will Newton <will.newton@linaro.org>
33686         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
33688 2014-03-25  Roland McGrath  <roland@hack.frob.com>
33690         * scripts/versionlist.awk: Partition the version sets and emit all
33691         GLIBC_* (sorted) before all others (sorted).
33693 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
33695         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
33696         GLIBC_2.2.5 version.
33698 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33700         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
33701         calls.
33703         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
33704         previous change.
33706         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33708 2014-03-25  Andreas Schwab  <schwab@suse.de>
33710         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
33711         label to be used after in6ailist is initialized.
33713 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33715         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33716         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
33718 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
33720         [BZ #16357]
33721         [BZ #16599]
33722         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
33723         min_plus_half.
33724         (fp_formats): Update initializers.
33725         (init_fp_formats): Initialize new field.
33726         (output_for_one_input_case): Allow underflow for results up to
33727         min_plus_half.
33728         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
33729         * math/auto-libm-test-in: Don't mark some underflows from asin and
33730         atanh as spurious.
33731         * math/auto-libm-test-out: Regenerated.
33732         * sysdeps/i386/fpu/libm-test-ulps: Update.
33733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33735 2014-03-25  Andreas Schwab  <schwab@suse.de>
33737         * libio/Makefile (tst-ftell-partial-wide-ENV)
33738         (tst-ftell-active-handler-ENV): Define.
33740 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
33742         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
33744 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33746         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
33748 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
33750         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
33751         * sysdeps/x86_64/fpu/multiarch/e_exp.c
33752         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
33754 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33756         [BZ #16634]
33757         * elf/dl-load.c (open_verify): Add mode parameter.
33758         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
33759         (open_path): Change from boolean 'secure' to complete flag 'mode'
33760         (_dl_map_object): Adjust.
33761         * elf/Makefile (tests): Add tst-dlopen-aout.
33762         * elf/tst-dlopen-aout.c: New test.
33764 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
33766         [BZ #16714]
33767         * sysdeps/unix/sysv/linux/s390/bits/stat.h
33768         (struct stat): Rename member pad0 to __glibc_reserved0.
33770         [BZ #16712]
33771         * sysdeps/s390/s390-32/bits/wordsize.h
33772         (__WORDSIZE32_SIZE_ULONG): New define.
33773         * sysdeps/s390/s390-64/bits/wordsize.h
33774         (__WORDSIZE32_SIZE_ULONG): Likewise.
33775         * sysdeps/generic/stdint.h (SIZE_MAX):
33776         Define as UL if __WORDSIZE32_SIZE_ULONG.
33778         [BZ #16713]
33779         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33780         (__glibc_reserved0): New variable.
33781         (sa_flags): Change type to int.
33783         * posix/Makefile (before-compile): Use += before-compile instead
33784         of a :=.
33786         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33787         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
33789 2014-03-20  Andreas Schwab  <schwab@suse.de>
33791         [BZ #16743]
33792         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
33793         non-matching result from nscd.
33795 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33797         * scripts/bench.py: Moved to ...
33798         * benchtests/scripts/bench.py: ... here.
33799         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
33801 2014-03-24  Andreas Schwab  <schwab@suse.de>
33803         [BZ #16002]
33804         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
33805         alloca_account and account alloca use for struct in6ailist.
33807 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
33809         [BZ #16284]
33810         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
33811         rounding mode to recompute results that overflow to infinity or
33812         underflow to zero.
33813         * math/auto-libm-test-in: Don't mark tests as expected to fail for
33814         bug 16284.
33815         * math/auto-libm-test-out: Regenerated.
33816         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
33817         (ccosh_test): Likewise.
33818         (csin_test_data): Use plus_oflow.
33819         (csin_test): Use ALL_RM_TEST.
33820         (csinh_test_data): Use plus_oflow.
33821         (csinh_test): Use ALL_RM_TEST.
33822         * sysdeps/i386/fpu/libm-test-ulps: Update.
33823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33825 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
33827         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
33828         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
33829         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
33831         [BZ #16731]
33832         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
33833         when x - 1 is zero.
33834         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
33835         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
33836         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33837         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
33838         argument is 1.
33839         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
33840         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
33841         zero.
33842         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
33843         * sysdeps/i386/fpu/libm-test-ulps: Update.
33844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33846 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33848         * scripts/bench.pl: Remove file.
33849         * scripts/bench.py: New benchmark script.
33850         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
33851         * benchtests/README: Mention python dependency.
33852         * scripts/pylintrc: New file.
33853         * scripts/pylint: New file.
33855         * bits/mathdef.h: Use #ifdef instead of #if.
33856         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
33857         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33858         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
33859         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33860         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
33861         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33863 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33864             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33866         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
33867         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
33868         and strpbrk-ppc64 objects.
33869         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33870         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
33871         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
33872         multiarch strpbrk for POWER7.
33873         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
33874         multiarch strpbrk for PPC64.
33875         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
33876         ifunc selector.
33877         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
33878         strpbrk for POWER7.
33880 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
33882         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
33883         (atan_test): Likewise.
33884         (atanh_test_data): Use NO_TEST_INLINE for two tests.
33885         (atanh_test): Use ALL_RM_TEST.
33886         (atan2_test_data): Likewise.
33887         (cabs_test): Likewise.
33888         (cacosh_test): Likewise.
33889         (carg_test): Likewise.
33890         (casin_test): Likewise.
33891         (casinh_test): Likewise.
33892         (cbrt_test): Likewise.
33893         (csqrt_test): Likewise.
33894         (erf_test): Likewise.
33895         (erfc_test): Likewise.
33896         (pow10_test): Likewise.
33897         (exp2_test): Likewise.
33898         (hypot_test): Likewise.
33899         (j0_test): Likewise.
33900         (j1_test): Likewise.
33901         (lgamma_test): Likewise.
33902         (gamma_test): Likewise.
33903         (sincos_test): Likewise.
33904         (tanh_test): Likewise.
33905         (y0_test): Likewise.
33906         (y1_test): Likewise.
33907         * sysdeps/i386/fpu/libm-test-ulps: Update.
33908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33910 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33912         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
33913         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
33914         and strcspn-ppc64 objects.
33915         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33916         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
33917         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
33918         multiarch strcspn for POWER7.
33919         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
33920         multiarch strcspn for PPC64.
33921         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
33922         ifunc selector.
33923         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
33924         strcspn for POWER7.
33926 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
33928         * math/gen-libm-test.pl (generate_testfile): Expect only function
33929         name as argument to AUTO_TESTS_* and pass results for all rounding
33930         modes to parse_args.
33931         (parse_auto_input): Separate inputs of automatic tests from
33932         outputs before storing in %auto_tests.
33933         * math/libm-test.inc (acos_test_data): Update call to
33934         AUTO_TESTS_f_f.
33935         (acos_test): Use ALL_RM_TEST.
33936         (acos_tonearest_test_data): Remove.
33937         (acos_test_tonearest): Likewise.
33938         (acos_towardzero_test_data): Likewise.
33939         (acos_test_towardzero): Likewise.
33940         (acos_downward_test_data): Likewise.
33941         (acos_test_downward): Likewise.
33942         (acos_upward_test_data): Likewise.
33943         (acos_test_upward): Likewise.
33944         (acosh_test_data): Update call to AUTO_TESTS_f_f.
33945         (asin_test_data): Likewise.
33946         (asin_test): Use ALL_RM_TEST.
33947         (asin_tonearest_test_data): Remove.
33948         (asin_test_tonearest): Likewise.
33949         (asin_towardzero_test_data): Likewise.
33950         (asin_test_towardzero): Likewise.
33951         (asin_downward_test_data): Likewise.
33952         (asin_test_downward): Likewise.
33953         (asin_upward_test_data): Likewise.
33954         (asin_test_upward): Likewise.
33955         (asinh_test_data): Update call to AUTO_TESTS_f_f.
33956         (atan_test_data): Likewise.
33957         (atanh_test_data): Likewise.
33958         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
33959         (cabs_test_data): Update call to AUTO_TESTS_c_f.
33960         (carg_test_data): Likewise.
33961         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
33962         (ccos_test_data): Update call to AUTO_TESTS_c_c.
33963         (ccosh_test_data): Likewise.
33964         (cexp_test_data): Likewise.
33965         (clog_test_data): Likewise.
33966         (clog10_test_data): Likewise.
33967         (cos_test_data): Update call to AUTO_TESTS_f_f.
33968         (cos_test): Use ALL_RM_TEST.
33969         (cos_tonearest_test_data): Remove.
33970         (cos_test_tonearest): Likewise.
33971         (cos_towardzero_test_data): Likewise.
33972         (cos_test_towardzero): Likewise.
33973         (cos_downward_test_data): Likewise.
33974         (cos_test_downward): Likewise.
33975         (cos_upward_test_data): Likewise.
33976         (cos_test_upward): Likewise.
33977         (cosh_test_data): Update call to AUTO_TESTS_f_f.
33978         (cosh_test): Use ALL_RM_TEST.
33979         (cosh_tonearest_test_data): Remove.
33980         (cosh_test_tonearest): Likewise.
33981         (cosh_towardzero_test_data): Likewise.
33982         (cosh_test_towardzero): Likewise.
33983         (cosh_downward_test_data): Likewise.
33984         (cosh_test_downward): Likewise.
33985         (cosh_upward_test_data): Likewise.
33986         (cosh_test_upward): Likewise.
33987         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
33988         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
33989         (ctan_test_data): Likewise.
33990         (ctan_test): Use ALL_RM_TEST.
33991         (ctan_tonearest_test_data): Remove.
33992         (ctan_test_tonearest): Likewise.
33993         (ctan_towardzero_test_data): Likewise.
33994         (ctan_test_towardzero): Likewise.
33995         (ctan_downward_test_data): Likewise.
33996         (ctan_test_downward): Likewise.
33997         (ctan_upward_test_data): Likewise.
33998         (ctan_test_upward): Likewise.
33999         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
34000         (ctanh_test): Use ALL_RM_TEST.
34001         (ctanh_tonearest_test_data): Remove.
34002         (ctanh_test_tonearest): Likewise.
34003         (ctanh_towardzero_test_data): Likewise.
34004         (ctanh_test_towardzero): Likewise.
34005         (ctanh_downward_test_data): Likewise.
34006         (ctanh_test_downward): Likewise.
34007         (ctanh_upward_test_data): Likewise.
34008         (ctanh_test_upward): Likewise.
34009         (erf_test_data): Update call to AUTO_TESTS_f_f.
34010         (erfc_test_data): Likewise.
34011         (exp_test_data): Likewise.
34012         (exp_test): Use ALL_RM_TEST.
34013         (exp_tonearest_test_data): Remove.
34014         (exp_test_tonearest): Likewise.
34015         (exp_towardzero_test_data): Likewise.
34016         (exp_test_towardzero): Likewise.
34017         (exp_downward_test_data): Likewise.
34018         (exp_test_downward): Likewise.
34019         (exp_upward_test_data): Likewise.
34020         (exp_test_upward): Likewise.
34021         (exp10_test_data): Update call to AUTO_TESTS_f_f.
34022         (exp10_test): Use ALL_RM_TEST.
34023         (exp10_tonearest_test_data): Remove.
34024         (exp10_test_tonearest): Likewise.
34025         (exp10_towardzero_test_data): Likewise.
34026         (exp10_test_towardzero): Likewise.
34027         (exp10_downward_test_data): Likewise.
34028         (exp10_test_downward): Likewise.
34029         (exp10_upward_test_data): Likewise.
34030         (exp10_test_upward): Likewise.
34031         (exp2_test_data): Update call to AUTO_TESTS_f_f.
34032         (expm1_test_data): Likewise.
34033         (expm1_test): Use ALL_RM_TEST.
34034         (expm1_tonearest_test_data): Remove.
34035         (expm1_test_tonearest): Likewise.
34036         (expm1_towardzero_test_data): Likewise.
34037         (expm1_test_towardzero): Likewise.
34038         (expm1_downward_test_data): Likewise.
34039         (expm1_test_downward): Likewise.
34040         (expm1_upward_test_data): Likewise.
34041         (expm1_test_upward): Likewise.
34042         (fma_test_data): Update call to AUTO_TESTS_fff_f.
34043         (fma_test): Use ALL_RM_TEST.
34044         (fma_towardzero_test_data): Remove.
34045         (fma_test_towardzero): Likewise.
34046         (fma_downward_test_data): Likewise.
34047         (fma_test_downward): Likewise.
34048         (fma_upward_test_data): Likewise.
34049         (fma_test_upward): Likewise.
34050         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
34051         (j0_test_data): Update call to AUTO_TESTS_f_f.
34052         (j1_test_data): Likewise.
34053         (jn_test_data): Update call to AUTO_TESTS_if_f.
34054         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
34055         (log_test_data): Update call to AUTO_TESTS_f_f.
34056         (log10_test_data): Likewise.
34057         (log1p_test_data): Likewise.
34058         (log2_test_data): Likewise.
34059         (pow_test_data): Update call to AUTO_TESTS_ff_f.
34060         (pow_tonearest_test_data): Likewise.
34061         (sin_test_data): Update call to AUTO_TESTS_f_f.
34062         (sin_test): Use ALL_RM_TEST.
34063         (sin_tonearest_test_data): Remove.
34064         (sin_test_tonearest): Likewise.
34065         (sin_towardzero_test_data): Likewise.
34066         (sin_test_towardzero): Likewise.
34067         (sin_downward_test_data): Likewise.
34068         (sin_test_downward): Likewise.
34069         (sin_upward_test_data): Likewise.
34070         (sin_test_upward): Likewise.
34071         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
34072         (sinh_test_data): Update call to AUTO_TESTS_f_f.
34073         (sinh_test): Use ALL_RM_TEST.
34074         (sinh_tonearest_test_data): Remove.
34075         (sinh_test_tonearest): Likewise.
34076         (sinh_towardzero_test_data): Likewise.
34077         (sinh_test_towardzero): Likewise.
34078         (sinh_downward_test_data): Likewise.
34079         (sinh_test_downward): Likewise.
34080         (sinh_upward_test_data): Likewise.
34081         (sinh_test_upward): Likewise.
34082         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
34083         (sqrt_test): Use ALL_RM_TEST.
34084         (sqrt_tonearest_test_data): Remove.
34085         (sqrt_test_tonearest): Likewise.
34086         (sqrt_towardzero_test_data): Likewise.
34087         (sqrt_test_towardzero): Likewise.
34088         (sqrt_downward_test_data): Likewise.
34089         (sqrt_test_downward): Likewise.
34090         (sqrt_upward_test_data): Likewise.
34091         (sqrt_test_upward): Likewise.
34092         (tan_test_data): Update call to AUTO_TESTS_f_f.
34093         (tan_test): Use ALL_RM_TEST.
34094         (tan_tonearest_test_data): Remove.
34095         (tan_test_tonearest): Likewise.
34096         (tan_towardzero_test_data): Likewise.
34097         (tan_test_towardzero): Likewise.
34098         (tan_downward_test_data): Likewise.
34099         (tan_test_downward): Likewise.
34100         (tan_upward_test_data): Likewise.
34101         (tan_test_upward): Likewise.
34102         (tanh_test_data): Update call to AUTO_TESTS_f_f.
34103         (tgamma_test_data): Likewise.
34104         (y0_test_data): Likewise.
34105         (y1_test_data): Likewise.
34106         (yn_test_data): Update call to AUTO_TESTS_if_f.
34107         (main): Do not call removed functions.
34109 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
34111         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
34112         (ldexp_test_data): Remove.
34113         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
34114         scalbn_test_data.
34115         (scalb_test): Use ALL_RM_TEST.
34117 2014-03-19  Andreas Schwab  <schwab@suse.de>
34119         * nscd/nscd.service: Also invalidate netgroup cache on reload.
34121 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
34123         [BZ #16649]
34124         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34125         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
34126         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
34127         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34128         (__ASSUME_PREADV): Undefine.
34129         (__ASSUME_PWRITEV): Likewise.
34131 2014-03-18  Roland McGrath  <roland@hack.frob.com>
34133         * bits/mman-linux.h: Add comment about non-Linux use.
34134         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
34135         bits/mman-linux.h resting place.
34137         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
34138         * bits/mman-linux.h: ... here.
34140 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34142         * conform/conformtest.pl: Add standard definition when calling C
34143         preprocessor on data files.
34144         (checknamespace): Remove unused variable.
34146 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
34148         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
34149         minus_oflow, plus_uflow and minus_uflow in expected results.
34150         * math/libm-test.inc (scalbn_test_data): Add more tests of
34151         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
34152         minus_uflow.
34153         (scalbn_test): Use ALL_RM_TEST.
34154         (scalbln_test_data): Add more tests of negative arguments.  Use
34155         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
34156         (scalbln_test): Use ALL_RM_TEST.
34158 2014-03-18  Roland McGrath  <roland@hack.frob.com>
34160         * scripts/abilist.awk: Ignore symbols marked with .hidden.
34162 2014-03-18  Will Newton  <will.newton@linaro.org>
34164         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
34165         inaccurate comment.
34167 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
34169         * Makerules [!subdir] (check-abi): Exit with error status if a
34170         test failed.
34172 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
34174         * math/libm-test.inc (nearbyint_test_data): Include all tests used
34175         for rint.  Include results for all rounding modes.
34176         (nearbyint_test): Use ALL_RM_TEST.
34177         (rint_test_data): Include all tests used for nearbyint.
34179 2014-03-17  Will Newton  <will.newton@linaro.org>
34181         * nptl/sysdeps/pthread/pthread.h: Revert previous
34182         change.
34184         * sysdeps/generic/ldsodefs.h: Revert previous
34185         change.
34187         * libio/genops.c: Revert previous change.
34188         * libio/libioP.h: Likewise.
34189         * stdio-common/vfprintf.c: Likewise.
34191         * sysdeps/generic/math_private.h: Revert previous
34192         change.
34194         * sysdeps/generic/math_private.h: Check whether
34195         HAVE_RM_CTX is defined with #ifdef rather
34196         than #if.
34198         * argp/argp-fmtstream.h: Check whether
34199         __STRICT_ANSI__ is defined with #ifdef rather
34200         than #if.
34201         * argp/argp.h: Likewise.
34203         * libio/genops.c: Check whether
34204         _IO_JUMPS_OFFSET is defined with #ifdef rather
34205         than #if.
34206         * libio/libioP.h: Likewise.
34207         * stdio-common/vfprintf.c: Likewise.
34209         * sysdeps/generic/ldsodefs.h: Check whether
34210         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
34211         than #if.
34213         * nptl/sysdeps/pthread/pthread.h: Check
34214         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
34215         its value.
34217 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34219         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
34220         setting O_APPEND.
34221         * libio/tst-ftell-active-handler.c (do_append_test): Add a
34222         test case.
34224         [BZ #16680]
34225         * libio/fileops.c (_IO_file_open): Seek to end of file but
34226         don't cache the offset.
34227         (get_file_offset): Remove function.
34228         (do_ftell): Use cached offset when available.
34229         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
34230         don't cache the offset.
34231         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
34232         case.
34233         (do_one_test): Call it.
34234         (do_ftell_test): Fix up expected old offset for a+ mode.
34235         * libio/wfileops.c (do_ftell_wide): Used cached offset when
34236         available.
34238         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
34239         up test status with function return status.
34240         (do_write_test): Likewise.
34241         (do_append_test): Likewise.
34243         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
34244         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
34245         Remove.
34247 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
34249         * math/gen-libm-test.pl (parse_args): Handle results specified for
34250         each rounding mode separately.
34251         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
34252         tests and results from lrint_tonearest_test_data,
34253         lrint_towardzero_test_data, lrint_downward_test_data and
34254         lrint_upward_test_data.
34255         (lrint_test): Use ALL_RM_TEST.
34256         (lrint_tonearest_test_data): Remove.
34257         (lrint_test_tonearest): Likewise.
34258         (lrint_towardzero_test_data): Likewise.
34259         (lrint_test_towardzero): Likewise.
34260         (lrint_downward_test_data): Likewise.
34261         (lrint_test_downward): Likewise.
34262         (lrint_upward_test_data): Likewise.
34263         (lrint_test_upward): Likewise.
34264         (llrint_test_data): Merge in per-rounding-mode tests and results
34265         from llrint_tonearest_test_data, llrint_towardzero_test_data,
34266         llrint_downward_test_data and llrint_upward_test_data.
34267         (llrint_test): Use ALL_RM_TEST.
34268         (llrint_tonearest_test_data): Remove.
34269         (llrint_test_tonearest): Likewise.
34270         (llrint_towardzero_test_data): Likewise.
34271         (llrint_test_towardzero): Likewise.
34272         (llrint_downward_test_data): Likewise.
34273         (llrint_test_downward): Likewise.
34274         (llrint_upward_test_data): Likewise.
34275         (llrint_test_upward): Likewise.
34276         (rint_test_data): Merge in per-rounding-mode tests and results
34277         from rint_tonearest_test_data, rint_towardzero_test_data,
34278         rint_downward_test_data and rint_upward_test_data.  Add
34279         per-rounding-mode results for tests not in those arrays.
34280         (rint_test): Use ALL_RM_TEST.
34281         (rint_tonearest_test_data): Remove.
34282         (rint_test_tonearest): Likewise.
34283         (rint_towardzero_test_data): Likewise.
34284         (rint_test_towardzero): Likewise.
34285         (rint_downward_test_data): Likewise.
34286         (rint_test_downward): Likewise.
34287         (rint_upward_test_data): Likewise.
34288         (rint_test_upward): Likewise.
34289         (main): Don't call removed functions.
34291 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34293         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
34294         "Compiled on ..." crapola.  It is anti-useful.
34296 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
34298         * scripts/evaluate-test.sh: Handle fourth argument to determine
34299         whether test run should stop on failure.
34300         * Makeconfig (stop-on-test-failure): New variable.
34301         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
34302         $(stop-on-test-failure).
34303         * Makefile (tests): Give a summary of results from testing and
34304         exit with failure status if they include an ERROR or FAIL.
34305         (xtests): Likewise.
34306         * manual/install.texi (Configuring and compiling): Mention
34307         stop-on-test-failure=y.
34308         * INSTALL: Regenerated.
34310 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34312         * scripts/versionlist.awk: New file.
34313         * Makerules [$(build-shared) = yes]
34314         (postclean-generated): Add Versions.def, not Versions.def.v and
34315         Versions.def.v.i.
34316         ($(common-objpfx)Versions.def.v.i): Target removed.
34317         ($(common-objpfx)Versions.def): New target.
34318         ($(common-objpfx)Versions.all): Depend on that rather that
34319         $(common-objpfx)Versions.def.v.
34320         * Versions.def: File removed.
34322         * Makeconfig (+gccwarn): Add -Wundef.
34323         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
34324         a dl-sysdep.h breaking its contract.
34325         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
34326         * include/stackinfo.h: New file.
34327         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
34328         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
34329         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
34330         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
34331         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
34332         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
34333         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34334         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34335         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34336         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34337         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34338         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
34339         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34340         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34341         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34343 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34345         [BZ #16707]
34346         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
34347         implementation.
34348         * math/libm-test.inc (round_test_data): Add more tests.
34350         [BZ #16706]
34351         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
34352         implementation.
34353         * math/libm-test.inc (nearbyint_test_data): Add more tests.
34355         [BZ #16701]
34356         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
34357         implementation.
34358         * math/libm-test.inc (ceil_test_data): Add more tests.
34360         * math/libm-test.inc (trunc_test_data): Add more tests related to
34361         BZ#16414.
34363 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34365         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
34366         with #if rather than #ifdef.
34367         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
34369 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
34371         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
34372         first.  Disable AVX-512 GCC support if assembler doesn't support
34373         it.
34374         * sysdeps/x86_64/configure: Regenerated.
34376 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
34378         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
34379         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
34380         (__old_pthread_attr_setstack): Likewise.
34381         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
34382         [!_STACK_GROWS_DOWN]: Likewise.
34384 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
34386         * config.make.in (have-bash2): Delete.
34387         * configure.ac (libc_cv_have_bash2): Delete.
34388         * configure: Regenerate.
34389         * elf/Makefile (common-ldd-rewrite): Rename to ...
34390         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
34391         (sh-ldd-rewrite): Delete.
34392         (bash-ldd-rewrite): Delete.
34393         (have-bash2): Delete checks.
34394         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
34395         ldd-rewrite.
34397         * config.make.in (have-ksh): Delete.
34398         (KSH): Delete.
34399         * configure.ac (libc_cv_have_ksh): Delete.
34400         * configure: Regenerate.
34402         * elf/Makefile: Delete $(have-ksh) check.
34403         ($(objpfx)sotruss): Change KSH to BASH.
34404         * elf/sotruss.ksh: Rename to ...
34405         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
34406         function style to match POSIX.  Drop ksh vim mode setting.
34408         * manual/time.texi (Specifying the Time Zone with TZ): Change
34409         Tuesday to Thursday.
34411         * debug/tst-longjmp_chk2.c: Update header comment.
34412         (stackoverflow_handler): Add comment.  Call assert on pass value.
34414 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
34416         [BZ #16194]
34417         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
34418         (HAVE_AVX512_ASM_SUPPORT): Likewise.
34419         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
34420         (La_x86_64_vector): Add zmm.
34421         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
34422         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
34423         ($(objpfx)tst-audit10): New target.
34424         ($(objpfx)tst-audit10.out): Likewise.
34425         (tst-audit10-ENV): New.
34426         (AVX512-CFLAGS): Likewise.
34427         (CFLAGS-tst-audit10.c): Likewise.
34428         (CFLAGS-tst-auditmod10a.c): Likewise.
34429         (CFLAGS-tst-auditmod10b.c): Likewise.
34430         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
34431         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
34432         * sysdeps/x86_64/configure: Regenerated.
34433         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
34434         AVX-512 zmm register support.
34435         (_dl_x86_64_save_sse): Likewise.
34436         (_dl_x86_64_restore_sse): Likewise.
34437         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
34438         size vector registers.
34439         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
34440         (ZMM_SIZE): Likewise.
34441         * sysdeps/x86_64/tst-audit10.c: New file.
34442         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
34443         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
34445 2014-03-13  Roland McGrath  <roland@hack.frob.com>
34447         * configure.ac (HAVE_EHDR_START): New check.
34448         * configure: Regenerated.
34449         * config.h.in (HAVE_EHDR_START): New #undef.
34450         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
34451         assuming the lowest-addressed segment maps the start of the file.
34453 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
34455         * INSTALL: Regenerated.
34457 2014-03-13  Will Newton  <will.newton@linaro.org>
34459         * manual/setjmp.texi (System V contexts): Improve
34460         clarity and grammar of documentation.
34462 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
34464         [BZ #16381]
34465         * elf/Makefile (tests): Add tst-pie2.
34466         (tests-pie): Add tst-pie2.
34467         * elf/tst-pie2.c: New file.
34468         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
34469         for ET_EXEC.
34470         * elf/rtld.c (map_doit): Load executable as lt_executable.
34471         (dl_main): Likewise.
34473 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
34475         [BZ #16642]
34476         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34477         (__ASSUME_PSELECT): Undefine.
34479 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34481         [BZ #16689]
34482         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
34483         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
34484         static build.
34485         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
34486         selector for static builds.
34488 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34490         [BZ #16695]
34491         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
34492         key in the buffer.
34494 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34496         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
34497         IFUNC selector for static builds.
34499 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
34501         * sysdeps/mips/math_private.h [__mips_hard_float]
34502         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
34503         libc_feresetround_mips_ctx.
34504         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
34505         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
34506         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
34508         [BZ #16677]
34509         * math/s_nextafter.c (__nextafter): Do not return value from
34510         overflowing computation.
34511         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34512         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
34513         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34514         Likewise.
34515         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
34516         Likewise.
34517         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34518         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
34520 2014-03-11  Roland McGrath  <roland@hack.frob.com>
34522         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
34523         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
34524         Move sfi_sp use from the load-multiple (that no longer sets sp) to
34525         the new mov targetting sp.
34527 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34529         [BZ #16683]
34530         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
34531         Define it for static builds as well.
34532         (NO_BZERO_IMPL): Likewise.
34534 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34536         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
34537         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
34538         multiarch strspn for PPC64.
34539         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
34540         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
34541         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34542         (__libc_ifunc_impl_list): Likewise.
34543         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
34544         multiarch optimizations
34545         * string/strspn.c (strspn): Using macro to redefine symbol name.
34547 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34548             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34550         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
34551         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
34552         multiarch strncat for PPC64.
34553         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
34554         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
34555         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34556         (__libc_ifunc_impl_list): Likewise.
34557         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
34558         multiarch optimizations
34560 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34562         [BZ #16639]
34563         * nscd/nscd.service: Make service type forking.
34565 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34567         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
34568         sign in non default rounding modes.
34569         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
34571 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
34573         * math/libm-test.inc (ALL_RM_TEST): New macro.
34574         (ceil_test): Use ALL_RM_TEST.
34575         (cimag_test): Likewise.
34576         (conj_test): Likewise.
34577         (copysign_test): Likewise.
34578         (cproj_test): Likewise.
34579         (creal_test): Likewise.
34580         (fabs_test): Likewise.
34581         (floor_test): Likewise.
34582         (fmax_test): Likewise.
34583         (fmin_test): Likewise.
34584         (fmod_test): Likewise.
34585         (fpclassify_test): Likewise.
34586         (frexp_test): Likewise.
34587         (ilogb_test): Likewise.
34588         (isfinite_test): Likewise.
34589         (finite_test): Likewise.
34590         (isgreater_test): Likewise.
34591         (isgreaterequal_test): Likewise.
34592         (isinf_test): Likewise.
34593         (isless_test): Likewise.
34594         (islessequal_test): Likewise.
34595         (islessgreater_test): Likewise.
34596         (isnan_test): Likewise.
34597         (isnormal_test): Likewise.
34598         (issignaling_test): Likewise.
34599         (isunordered_test): Likewise.
34600         (logb_test): Likewise.
34601         (logb_downward_test_data): Remove.
34602         (logb_test_downward): Likewise.
34603         (lround_test): Use ALL_RM_TEST.
34604         (llround_test): Likewise.
34605         (modf_test): Likewise.
34606         (nexttoward_test): Likewise.
34607         (remainder_test): Likewise.
34608         (drem_test): Likewise.
34609         (remainder_tonearest_test_data): Likewise.
34610         (remainder_test_tonearest): Likewise.
34611         (drem_test_tonearest): Likewise.
34612         (remainder_towardzero_test_data): Likewise.
34613         (remainder_test_towardzero): Likewise.
34614         (drem_test_towardzero): Likewise.
34615         (remainder_downward_test_data): Likewise.
34616         (remainder_test_downward): Likewise.
34617         (drem_test_downward): Likewise.
34618         (remainder_upward_test_data): Likewise.
34619         (remainder_test_upward): Likewise.
34620         (drem_test_upward): Likewise.
34621         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
34622         (round_test): Use ALL_RM_TEST.
34623         (signbit_test): Likewise.
34624         (trunc_test): Likewise.
34625         (significand_test): Likewise.
34626         (main): Don't call removed functions.
34628 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
34630         [BZ #16674]
34631         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
34632         || __USE_XOPEN2K8].
34633         (ILL_ILLOPN): Likewise.
34634         (ILL_ILLADR): Likewise.
34635         (ILL_ILLTRP): Likewise.
34636         (ILL_PRVOPC): Likewise.
34637         (ILL_PRVREG): Likewise.
34638         (ILL_COPROC): Likewise.
34639         (ILL_BADSTK): Likewise.
34640         (FPE_INTDIV): Likewise.
34641         (FPE_INTOVF): Likewise.
34642         (FPE_FLTDIV): Likewise.
34643         (FPE_FLTOVF): Likewise.
34644         (FPE_FLTUND): Likewise.
34645         (FPE_FLTRES): Likewise.
34646         (FPE_FLTINV): Likewise.
34647         (FPE_FLTSUB): Likewise.
34648         (SEGV_MAPERR): Likewise.
34649         (SEGV_ACCERR): Likewise.
34650         (BUS_ADRALN): Likewise.
34651         (BUS_ADRERR): Likewise.
34652         (BUS_OBJERR): Likewise.
34653         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34654         (TRAP_TRACE): Likewise.
34655         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34656         __USE_XOPEN2K8].
34657         (CLD_KILLED): Likewise.
34658         (CLD_DUMPED): Likewise.
34659         (CLD_TRAPPED): Likewise.
34660         (CLD_STOPPED): Likewise.
34661         (CLD_CONTINUED): Likewise.
34662         (POLL_IN): Likewise.
34663         (POLL_OUT): Likewise.
34664         (POLL_MSG): Likewise.
34665         (POLL_ERR): Likewise.
34666         (POLL_PRI): Likewise.
34667         (POLL_HUP): Likewise.
34668         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
34669         Likewise.
34670         (ILL_ILLOPN): Likewise.
34671         (ILL_ILLADR): Likewise.
34672         (ILL_ILLTRP): Likewise.
34673         (ILL_PRVOPC): Likewise.
34674         (ILL_PRVREG): Likewise.
34675         (ILL_COPROC): Likewise.
34676         (ILL_BADSTK): Likewise.
34677         (FPE_INTDIV): Likewise.
34678         (FPE_INTOVF): Likewise.
34679         (FPE_FLTDIV): Likewise.
34680         (FPE_FLTOVF): Likewise.
34681         (FPE_FLTUND): Likewise.
34682         (FPE_FLTRES): Likewise.
34683         (FPE_FLTINV): Likewise.
34684         (FPE_FLTSUB): Likewise.
34685         (SEGV_MAPERR): Likewise.
34686         (SEGV_ACCERR): Likewise.
34687         (BUS_ADRALN): Likewise.
34688         (BUS_ADRERR): Likewise.
34689         (BUS_OBJERR): Likewise.
34690         (BUS_MCEERR_AR): Likewise.
34691         (BUS_MCEERR_AO): Likewise.
34692         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34693         (TRAP_TRACE): Likewise.
34694         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34695         __USE_XOPEN2K8].
34696         (CLD_KILLED): Likewise.
34697         (CLD_DUMPED): Likewise.
34698         (CLD_TRAPPED): Likewise.
34699         (CLD_STOPPED): Likewise.
34700         (CLD_CONTINUED): Likewise.
34701         (POLL_IN): Likewise.
34702         (POLL_OUT): Likewise.
34703         (POLL_MSG): Likewise.
34704         (POLL_ERR): Likewise.
34705         (POLL_PRI): Likewise.
34706         (POLL_HUP): Likewise.
34707         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
34708         (ILL_ILLOPN): Likewise.
34709         (ILL_ILLADR): Likewise.
34710         (ILL_ILLTRP): Likewise.
34711         (ILL_PRVOPC): Likewise.
34712         (ILL_PRVREG): Likewise.
34713         (ILL_COPROC): Likewise.
34714         (ILL_BADSTK): Likewise.
34715         (FPE_INTDIV): Likewise.
34716         (FPE_INTOVF): Likewise.
34717         (FPE_FLTDIV): Likewise.
34718         (FPE_FLTOVF): Likewise.
34719         (FPE_FLTUND): Likewise.
34720         (FPE_FLTRES): Likewise.
34721         (FPE_FLTINV): Likewise.
34722         (FPE_FLTSUB): Likewise.
34723         (SEGV_MAPERR): Likewise.
34724         (SEGV_ACCERR): Likewise.
34725         (BUS_ADRALN): Likewise.
34726         (BUS_ADRERR): Likewise.
34727         (BUS_OBJERR): Likewise.
34728         (BUS_MCEERR_AR): Likewise.
34729         (BUS_MCEERR_AO): Likewise.
34730         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34731         (TRAP_TRACE): Likewise.
34732         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34733         __USE_XOPEN2K8].
34734         (CLD_KILLED): Likewise.
34735         (CLD_DUMPED): Likewise.
34736         (CLD_TRAPPED): Likewise.
34737         (CLD_STOPPED): Likewise.
34738         (CLD_CONTINUED): Likewise.
34739         (POLL_IN): Likewise.
34740         (POLL_OUT): Likewise.
34741         (POLL_MSG): Likewise.
34742         (POLL_ERR): Likewise.
34743         (POLL_PRI): Likewise.
34744         (POLL_HUP): Likewise.
34745         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
34746         Likewise.
34747         (ILL_ILLOPN): Likewise.
34748         (ILL_ILLADR): Likewise.
34749         (ILL_ILLTRP): Likewise.
34750         (ILL_PRVOPC): Likewise.
34751         (ILL_PRVREG): Likewise.
34752         (ILL_COPROC): Likewise.
34753         (ILL_BADSTK): Likewise.
34754         (ILL_BADIADDR): Likewise.
34755         (ILL_BREAK): Likewise.
34756         (FPE_INTDIV): Likewise.
34757         (FPE_INTOVF): Likewise.
34758         (FPE_FLTDIV): Likewise.
34759         (FPE_FLTOVF): Likewise.
34760         (FPE_FLTUND): Likewise.
34761         (FPE_FLTRES): Likewise.
34762         (FPE_FLTINV): Likewise.
34763         (FPE_FLTSUB): Likewise.
34764         (FPE_DECOVF): Likewise.
34765         (FPE_DECDIV): Likewise.
34766         (FPE_DECERR): Likewise.
34767         (FPE_INVASC): Likewise.
34768         (FPE_INVDEC): Likewise.
34769         (SEGV_MAPERR): Likewise.
34770         (SEGV_ACCERR): Likewise.
34771         (SEGV_PSTKOVF): Likewise.
34772         (BUS_ADRALN): Likewise.
34773         (BUS_ADRERR): Likewise.
34774         (BUS_OBJERR): Likewise.
34775         (BUS_MCEERR_AR): Likewise.
34776         (BUS_MCEERR_AO): Likewise.
34777         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34778         (TRAP_TRACE): Likewise.
34779         (TRAP_BRANCH): Likewise.
34780         (TRAP_HWBKPT): Likewise.
34781         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34782         __USE_XOPEN2K8].
34783         (CLD_KILLED): Likewise.
34784         (CLD_DUMPED): Likewise.
34785         (CLD_TRAPPED): Likewise.
34786         (CLD_STOPPED): Likewise.
34787         (CLD_CONTINUED): Likewise.
34788         (POLL_IN): Likewise.
34789         (POLL_OUT): Likewise.
34790         (POLL_MSG): Likewise.
34791         (POLL_ERR): Likewise.
34792         (POLL_PRI): Likewise.
34793         (POLL_HUP): Likewise.
34794         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
34795         (ILL_ILLOPN): Likewise.
34796         (ILL_ILLADR): Likewise.
34797         (ILL_ILLTRP): Likewise.
34798         (ILL_PRVOPC): Likewise.
34799         (ILL_PRVREG): Likewise.
34800         (ILL_COPROC): Likewise.
34801         (ILL_BADSTK): Likewise.
34802         (FPE_INTDIV): Likewise.
34803         (FPE_INTOVF): Likewise.
34804         (FPE_FLTDIV): Likewise.
34805         (FPE_FLTOVF): Likewise.
34806         (FPE_FLTUND): Likewise.
34807         (FPE_FLTRES): Likewise.
34808         (FPE_FLTINV): Likewise.
34809         (FPE_FLTSUB): Likewise.
34810         (SEGV_MAPERR): Likewise.
34811         (SEGV_ACCERR): Likewise.
34812         (BUS_ADRALN): Likewise.
34813         (BUS_ADRERR): Likewise.
34814         (BUS_OBJERR): Likewise.
34815         (BUS_MCEERR_AR): Likewise.
34816         (BUS_MCEERR_AO): Likewise.
34817         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34818         (TRAP_TRACE): Likewise.
34819         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34820         __USE_XOPEN2K8].
34821         (CLD_KILLED): Likewise.
34822         (CLD_DUMPED): Likewise.
34823         (CLD_TRAPPED): Likewise.
34824         (CLD_STOPPED): Likewise.
34825         (CLD_CONTINUED): Likewise.
34826         (POLL_IN): Likewise.
34827         (POLL_OUT): Likewise.
34828         (POLL_MSG): Likewise.
34829         (POLL_ERR): Likewise.
34830         (POLL_PRI): Likewise.
34831         (POLL_HUP): Likewise.
34832         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
34833         (ILL_ILLOPN): Likewise.
34834         (ILL_ILLADR): Likewise.
34835         (ILL_ILLTRP): Likewise.
34836         (ILL_PRVOPC): Likewise.
34837         (ILL_PRVREG): Likewise.
34838         (ILL_COPROC): Likewise.
34839         (ILL_BADSTK): Likewise.
34840         (FPE_INTDIV): Likewise.
34841         (FPE_INTOVF): Likewise.
34842         (FPE_FLTDIV): Likewise.
34843         (FPE_FLTOVF): Likewise.
34844         (FPE_FLTUND): Likewise.
34845         (FPE_FLTRES): Likewise.
34846         (FPE_FLTINV): Likewise.
34847         (FPE_FLTSUB): Likewise.
34848         (SEGV_MAPERR): Likewise.
34849         (SEGV_ACCERR): Likewise.
34850         (BUS_ADRALN): Likewise.
34851         (BUS_ADRERR): Likewise.
34852         (BUS_OBJERR): Likewise.
34853         (BUS_MCEERR_AR): Likewise.
34854         (BUS_MCEERR_AO): Likewise.
34855         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34856         (TRAP_TRACE): Likewise.
34857         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34858         __USE_XOPEN2K8].
34859         (CLD_KILLED): Likewise.
34860         (CLD_DUMPED): Likewise.
34861         (CLD_TRAPPED): Likewise.
34862         (CLD_STOPPED): Likewise.
34863         (CLD_CONTINUED): Likewise.
34864         (POLL_IN): Likewise.
34865         (POLL_OUT): Likewise.
34866         (POLL_MSG): Likewise.
34867         (POLL_ERR): Likewise.
34868         (POLL_PRI): Likewise.
34869         (POLL_HUP): Likewise.
34870         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
34871         (ILL_ILLOPN): Likewise.
34872         (ILL_ILLADR): Likewise.
34873         (ILL_ILLTRP): Likewise.
34874         (ILL_PRVOPC): Likewise.
34875         (ILL_PRVREG): Likewise.
34876         (ILL_COPROC): Likewise.
34877         (ILL_BADSTK): Likewise.
34878         (FPE_INTDIV): Likewise.
34879         (FPE_INTOVF): Likewise.
34880         (FPE_FLTDIV): Likewise.
34881         (FPE_FLTOVF): Likewise.
34882         (FPE_FLTUND): Likewise.
34883         (FPE_FLTRES): Likewise.
34884         (FPE_FLTINV): Likewise.
34885         (FPE_FLTSUB): Likewise.
34886         (SEGV_MAPERR): Likewise.
34887         (SEGV_ACCERR): Likewise.
34888         (BUS_ADRALN): Likewise.
34889         (BUS_ADRERR): Likewise.
34890         (BUS_OBJERR): Likewise.
34891         (BUS_MCEERR_AR): Likewise.
34892         (BUS_MCEERR_AO): Likewise.
34893         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34894         (TRAP_TRACE): Likewise.
34895         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34896         __USE_XOPEN2K8].
34897         (CLD_KILLED): Likewise.
34898         (CLD_DUMPED): Likewise.
34899         (CLD_TRAPPED): Likewise.
34900         (CLD_STOPPED): Likewise.
34901         (CLD_CONTINUED): Likewise.
34902         (POLL_IN): Likewise.
34903         (POLL_OUT): Likewise.
34904         (POLL_MSG): Likewise.
34905         (POLL_ERR): Likewise.
34906         (POLL_PRI): Likewise.
34907         (POLL_HUP): Likewise.
34908         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
34909         (ILL_ILLOPN): Likewise.
34910         (ILL_ILLADR): Likewise.
34911         (ILL_ILLTRP): Likewise.
34912         (ILL_PRVOPC): Likewise.
34913         (ILL_PRVREG): Likewise.
34914         (ILL_COPROC): Likewise.
34915         (ILL_BADSTK): Likewise.
34916         (ILL_DBLFLT): Likewise.
34917         (ILL_HARDWALL): Likewise.
34918         (FPE_INTDIV): Likewise.
34919         (FPE_INTOVF): Likewise.
34920         (FPE_FLTDIV): Likewise.
34921         (FPE_FLTOVF): Likewise.
34922         (FPE_FLTUND): Likewise.
34923         (FPE_FLTRES): Likewise.
34924         (FPE_FLTINV): Likewise.
34925         (FPE_FLTSUB): Likewise.
34926         (SEGV_MAPERR): Likewise.
34927         (SEGV_ACCERR): Likewise.
34928         (BUS_ADRALN): Likewise.
34929         (BUS_ADRERR): Likewise.
34930         (BUS_OBJERR): Likewise.
34931         (BUS_MCEERR_AR): Likewise.
34932         (BUS_MCEERR_AO): Likewise.
34933         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34934         (TRAP_TRACE): Likewise.
34935         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34936         __USE_XOPEN2K8].
34937         (CLD_KILLED): Likewise.
34938         (CLD_DUMPED): Likewise.
34939         (CLD_TRAPPED): Likewise.
34940         (CLD_STOPPED): Likewise.
34941         (CLD_CONTINUED): Likewise.
34942         (POLL_IN): Likewise.
34943         (POLL_OUT): Likewise.
34944         (POLL_MSG): Likewise.
34945         (POLL_ERR): Likewise.
34946         (POLL_PRI): Likewise.
34947         (POLL_HUP): Likewise.
34948         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
34949         (ILL_ILLOPN): Likewise.
34950         (ILL_ILLADR): Likewise.
34951         (ILL_ILLTRP): Likewise.
34952         (ILL_PRVOPC): Likewise.
34953         (ILL_PRVREG): Likewise.
34954         (ILL_COPROC): Likewise.
34955         (ILL_BADSTK): Likewise.
34956         (FPE_INTDIV): Likewise.
34957         (FPE_INTOVF): Likewise.
34958         (FPE_FLTDIV): Likewise.
34959         (FPE_FLTOVF): Likewise.
34960         (FPE_FLTUND): Likewise.
34961         (FPE_FLTRES): Likewise.
34962         (FPE_FLTINV): Likewise.
34963         (FPE_FLTSUB): Likewise.
34964         (SEGV_MAPERR): Likewise.
34965         (SEGV_ACCERR): Likewise.
34966         (BUS_ADRALN): Likewise.
34967         (BUS_ADRERR): Likewise.
34968         (BUS_OBJERR): Likewise.
34969         (BUS_MCEERR_AR): Likewise.
34970         (BUS_MCEERR_AO): Likewise.
34971         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34972         (TRAP_TRACE): Likewise.
34973         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34974         __USE_XOPEN2K8].
34975         (CLD_KILLED): Likewise.
34976         (CLD_DUMPED): Likewise.
34977         (CLD_TRAPPED): Likewise.
34978         (CLD_STOPPED): Likewise.
34979         (CLD_CONTINUED): Likewise.
34980         (POLL_IN): Likewise.
34981         (POLL_OUT): Likewise.
34982         (POLL_MSG): Likewise.
34983         (POLL_ERR): Likewise.
34984         (POLL_PRI): Likewise.
34985         (POLL_HUP): Likewise.
34986         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
34987         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
34989         [BZ #16670]
34990         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
34991         before #include of <time.h>.
34992         [!__USE_XOPEN2K] (__need_timespec): Likewise.
34993         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
34994         (test-xfail-UNIX98/sched.h/conform): Likewise.
34996 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34998         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
34999         error absence of trapping exception support.
35000         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
35002 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
35004         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
35005         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
35006         * timezone/Makefile (testdata): Move definition above include of
35007         Rules.
35008         (test-zones): New variable.
35009         (tests-special): Add zone files.
35010         (build-testdata): Use $(evaluate-test).
35012         * elf/Makefile (tests-special): Rename tests to end with .out.
35013         ($(objpfx)noload-mem): Likewise.
35014         ($(objpfx)tst-leaks1-mem): Likewise.
35015         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
35016         * iconv/Makefile (xtests-special): Change test-iconvconfig to
35017         $(objpfx)test-iconvconfig.out.
35018         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
35019         set -e inside subshell and redirect output to file.
35020         * iconvdata/Makefile (generated): Rename tests to end with .out.
35021         Correct type.
35022         (tests-special): Rename tests to end with .out.
35023         ($(objpfx)mtrace-tst-loading): Likewise.
35024         * intl/Makefile (generated): Likewise.
35025         (tests-special): Likewise.
35026         ($(objpfx)mtrace-tst-gettext): Likewise.
35027         * misc/Makefile (generated): Likewise.
35028         (tests-special): Likewise.
35029         ($(objpfx)tst-error1-mem): Likewise.
35030         * nptl/Makefile (tests-special): Likewise.
35031         ($(objpfx)tst-stack3-mem): Likewise.
35032         (generated): Likewise.
35033         * posix/Makefile (generated): Likewise.
35034         (tests-special): Likewise.
35035         (xtests-special): Likewise.
35036         ($(objpfx)tst-fnmatch-mem): Likewise.
35037         ($(objpfx)bug-regex2-mem): Likewise.
35038         ($(objpfx)bug-regex14-mem): Likewise.
35039         ($(objpfx)bug-regex21-mem): Likewise.
35040         ($(objpfx)bug-regex31-mem): Likewise.
35041         ($(objpfx)tst-vfork3-mem): Likewise.
35042         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
35043         ($(objpfx)tst-pcre-mem): Likewise.
35044         ($(objpfx)tst-boost-mem): Likewise.
35045         ($(objpfx)bug-ga2-mem): Likewise.
35046         ($(objpfx)bug-glob2-mem): Likewise.
35047         * resolv/Makefile (generate): Likewise.
35048         (tests-special): Likewise.
35049         (xtests-special): Likewise.
35050         (generated): Likewise.
35051         ($(objpfx)mtrace-tst-leaks): Likewise.
35052         ($(objpfx)mtrace-tst-leaks2): Likewise.
35054         * scripts/merge-test-results.sh: New file.
35055         * Makefile (tests-special-notdir): New variable.
35056         (tests): Run merge-test-results.sh.
35057         (xtests): Likewise.
35058         * Rules (tests-special-notdir): New variable.
35059         (xtests-special-notdir): Likewise.
35060         (tests): Run merge-test-results.sh
35061         (xtests): Likewise.
35063         * Makeconfig (test-xfail-name): New variable.
35064         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
35065         compute variable name for expected failures.
35066         * conform/Makefile (conformtest-headers-data): New variable.
35067         (conformtest-standards): Likewise.
35068         (conformtest-headers-ISO): Likewise.
35069         (conformtest-headers-ISO99): Likewise.
35070         (conformtest-headers-ISO11): Likewise.
35071         (conformtest-headers-POSIX): Likewise.
35072         (conformtest-headers-XPG3): Likewise.
35073         (conformtest-headers-XPG4): Likewise.
35074         (conformtest-headers-UNIX98): Likewise.
35075         (conformtest-headers-XOPEN2K): Likewise.
35076         (conformtest-headers-POSIX2008): Likewise.
35077         (conformtest-headers-XOPEN2K8): Likewise.
35078         (conformtest-header-list-base): Likewise.
35079         (conformtest-header-list-tests): Likewise.
35080         (conformtest-header-base): Likewise.
35081         (conformtest-header-tests): Likewise.
35082         (tests-special): Add $(conformtest-header-list-tests).  If
35083         [$(fast-check) && !$(cross-compiling)], add
35084         $(conformtest-header-tests) instead of
35085         $(objpfx)run-conformtest.out.
35086         (generated): Add $(conformtest-header-list-base).  If
35087         [$(fast-check) && !$(cross-compiling)], add
35088         $(conformtest-header-base).  Remove previous setting.
35089         ($(conformtest-header-list-tests)): New target.
35090         (test-xfail-run-conformtest): Remove variable.
35091         ($(objpfx)run-conformtest.out): Remove target.
35092         (test-xfail-ISO11/complex.h/conform): New variable.
35093         (test-xfail-ISO11/stdalign.h/conform): Likewise.
35094         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
35095         (test-xfail-XPG3/varargs.h/conform): Likewise.
35096         (test-xfail-XPG4/varargs.h/conform): Likewise.
35097         (test-xfail-UNIX98/varargs.h/conform): Likewise.
35098         (test-xfail-XPG4/ndbm.h/conform): Likewise.
35099         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
35100         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
35101         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
35102         (test-xfail-XPG3/fcntl.h/conform): Likewise.
35103         (test-xfail-XPG3/ftw.h/conform): Likewise.
35104         (test-xfail-XPG3/grp.h/conform): Likewise.
35105         (test-xfail-XPG3/langinfo.h/conform): Likewise.
35106         (test-xfail-XPG3/limits.h/conform): Likewise.
35107         (test-xfail-XPG3/pwd.h/conform): Likewise.
35108         (test-xfail-XPG3/search.h/conform): Likewise.
35109         (test-xfail-XPG3/signal.h/conform): Likewise.
35110         (test-xfail-XPG3/stdio.h/conform): Likewise.
35111         (test-xfail-XPG3/stdlib.h/conform): Likewise.
35112         (test-xfail-XPG3/string.h/conform): Likewise.
35113         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
35114         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
35115         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35116         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35117         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
35118         (test-xfail-XPG3/sys/types.h/conform): Likewise.
35119         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
35120         (test-xfail-XPG3/termios.h/conform): Likewise.
35121         (test-xfail-XPG3/time.h/conform): Likewise.
35122         (test-xfail-XPG3/unistd.h/conform): Likewise.
35123         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
35124         (test-xfail-XPG4/fcntl.h/conform): Likewise.
35125         (test-xfail-XPG4/langinfo.h/conform): Likewise.
35126         (test-xfail-XPG4/netdb.h/conform): Likewise.
35127         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
35128         (test-xfail-XPG4/signal.h/conform): Likewise.
35129         (test-xfail-XPG4/stdio.h/conform): Likewise.
35130         (test-xfail-XPG4/stdlib.h/conform): Likewise.
35131         (test-xfail-XPG4/stropts.h/conform): Likewise.
35132         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35133         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35134         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35135         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35136         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35137         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
35138         (test-xfail-XPG4/sys/time.h/conform): Likewise.
35139         (test-xfail-XPG4/sys/types.h/conform): Likewise.
35140         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
35141         (test-xfail-XPG4/termios.h/conform): Likewise.
35142         (test-xfail-XPG4/ucontext.h/conform): Likewise.
35143         (test-xfail-XPG4/unistd.h/conform): Likewise.
35144         (test-xfail-XPG4/utmpx.h/conform): Likewise.
35145         (test-xfail-POSIX/sched.h/conform): Likewise.
35146         (test-xfail-POSIX/signal.h/conform): Likewise.
35147         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
35148         (test-xfail-POSIX/tar.h/conform): Likewise.
35149         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
35150         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
35151         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
35152         (test-xfail-UNIX98/netdb.h/conform): Likewise.
35153         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
35154         (test-xfail-UNIX98/sched.h/conform): Likewise.
35155         (test-xfail-UNIX98/signal.h/conform): Likewise.
35156         (test-xfail-UNIX98/stdio.h/conform): Likewise.
35157         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
35158         (test-xfail-UNIX98/stropts.h/conform): Likewise.
35159         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35160         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35161         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35162         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35163         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35164         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
35165         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35166         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35167         (test-xfail-UNIX98/unistd.h/conform): Likewise.
35168         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
35169         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
35170         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
35171         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
35172         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
35173         (test-xfail-XOPEN2K/math.h/conform): Likewise.
35174         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
35175         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35176         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35177         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
35178         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35179         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
35180         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
35181         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35182         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35183         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35184         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35185         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35186         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35187         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35188         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
35189         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
35190         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35191         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35192         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
35193         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35194         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
35195         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
35196         (test-xfail-POSIX2008/signal.h/conform): Likewise.
35197         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35198         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
35199         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35200         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35201         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35202         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
35203         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
35204         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35205         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35206         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35207         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
35208         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35209         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35210         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35211         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
35212         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35213         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35214         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35215         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35216         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35217         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
35218         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
35219         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
35220         (conformtest-cc-flags): Likewise.
35221         ($(conformtest-header-tests): New target.
35222         * conform/check-header-lists.sh: New file.
35223         * conform/run-conformtest.sh: Remove.
35225         * conform/conformtest.pl: Allow ' and \ in values given for
35226         constants.
35227         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
35228         inclusion.
35229         [POSIX] (sys/types.h): Likewise.
35230         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
35231         inclusion.
35232         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
35233         inclusion.
35234         * conform/data/signal.h-data (SIGIO): Remove expectation.
35235         [XPG3] (SIGBUS): Do not expect.
35236         [POSIX || XPG3] (SIGPOLL): Likewise.
35237         [POSIX || XPG3] (SIGPROF): Likewise.
35238         [POSIX || XPG3] (SIGSYS): Likewise.
35239         [XPG3] (SIGTRAP): Likewise.
35240         [POSIX || XPG3] (SIGURG): Likewise.
35241         [POSIX || XPG3] (SIGVTALRM): Likewise.
35242         [POSIX || XPG3] (SIGXCPU): Likewise.
35243         [POSIX || XPG3] (SIGXFSZ): Likewise.
35244         [POSIX] (SA_SIGINFO): Expect.
35245         [XPG3] (siginfo_t): Do not expect type or contents.
35246         [POSIX] (si_pid): Do not expect element.
35247         [POSIX] (si_uid): Likewise.
35248         [POSIX] (si_addr): Likewise.
35249         [POSIX] (si_status): Likewise.
35250         [POSIX] (si_band): Likewise.
35251         [XPG4] (si_value): Likewise.
35252         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
35253         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
35254         [POSIX || XPG3] (ILL_ILLADR): Likewise.
35255         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
35256         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
35257         [POSIX || XPG3] (ILL_PRVREG): Likewise.
35258         [POSIX || XPG3] (ILL_COPROC): Likewise.
35259         [POSIX || XPG3] (ILL_BADSTK): Likewise.
35260         [POSIX || XPG3] (FPE_INTDIV): Likewise.
35261         [POSIX || XPG3] (FPE_INTOVF): Likewise.
35262         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
35263         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
35264         [POSIX || XPG3] (FPE_FLTUND): Likewise.
35265         [POSIX || XPG3] (FPE_FLTRES): Likewise.
35266         [POSIX || XPG3] (FPE_FLTINV): Likewise.
35267         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
35268         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
35269         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
35270         [POSIX || XPG3] (BUS_ADRALN): Likewise.
35271         [POSIX || XPG3] (BUS_ADRERR): Likewise.
35272         [POSIX || XPG3] (BUS_OBJERR): Likewise.
35273         [POSIX || XPG3] (CLD_EXITED): Likewise.
35274         [POSIX || XPG3] (CLD_KILLED): Likewise.
35275         [POSIX || XPG3] (CLD_DUMPED): Likewise.
35276         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
35277         [POSIX || XPG3] (CLD_STOPPED): Likewise.
35278         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
35279         [POSIX || XPG3] (POLL_IN): Likewise.
35280         [POSIX || XPG3] (POLL_OUT): Likewise.
35281         [POSIX || XPG3] (POLL_MSG): Likewise.
35282         [POSIX || XPG3] (POLL_ERR): Likewise.
35283         [POSIX || XPG3] (POLL_PRI): Likewise.
35284         [POSIX || XPG3] (POLL_HUP): Likewise.
35285         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
35286         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
35287         (SIG*): Do not allow.
35288         [XPG3] (si_*): Likewise.
35289         [XPG3] (SI_*): Likewise.
35290         [XPG3 || XPG4] (sigev_*): Likewise.
35291         [XPG3 || XPG4] (SIGEV_*): Likewise.
35292         [XPG3 || XPG4] (sival_*): Likewise.
35293         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
35294         [POSIX || XPG3] (BUS_*): Likewise.
35295         [POSIX || XPG3] (CLD_*): Likewise.
35296         [POSIX || XPG3] (FPE_*): Likewise.
35297         [POSIX || XPG3] (ILL_*): Likewise.
35298         [POSIX || XPG3] (POLL_*): Likewise.
35299         [POSIX || XPG3] (SEGV_*): Likewise.
35300         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
35301         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
35302         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
35303         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
35304         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
35305         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
35306         Specify type and value.
35307         (TVERSLEN): Likewise.
35308         (REGTYPE): Likewise.
35309         (AREGTYPE): Likewise.
35310         (LNKTYPE): Likewise.
35311         (SYMTYPE): Likewise.
35312         (CHRTYPE): Likewise.
35313         (BLKTYPE): Likewise.
35314         (DIRTYPE): Likewise.
35315         (FIFOTYPE): Likewise.
35316         (CONTTYPE): Likewise.
35317         (TSUID): Likewise.
35318         (TSGID): Likewise.
35319         (TSVTX): Likewise.
35320         (TUREAD): Likewise.
35321         (TUWRITE): Likewise.
35322         (TUEXEC): Likewise.
35323         (TGREAD): Likewise.
35324         (TGWRITE): Likewise.
35325         (TGEXEC): Likewise.
35326         (TOREAD): Likewise.
35327         (TOWRITE): Likewise.
35328         (TOEXEC): Likewise.
35329         [POSIX] (TSVTX): Expect constant.
35331 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
35333         * Makefile (tests): Change dependencies to ....
35334         (tests-special): ... additions to this variable.
35335         (tests): Depend on $(tests-special).
35336         * Makerules (check-abi-list): New variable.
35337         (check-abi): Depend on $(check-abi-list).
35338         [$(subdir) = elf] (tests-special): Add
35339         $(objpfx)check-abi-libc.out.
35340         [$(build-shared) = yes && subdir] (tests-special): Add
35341         $(check-abi-list).
35342         [$(build-shared) = yes && subdir] (tests): Do not depend on
35343         check-abi.
35344         * Rules (tests): Depend on $(tests-special).
35345         (xtests): Depend on $(xtests-special).
35346         * catgets/Makefile (tests): Change dependencies to ....
35347         (tests-special): ... additions to this variable.
35348         * conform/Makefile (tests): Change dependencies to ....
35349         (tests-special): ... additions to this variable.
35350         * elf/Makefile (tests): Change dependencies to ....
35351         (tests-special): ... additions to this variable.
35352         * grp/Makefile (tests): Change dependencies to ....
35353         (tests-special): ... additions to this variable.
35354         * iconv/Makefile (xtests): Change dependencies to ....
35355         (xtests-special): ... additions to this variable.
35356         * iconvdata/Makefile (tests): Change dependencies to ....
35357         (tests-special): ... additions to this variable.
35358         * intl/Makefile (tests): Change dependencies to ....
35359         (tests-special): ... additions to this variable.  Also add
35360         $(objpfx)tst-gettext.out.
35361         * io/Makefile (tests): Change dependencies to ....
35362         (tests-special): ... additions to this variable.
35363         * libio/Makefile (tests): Change dependencies to ....
35364         (tests-special): ... additions to this variable.
35365         * malloc/Makefile (tests): Change dependencies to ....
35366         (tests-special): ... additions to this variable.
35367         * misc/Makefile (tests): Change dependencies to ....
35368         (tests-special): ... additions to this variable.
35369         * nptl/Makefile (tests): Change dependencies to ....
35370         (tests-special): ... additions to this variable.
35371         * nptl_db/Makefile (tests): Change dependencies to ....
35372         (tests-special): ... additions to this variable.
35373         * posix/Makefile (tests): Change dependencies to ....
35374         (tests-special): ... additions to this variable.
35375         (xtests): Change dependencies to ....
35376         (xtests-special): ... additions to this variable.
35377         * resolv/Makefile (tests): Change dependencies to ....
35378         (tests-special): ... additions to this variable.
35379         (xtests): Change dependencies to ....
35380         (xtests-special): ... additions to this variable.
35381         * stdio-common/Makefile (tests): Change dependencies to ....
35382         (tests-special): ... additions to this variable.
35383         (do-tst-unbputc): Remove target.
35384         (do-tst-printf): Likewise.
35385         * stdlib/Makefile (tests): Change dependencies to ....
35386         (tests-special): ... additions to this variable.
35387         * string/Makefile (tests): Change dependencies to ....
35388         (tests-special): ... additions to this variable.
35389         * sysdeps/x86/Makefile (tests): Change dependencies to ....
35390         (tests-special): ... additions to this variable.
35392         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
35393         whole file.
35394         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
35395         whole file.
35396         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
35397         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
35399         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
35400         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
35401         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
35402         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
35403         * conform/data/libgen.h-data [XPG3]: Likewise.
35404         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
35405         * conform/data/ndbm.h-data [XPG3]: Likewise.
35406         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
35407         * conform/data/netdb.h-data [XPG3]: Likewise.
35408         * conform/data/netinet/in.h-data [XPG3]: Likewise.
35409         * conform/data/poll.h-data [XPG3]: Likewise.
35410         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
35411         * conform/data/strings.h-data [XPG3]: Likewise.
35412         * conform/data/stropts.h-data [XPG3]: Likewise.
35413         * conform/data/sys/mman.h-data [XPG3]: Likewise.
35414         * conform/data/sys/resource.h-data [XPG3]: Likewise.
35415         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
35416         Likewise.
35417         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
35418         * conform/data/sys/time.h-data [XPG3]: Likewise.
35419         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
35420         * conform/data/sys/uio.h-data [XPG3]: Likewise.
35421         * conform/data/sys/un.h-data [XPG3]: Likewise.
35422         * conform/data/syslog.h-data [XPG3]: Likewise.
35423         * conform/data/ucontext.h-data [XPG3]: Likewise.
35424         * conform/data/utmpx.h-data [XPG3]: Likewise.
35425         * conform/data/varargs.h-data [UNIX98]: Enable file.
35427         * manual/Makefile (INSTALL_INFO): Remove variable setting.
35429         * math/libm-test.inc (struct test_f_f_data): Move expected results
35430         into structure for each rounding mode.
35431         (struct test_ff_f_data): Likewise.
35432         (struct test_ff_f_data_nexttoward): Likewise.
35433         (struct test_fi_f_data): Likewise.
35434         (struct test_fl_f_data): Likewise.
35435         (struct test_if_f_data): Likewise.
35436         (struct test_fff_f_data): Likewise.
35437         (struct test_c_f_data): Likewise.
35438         (struct test_f_f1_data): Likewise.
35439         (struct test_fF_f1_data): Likewise.
35440         (struct test_ffI_f1_data): Likewise.
35441         (struct test_c_c_data): Likewise.
35442         (struct test_cc_c_data): Likewise.
35443         (struct test_f_i_data): Likewise.
35444         (struct test_ff_i_data): Likewise.
35445         (struct test_f_l_data): Likewise.
35446         (struct test_f_L_data): Likewise.
35447         (struct test_fFF_11_data): Likewise.
35448         (RM_): New macro.
35449         (RM_FE_DOWNWARD): Likewise.
35450         (RM_FE_TONEAREST): Likewise.
35451         (RM_FE_TOWARDZERO): Likewise.
35452         (RM_FE_UPWARD): Likewise.
35453         (RUN_TEST_LOOP_f_f): Update references to expected results.
35454         (RUN_TEST_LOOP_2_f): Likewise.
35455         (RUN_TEST_LOOP_fff_f): Likewise.
35456         (RUN_TEST_LOOP_c_f): Likewise.
35457         (RUN_TEST_LOOP_f_f1): Likewise.
35458         (RUN_TEST_LOOP_fF_f1): Likewise.
35459         (RUN_TEST_LOOP_fI_f1): Likewise.
35460         (RUN_TEST_LOOP_ffI_f1): Likewise.
35461         (RUN_TEST_LOOP_c_c): Likewise.
35462         (RUN_TEST_LOOP_cc_c): Likewise.
35463         (RUN_TEST_LOOP_f_i): Likewise.
35464         (RUN_TEST_LOOP_f_i_tg): Likewise.
35465         (RUN_TEST_LOOP_ff_i_tg): Likewise.
35466         (RUN_TEST_LOOP_f_b): Likewise.
35467         (RUN_TEST_LOOP_f_b_tg): Likewise.
35468         (RUN_TEST_LOOP_f_l): Likewise.
35469         (RUN_TEST_LOOP_f_L): Likewise.
35470         (RUN_TEST_LOOP_fFF_11): Likewise.
35471         * math/gen-libm-test.pl (parse_args): Output four copies of
35472         expected results for each test.
35474         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35475         (__ASSUME_UTIMES): Remove.
35476         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35477         (__ASSUME_UTIMES): Likewise.
35479         * math/gen-auto-libm-tests.c: Update comment on output format.
35480         (output_for_one_input_case): Generate before-rounding and
35481         after-rounding information as conditions on output flags not
35482         floating-point format.
35483         * math/auto-libm-test-out: Regenerated.
35484         * math/gen-libm-test.pl (cond_value): New function.
35485         (or_cond_value): Use cond_value.
35486         (generate_testfile): Handle conditional exceptions.
35488 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
35490         * math/libm-test.inc (max_valid_error): New variable.
35491         (init_max_error): Take new argument specifying whether function
35492         results are exactly determined.  Set max_valid_error and bound
35493         other variables for errors based on this argument.
35494         (set_max_error): Do not record results above max_valid_error.
35495         (check_float_internal): Only accept errors of up to 0.5ulps if
35496         also at most max_valid_error.
35497         (START): Take new argument EXACT and pass it to init_max_error.
35498         (acos_test): Update call to START.
35499         (acos_test_tonearest): Likewise.
35500         (acos_test_towardzero): Likewise.
35501         (acos_test_downward): Likewise.
35502         (acos_test_upward): Likewise.
35503         (acosh_test): Likewise.
35504         (asin_test): Likewise.
35505         (asin_test_tonearest): Likewise.
35506         (asin_test_towardzero): Likewise.
35507         (asin_test_downward): Likewise.
35508         (asin_test_upward): Likewise.
35509         (asinh_test): Likewise.
35510         (atan_test): Likewise.
35511         (atanh_test): Likewise.
35512         (atan2_test): Likewise.
35513         (cabs_test): Likewise.
35514         (cacos_test): Likewise.
35515         (cacosh_test): Likewise.
35516         (carg_test): Likewise.
35517         (casin_test): Likewise.
35518         (casinh_test): Likewise.
35519         (catan_test): Likewise.
35520         (catanh_test): Likewise.
35521         (cbrt_test): Likewise.
35522         (ccos_test): Likewise.
35523         (ccosh_test): Likewise.
35524         (ceil_test): Likewise.
35525         (cexp_test): Likewise.
35526         (cimag_test): Likewise.
35527         (clog_test): Likewise.
35528         (clog10_test): Likewise.
35529         (conj_test): Likewise.
35530         (copysign_test): Likewise.
35531         (cos_test): Likewise.
35532         (cos_test_tonearest): Likewise.
35533         (cos_test_towardzero): Likewise.
35534         (cos_test_downward): Likewise.
35535         (cos_test_upward): Likewise.
35536         (cosh_test): Likewise.
35537         (cosh_test_tonearest): Likewise.
35538         (cosh_test_towardzero): Likewise.
35539         (cosh_test_downward): Likewise.
35540         (cosh_test_upward): Likewise.
35541         (cpow_test): Likewise.
35542         (cproj_test): Likewise.
35543         (creal_test): Likewise.
35544         (csin_test): Likewise.
35545         (csinh_test): Likewise.
35546         (csqrt_test): Likewise.
35547         (ctan_test): Likewise.
35548         (ctan_test_tonearest): Likewise.
35549         (ctan_test_towardzero): Likewise.
35550         (ctan_test_downward): Likewise.
35551         (ctan_test_upward): Likewise.
35552         (ctanh_test): Likewise.
35553         (ctanh_test_tonearest): Likewise.
35554         (ctanh_test_towardzero): Likewise.
35555         (ctanh_test_downward): Likewise.
35556         (ctanh_test_upward): Likewise.
35557         (erf_test): Likewise.
35558         (erfc_test): Likewise.
35559         (exp_test): Likewise.
35560         (exp_test_tonearest): Likewise.
35561         (exp_test_towardzero): Likewise.
35562         (exp_test_downward): Likewise.
35563         (exp_test_upward): Likewise.
35564         (exp10_test): Likewise.
35565         (exp10_test_tonearest): Likewise.
35566         (exp10_test_towardzero): Likewise.
35567         (exp10_test_downward): Likewise.
35568         (exp10_test_upward): Likewise.
35569         (pow10_test): Likewise.
35570         (exp2_test): Likewise.
35571         (expm1_test): Likewise.
35572         (expm1_test_tonearest): Likewise.
35573         (expm1_test_towardzero): Likewise.
35574         (expm1_test_downward): Likewise.
35575         (expm1_test_upward): Likewise.
35576         (fabs_test): Likewise.
35577         (fdim_test): Likewise.
35578         (floor_test): Likewise.
35579         (fma_test): Likewise.
35580         (fma_test_towardzero): Likewise.
35581         (fma_test_downward): Likewise.
35582         (fma_test_upward): Likewise.
35583         (fmax_test): Likewise.
35584         (fmin_test): Likewise.
35585         (fmod_test): Likewise.
35586         (fpclassify_test): Likewise.
35587         (frexp_test): Likewise.
35588         (hypot_test): Likewise.
35589         (ilogb_test): Likewise.
35590         (isfinite_test): Likewise.
35591         (finite_test): Likewise.
35592         (isgreater_test): Likewise.
35593         (isgreaterequal_test): Likewise.
35594         (isinf_test): Likewise.
35595         (isless_test): Likewise.
35596         (islessequal_test): Likewise.
35597         (islessgreater_test): Likewise.
35598         (isnan_test): Likewise.
35599         (isnormal_test): Likewise.
35600         (issignaling_test): Likewise.
35601         (isunordered_test): Likewise.
35602         (j0_test): Likewise.
35603         (j1_test): Likewise.
35604         (jn_test): Likewise.
35605         (ldexp_test): Likewise.
35606         (lgamma_test): Likewise.
35607         (gamma_test): Likewise.
35608         (lrint_test): Likewise.
35609         (lrint_test_tonearest): Likewise.
35610         (lrint_test_towardzero): Likewise.
35611         (lrint_test_downward): Likewise.
35612         (lrint_test_upward): Likewise.
35613         (llrint_test): Likewise.
35614         (llrint_test_tonearest): Likewise.
35615         (llrint_test_towardzero): Likewise.
35616         (llrint_test_downward): Likewise.
35617         (llrint_test_upward): Likewise.
35618         (log_test): Likewise.
35619         (log10_test): Likewise.
35620         (log1p_test): Likewise.
35621         (log2_test): Likewise.
35622         (logb_test): Likewise.
35623         (logb_test_downward): Likewise.
35624         (lround_test): Likewise.
35625         (llround_test): Likewise.
35626         (modf_test): Likewise.
35627         (nearbyint_test): Likewise.
35628         (nextafter_test): Likewise.
35629         (nexttoward_test): Likewise.
35630         (pow_test): Likewise.
35631         (pow_test_tonearest): Likewise.
35632         (pow_test_towardzero): Likewise.
35633         (pow_test_downward): Likewise.
35634         (pow_test_upward): Likewise.
35635         (remainder_test): Likewise.
35636         (drem_test): Likewise.
35637         (remainder_test_tonearest): Likewise.
35638         (drem_test_tonearest): Likewise.
35639         (remainder_test_towardzero): Likewise.
35640         (drem_test_towardzero): Likewise.
35641         (remainder_test_downward): Likewise.
35642         (drem_test_downward): Likewise.
35643         (remainder_test_upward): Likewise.
35644         (drem_test_upward): Likewise.
35645         (remquo_test): Likewise.
35646         (rint_test): Likewise.
35647         (rint_test_tonearest): Likewise.
35648         (rint_test_towardzero): Likewise.
35649         (rint_test_downward): Likewise.
35650         (rint_test_upward): Likewise.
35651         (round_test): Likewise.
35652         (scalb_test): Likewise.
35653         (scalbn_test): Likewise.
35654         (scalbln_test): Likewise.
35655         (signbit_test): Likewise.
35656         (sin_test): Likewise.
35657         (sin_test_tonearest): Likewise.
35658         (sin_test_towardzero): Likewise.
35659         (sin_test_downward): Likewise.
35660         (sin_test_upward): Likewise.
35661         (sincos_test): Likewise.
35662         (sinh_test): Likewise.
35663         (sinh_test_tonearest): Likewise.
35664         (sinh_test_towardzero): Likewise.
35665         (sinh_test_downward): Likewise.
35666         (sinh_test_upward): Likewise.
35667         (sqrt_test): Likewise.
35668         (sqrt_test_tonearest): Likewise.
35669         (sqrt_test_towardzero): Likewise.
35670         (sqrt_test_downward): Likewise.
35671         (sqrt_test_upward): Likewise.
35672         (tan_test): Likewise.
35673         (tan_test_tonearest): Likewise.
35674         (tan_test_towardzero): Likewise.
35675         (tan_test_downward): Likewise.
35676         (tan_test_upward): Likewise.
35677         (tanh_test): Likewise.
35678         (tgamma_test): Likewise.
35679         (trunc_test): Likewise.
35680         (y0_test): Likewise.
35681         (y1_test): Likewise.
35682         (yn_test): Likewise.
35683         (significand_test): Likewise.
35685         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
35686         individual tests in comment.
35687         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
35688         (prev_max_error): New variable.
35689         (prev_real_max_error): Likewise.
35690         (prev_imag_max_error): Likewise.
35691         (compare_ulp_data): Don't refer to test names in comment.
35692         (find_test_ulps): Remove function.
35693         (find_function_ulps): Likewise.
35694         (find_complex_function_ulps): Likewise.
35695         (init_max_error): Take function name as argument.  Look up ulps
35696         for that function.
35697         (print_ulps): Remove function.
35698         (print_max_error): Use prev_max_error instead of calling
35699         find_function_ulps.
35700         (print_complex_max_error): Use prev_real_max_error and
35701         prev_imag_max_error instead of calling find_complex_function_ulps.
35702         (check_float_internal): Take max_ulp parameter instead of calling
35703         find_test_ulps.  Don't call print_ulps.
35704         (check_float): Update call to check_float_internal.
35705         (check_complex): Update calls to check_float_internal.
35706         (START): Pass argument to init_max_error.
35707         * math/gen-libm-test.pl (%results): Don't include "kind"
35708         information.
35709         (parse_ulps): Don't handle ulps of individual tests.
35710         (print_ulps_file): Likewise.
35711         (output_ulps): Likewise.
35712         * math/README.libm-test: Update.
35713         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
35714         individual tests.
35715         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
35716         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
35717         * sysdeps/arm/libm-test-ulps: Likewise.
35718         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
35719         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
35720         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
35721         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
35722         * sysdeps/microblaze/libm-test-ulps: Likewise.
35723         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
35724         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
35725         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35726         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
35727         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35728         * sysdeps/sh/libm-test-ulps: Likewise.
35729         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35730         * sysdeps/tile/libm-test-ulps: Likewise.
35731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35733 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
35735         * math/libm-test.inc (print_complex_max_error): Check separately
35736         whether real and imaginary errors are within allowed range and
35737         pass 0 to print_complex_function_ulps instead of value within
35738         allowed range.
35740 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35742         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
35743         formatting.
35744         (get_handles_fopen): Likewise.
35745         (do_write_test): Likewise.
35747         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
35749         * libio/fileops.c (do_ftell): Use cached offset when
35750         available.
35751         * libio/iofwide.c (do_ftell_wide): Likewise.
35752         * libio/iofdopen.c (_IO_new_fdopen): Don't use
35753         _IO_file_attach.
35754         * libio/wfileops.c (_IO_fwide): Don't cache offset.
35756         [BZ #16532]
35757         * libio/libioP.h (get_file_offset): New function.
35758         * libio/fileops.c (get_file_offset): Likewise.
35759         (do_ftell): Likewise.
35760         (_IO_new_file_seekoff): Split out ftell logic.
35761         * libio/wfileops.c (do_ftell_wide): Likewise.
35762         (_IO_wfile_seekoff): Split out ftell logic.
35763         * libio/tst-ftell-active-handler.c: New test case.
35764         * libio/Makefile (tests): Add it.
35766 2014-03-03  Roland McGrath  <roland@hack.frob.com>
35768         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
35769         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
35771 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35773         [BZ #16639]
35774         * nscd/connections.c (nscd_init): Call do_exit.
35775         (start_threads): Call do_exit and notify_parent.
35776         (begin_drop_privileges): Call do_exit.
35777         (finish_drop_privileges): Likewise.
35778         * nscd/selinux.c (preserve_capabilities): Likewise.
35779         (install_real_capabilities): Likewise.
35780         (nscd_selinux_enabled): Likewise.
35781         (avc_create_thread): Likewise.
35782         (avc_alloc_lock): Likewise.
35783         (nscd_avc_init): Likewise.
35784         * nscd/nscd.c (parent_fd): New static variable.
35785         (main): Create a pipe between parent and child processes.
35786         Skip closing parent_fd.
35787         (monitor_child): New function.
35788         (do_exit): Likewise.
35789         (notify_parent): Likewise.
35790         * nscd/nscd.h (notify_parent): Likewise.
35791         (do_exit): Likewise.
35793 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
35795         * malloc/malloc.c (__libc_calloc): Revert last change.
35797 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35799         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35801 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35803         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
35804         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
35805         implementation.
35806         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35807         (__libc_ifunc_impl_list): Likewise.
35808         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
35809         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
35810         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
35811         * string/strrchr.c: Define STRRCHR.
35813 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
35815         * benchtest/bench-strtok.c (simple_strtok): Delete.
35816         (strtok_string): Use as benchmark.
35817         * string/strtok (STRTOK): New macro.
35819 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
35821         * manual/threads.texi: Add header and standard comments to all
35822         functions.
35824         * elf/dl-lookup.c (check_match): New function.
35825         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
35826         (do_lookup_x): Remove nested function check_match. Use non-nested
35827         function check_match.
35829 2014-02-28  Roland McGrath  <roland@hack.frob.com>
35831         * csu/Makefile (generated, before-compile): Use += rather than =.
35832         * catgets/Makefile (generated, generated-dirs): Likewise.
35833         * debug/Makefile (generated): Likewise.
35834         * dlfcn/Makefile (generated): Likewise.
35835         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
35836         * iconvdata/Makefile (before-compile, generated): Likewise.
35837         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
35838         * libio/Makefile (generated): Likewise.
35839         * malloc/Makefile (generated): Likewise.
35840         * manual/Makefile (generated, generated-dirs): Likewise.
35841         * misc/Makefile (generated): Likewise.
35842         * posix/Makefile (generated): Likewise.
35843         * resolv/Makefile (generated): Likewise.
35844         * sunrpc/Makefile (generated, generated-dirs): Likewise.
35845         * timezone/Makefile (generated, generated-dirs): Likewise.
35847         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
35849 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35851         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
35852         power8 implementation.
35853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
35854         file: POWER8 llround ifunc implementation.
35855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
35856         (__lllround): Add POWER8 implementation.
35857         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
35858         POWER8 llround implementation.
35860         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
35861         power8 implementation.
35862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
35863         file: POWER8 llrint ifunc implementation.
35864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
35865         Add POWER8 implementation.
35866         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
35867         POWER8 llrint implementation.
35869         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
35870         power8 implementation.
35871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
35872         file: POWER8 finite ifunc implementation.
35873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
35874         Add POWER8 implementation.
35875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
35876         Likewise.
35877         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
35878         POWER8 finite implementation.
35879         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
35881         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
35882         power8 implementation.
35883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
35884         file: POWER8 isinf ifunc implementation.
35885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
35886         POWER8 implementation.
35887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
35888         Likewise.
35889         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
35890         isinf implementation.
35891         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
35893         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
35894         (INIT_ARCH): Add hwcap2 initialization.
35895         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
35896         power8 implementation.
35897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
35898         file: POWER8 isnan ifunc implementation.
35899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
35900         POWER8 implementation.
35901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
35902         Likewise.
35903         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
35904         isnan implementation.
35905         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
35907 2014-02-27  Joey Ye  <joey.ye@arm.com>
35909         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35910         (_FP_NANFRAC_Q): Set to zero.
35912 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35914         [BZ #16623]
35915         * math/auto-libm-test-in: New test inputs.
35916         * math/auto-libm-test-out: Regenerate.
35917         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
35918         and DA.
35919         (__cos): Likewise.
35920         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35922 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
35924         * scripts/evaluate-test.sh: Take new argument indicating whether
35925         failure is expected.
35926         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
35927         indicating whether failure is expected.
35928         * conform/Makefile (test-xfail-run-conformtest): New variable.
35929         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
35930         level.
35931         * posix/Makefile (test-xfail-annexc): New variable.
35932         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
35934 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
35936         * argp/Makefile: Include Makeconfig immediately after defining
35937         subdir.
35938         * assert/Makefile: Likewise.
35939         * benchtests/Makefile: Likewise.
35940         * catgets/Makefile: Likewise.
35941         * conform/Makefile: Likewise.
35942         * crypt/Makefile: Likewise.
35943         * csu/Makefile: Likewise.
35944         (all): Remove target.
35945         * ctype/Makefile: Include Makeconfig immediately after defining
35946         subdir.
35947         * debug/Makefile: Likewise.
35948         * dirent/Makefile: Likewise.
35949         * dlfcn/Makefile: Likewise.
35950         * gmon/Makefile: Likewise.
35951         * gnulib/Makefile: Likewise.
35952         * grp/Makefile: Likewise.
35953         * gshadow/Makefile: Likewise.
35954         * hesiod/Makefile: Likewise.
35955         * hurd/Makefile: Likewise.
35956         (all): Remove target.
35957         * iconvdata/Makefile: Include Makeconfig immediately after
35958         defining subdir.
35959         * inet/Makefile: Likewise.
35960         * intl/Makefile: Likewise.
35961         * io/Makefile: Likewise.
35962         * libio/Makefile: Likewise.
35963         (all): Remove target.
35964         * locale/Makefile: Include Makeconfig immediately after defining
35965         subdir.
35966         * login/Makefile: Likewise.
35967         * mach/Makefile: Likewise.
35968         (all): Remove target.
35969         * malloc/Makefile: Include Makeconfig immediately after defining
35970         subdir.
35971         (all): Remove target.
35972         * manual/Makefile: Include Makeconfig immediately after defining
35973         subdir.
35974         * math/Makefile: Likewise.
35975         * misc/Makefile: Likewise.
35976         * nis/Makefile: Likewise.
35977         * nss/Makefile: Likewise.
35978         * po/Makefile: Likewise.
35979         (all): Remove target.
35980         * posix/Makefile: Include Makeconfig immediately after defining
35981         subdir.
35982         * pwd/Makefile: Likewise.
35983         * resolv/Makefile: Likewise.
35984         * resource/Makefile: Likewise.
35985         * rt/Makefile: Likewise.
35986         * setjmp/Makefile: Likewise.
35987         * shadow/Makefile: Likewise.
35988         * signal/Makefile: Likewise.
35989         * socket/Makefile: Likewise.
35990         * soft-fp/Makefile: Likewise.
35991         * stdio-common/Makefile: Likewise.
35992         * stdlib/Makefile: Likewise.
35993         * streams/Makefile: Likewise.
35994         * string/Makefile: Likewise.
35995         * sunrpc/Makefile: Likewise.
35996         (all): Remove target.
35997         * sysvipc/Makefile: Include Makeconfig immediately after defining
35998         subdir.
35999         * termios/Makefile: Likewise.
36000         * time/Makefile: Likewise.
36001         * timezone/Makefile: Likewise.
36002         (all): Remove target.
36003         * wcsmbs/Makefile: Include Makeconfig immediately after defining
36004         subdir.
36005         * wctype/Makefile: Likewise.
36007 2014-02-26  Steve Ellcey  <sellcey@mips.com>
36009         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
36010         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
36011         (libc_feholdexcept_setround_mips): Ditto.
36012         (libc_feholdsetround): New.
36013         (libc_feholdsetroundf): New.
36014         (libc_feholdsetroundl): New.
36015         (libc_feupdateenv_test_mips): New.
36016         (libc_feupdateenv_test): New.
36017         (libc_feupdateenv_testf): New.
36018         (libc_feupdateenv_testl): New.
36019         (libc_feresetround): New.
36020         (libc_feresetroundf): New.
36021         (libc_feresetroundl): New.
36022         (libc_fetestexcept_mips): New.
36023         (libc_fetestexcept): New.
36024         (libc_fetestexceptf): New.
36025         (libc_fetestexceptl): New.
36026         (HAVE_RM_CTX): New.
36027         (libc_feholdexcept_setround_mips_ctx): New.
36028         (libc_feholdexcept_setround_ctx): New.
36029         (libc_feholdexcept_setroundf_ctx): New.
36030         (libc_feholdexcept_setroundl_ctx): New.
36031         (libc_fesetenv_mips_ctx): New.
36032         (libc_fesetenv_ctx): New.
36033         (libc_fesetenv_ctxf): New.
36034         (libc_fesetenv_ctxl): New.
36035         (libc_feupdateenv_mips_ctx): New.
36036         (libc_feupdateenv_ctx): New.
36037         (libc_feupdateenvf_ctx): New.
36038         (libc_feupdateenvl_ctx): New.
36039         (libc_feholdsetround_mips_ctx): New.
36040         (libc_feholdsetround_ctx): New.
36041         (libc_feholdsetroundf_ctx): New.
36042         (libc_feholdsetroundl_ctx): New.
36043         (libc_feresetround_mips_ctx): New.
36044         (libc_feresetround_ctx): New.
36045         (libc_feresetroundf_ctx): New.
36046         (libc_feresetroundl_ctx): New.
36048 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
36050         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
36052         * manual/ipc.texi: New file.
36053         * manual/Makefile (chapters): Add ipc.
36054         * manual/job.texi: Add "Inter-Process Communication" to next.
36055         * manual/process.texi: Add "Inter-Process Communication" to prev.
36057 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36059         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36061 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
36063         * malloc/malloc.c (__libc_calloc): Simplify implementation.
36065         * manual/arith.texi: Fix spaces after sentences.
36066         * manual/charset.texi: Likewise.
36067         * manual/errno.texi: Likewise.
36068         * manual/install.texi: Likewise.
36069         * manual/llio.texi: Likewise.
36070         * manual/locale.texi: Likewise.
36071         * manual/maint.texi: Likewise.
36072         * manual/math.texi: Likewise.
36073         * manual/memory.texi: Likewise.
36074         * manual/message.texi: Likewise.
36075         * manual/probes.texi: Likewise.
36076         * manual/resource.texi: Likewise.
36077         * manual/signal.texi: Likewise.
36078         * manual/socket.texi: Likewise.
36079         * manual/stdio.texi: Likewise.
36080         * manual/string.texi: Likewise.
36081         * manual/time.texi: Likewise.
36082         * manual/users.texi: Likewise.
36084 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
36086         [BZ #16632]
36087         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
36088         _DEFAULT_SOURCE is defined.
36090 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
36091             Carlos O'Donell  <carlos@redhat.com>
36093         [BZ #16613]
36094         * elf/dl-tls.c (_dl_count_modids): New function.
36095         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
36096         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
36097         audit library and increment generation counter.
36098         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
36099         * elf/tst-audit9.c: New file.
36100         * elf/tst-auditmod9a.c: New file.
36101         * elf/tst-auditmod9b.c: New file.
36102         * elf/Makefile: Add rules to build and run tst-audit9.
36104 2014-02-25  Florian Weimer  <fweimer@redhat.com>
36106         [BZ #15347]
36107         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
36109 2014-02-25  Will Newton  <will.newton@linaro.org>
36111         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
36112         (__longjmp): Restore sp and lr before restoring callee
36113         saved registers.  Add longjmp and longjmp_target
36114         SystemTap probe point.
36115         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
36116         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
36117         Define to zero to match jmpbuf layout.
36118         * sysdeps/arm/setjmp.S: Include stap-probe.h.
36119         (__sigsetjmp): Save sp and lr before saving callee
36120         saved registers.  Add setjmp SystemTap probe point.
36122 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
36124         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36126 2014-02-24  Andreas Schwab  <schwab@suse.de>
36128         [BZ #15804]
36129         * elf/pldd.c (wait_for_ptrace_stop): New function.
36130         (main): Call it after attaching.
36132 2014-02-22  Roland McGrath  <roland@hack.frob.com>
36134         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
36135         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
36136         Versions files is now verboten.
36137         * hurd/Versions (libc: GLIBC_2.0):
36138         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
36139         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
36140         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
36141         * mach/Versions: Likewise.
36143         * csu/Versions: Remove unused %include.
36144         * resolv/Versions: Likewise.
36146 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
36148         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
36149         ($(objpfx)check-local-headers.out): Likewise.
36150         ($(objpfx)begin-end-check.out): Likewise.
36151         * Makerules (check-abi-%.out): Likewise.
36152         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
36153         ($(objpfx)test2.cat): Likewise.
36154         ($(objpfx)de/libc.cat): Likewise.
36155         ($(objpfx)test-gencat.out): Likewise.
36156         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
36157         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
36158         ($(objpfx)noload-mem): Likewise.
36159         ($(objpfx)tst-pathopt.out): Likewise.
36160         ($(objpfx)tst-rtld-load-self.out): Likewise.
36161         ($(objpfx)tst-array1-cmp.out): Likewise.
36162         ($(objpfx)tst-array1-static-cmp.out): Likewise.
36163         ($(objpfx)tst-array2-cmp.out): Likewise.
36164         ($(objpfx)tst-array3-cmp.out): Likewise.
36165         ($(objpfx)tst-array4-cmp.out): Likewise.
36166         ($(objpfx)tst-array5-cmp.out): Likewise.
36167         ($(objpfx)tst-array5-static-cmp.out): Likewise.
36168         ($(objpfx)check-textrel.out): Likewise.
36169         ($(objpfx)check-execstack.out): Likewise.
36170         ($(objpfx)check-localplt.out): Likewise.
36171         ($(objpfx)order2-cmp.out): Likewise.
36172         ($(objpfx)tst-leaks1-mem): Likewise.
36173         ($(objpfx)tst-leaks1-static-mem): Likewise.
36174         ($(objpfx)tst-initorder-cmp.out): Likewise.
36175         ($(objpfx)tst-initorder2-cmp.out): Likewise.
36176         ($(objpfx)tst-unused-dep.out): Likewise.
36177         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
36178         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
36179         * iconv/Makefile (test-iconvconfig): Likewise.
36180         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
36181         ($(objpfx)iconv-test.out): Likewise.
36182         ($(objpfx)tst-tables.out): Likewise.
36183         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
36184         ($(objpfx)tst-gettext.out): Likewise.
36185         ($(objpfx)tst-translit.out): Likewise.
36186         ($(objpfx)tst-gettext2.out): Likewise.
36187         ($(objpfx)tst-gettext4.out): Likewise.
36188         ($(objpfx)tst-gettext6.out): Likewise.
36189         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
36190         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
36191         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
36192         ($(objpfx)tst-fopenloc-mem.out): Likewise.
36193         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
36194         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
36195         * posix/Makefile ($(objpfx)globtest.out): Likewise.
36196         ($(objpfx)wordexp-tst.out): Likewise.
36197         ($(objpfx)annexc.out): Likewise.
36198         ($(objpfx)tst-fnmatch-mem): Likewise.
36199         ($(objpfx)bug-regex2-mem): Likewise.
36200         ($(objpfx)bug-regex14-mem): Likewise.
36201         ($(objpfx)bug-regex21-mem): Likewise.
36202         ($(objpfx)bug-regex31-mem): Likewise.
36203         ($(objpfx)tst-vfork3-mem): Likewise.
36204         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36205         ($(objpfx)tst-pcre-mem): Likewise.
36206         ($(objpfx)tst-boost-mem): Likewise.
36207         ($(objpfx)tst-getconf.out): Likewise.
36208         ($(objpfx)bug-ga2-mem): Likewise.
36209         ($(objpfx)bug-glob2-mem): Likewise.
36210         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
36211         ($(objpfx)mtrace-tst-leaks2): Likewise.
36212         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
36213         ($(objpfx)tst-printf.out): Likewise.
36214         ($(objpfx)tst-setvbuf1.out): Likewise.
36215         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
36216         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
36217         ($(objpfx)tst-fmtmsg.out): Likewise.
36218         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
36219         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
36221         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
36222         * bits/sigaction.h [__USE_MISC]: Likewise.
36223         * bits/waitstatus.h: Update #endif comments.
36224         * ctype/ctype.h: Likewise.
36225         * dirent/dirent.h: Likewise.
36226         [__USE_MISC]: Remove redundant conditionals.
36227         * grp/grp.h: Update #endif comments.
36228         [__USE_GNU]: Remove redundant conditionals.
36229         [__USE_MISC]: Likewise.
36230         * inet/netinet/in.h [__USE_GNU]: Likewise.
36231         * io/sys/stat.h [__USE_MISC]: Likewise.
36232         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
36233         * libio/bits/stdio.h: Update #endif comments.
36234         [__USE_MISC]: Remove redundant conditionals.
36235         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
36236         * libio/stdio.h: Update #endif comments.
36237         [__USE_MISC]: Remove redundant conditionals.
36238         * math/bits/math-finite.h [__USE_MISC]: Likewise.
36239         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
36240         * math/math.h: Update #else and #endif comments.
36241         [__USE_MISC]: Remove redundant conditionals.
36242         * misc/sys/uio.h: Update #endif comments.
36243         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
36244         * posix/glob.h [__USE_MISC]: Likewise.
36245         * posix/sys/types.h: Update #endif comments.
36246         [__USE_MISC]: Remove redundant conditionals.
36247         * posix/sys/wait.h: Update #endif comments.
36248         [__USE_MISC]: Remove redundant conditionals.
36249         * posix/unistd.h: Update #endif comments.
36250         [__USE_MISC]: Remove redundant conditionals.
36251         * pwd/pwd.h [__USE_GNU]: Likewise.
36252         [__USE_MISC]: Likewise.
36253         * resolv/netdb.h [__USE_GNU]: Likewise.
36254         * signal/signal.h: Update #endif comments.
36255         [__USE_MISC]: Remove redundant conditionals.
36256         * stdlib/stdlib.h: Update #else and #endif comments.
36257         [__USE_MISC]: Remove redundant conditionals.
36258         [__USE_GNU]: Likewise.
36259         * string/bits/string2.h [__USE_MISC]: Likewise.
36260         * string/string.h: Update #endif comments.
36261         [__USE_MISC]: Remove redundant conditionals.
36262         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
36263         Likewise.
36264         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
36265         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
36266         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
36267         Likewise.
36268         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
36269         Likewise.
36270         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
36271         comments.
36272         [__USE_MISC]: Remove redundant conditionals.
36273         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
36274         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
36275         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
36276         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
36277         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
36278         Likewise.
36279         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
36280         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
36281         Likewise.
36282         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
36283         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
36284         Likewise.
36285         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
36286         Likewise.
36287         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
36288         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
36289         Likewise.
36290         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
36291         Likewise.
36292         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
36293         * sysdeps/x86/bits/string.h: Update #endif comments.
36294         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
36295         conditionals.
36296         * time/sys/time.h: Update #endif comments.
36297         * time/time.h: Likewise.
36298         [__USE_MISC]: Remove redundant conditionals.
36300 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
36302         [BZ #16600]
36303         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
36305 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
36307         * Versions.def (librt): Add GLIBC_2.17.
36309 2014-02-21  Adam Conrad  <adconrad@0c3.net>
36311         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
36312         synonym for _SYS_AUXV_H to allow direct inclusion.
36313         * sysdeps/sparc/bits/hwcap.h: Likewise.
36314         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
36315         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
36316         * sysdeps/sparc/sysdep.h: Likewise.
36318 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36320         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
36322 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36324         * benchtests/bench-strrchr.c: Print length instead of position.
36326 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
36328         [BZ #16611]
36329         * sysdeps/unix/sysv/linux/kernel-features.h
36330         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
36331         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
36332         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
36333         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
36334         Likewise.
36335         [__i386__ || __powerpc__ || __sh__ || __sparc__]
36336         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36337         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
36338         (__ASSUME_SENDMMSG): Define instead of using previous
36339         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
36340         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36341         (__ASSUME_SENDMMSG_SYSCALL): Define.
36342         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36343         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
36344         Likewise.
36345         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36346         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36347         Likewise.
36348         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36349         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36350         Likewise.
36351         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
36352         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
36353         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
36354         [__ASSUME_SENDMMSG]: Change conditionals to
36355         [__ASSUME_SENDMMSG_SOCKETCALL].
36356         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36357         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
36358         Define.
36359         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36360         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
36361         Likewise.
36362         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
36363         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
36364         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
36365         [!__ASSUME_SENDMMSG]: Change conditional to
36366         [!__ASSUME_SENDMMSG_SOCKETCALL].
36367         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36368         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36369         Define.
36371         [BZ #16610]
36372         * sysdeps/unix/sysv/linux/kernel-features.h
36373         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
36374         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
36375         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
36376         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
36377         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36378         [__i386__ || __sparc__]
36379         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36380         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
36381         (__ASSUME_RECVMMSG): Define instead of using previous
36382         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
36383         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36384         (__ASSUME_RECVMMSG_SYSCALL): Define.
36385         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36386         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36387         Likewise.
36388         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36389         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36390         Likewise.
36391         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36392         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36393         Likewise.
36394         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
36395         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
36396         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
36397         [__ASSUME_RECVMMSG]: Change condition to
36398         [__ASSUME_RECVMMSG_SOCKETCALL].
36399         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36400         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36401         Define.
36402         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36403         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36404         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36405         Likewise.
36406         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
36407         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
36408         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
36409         [!__ASSUME_RECVMMSG]: Change condition to
36410         [!__ASSUME_RECVMMSG_SOCKETCALL].
36411         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36412         (__ASSUME_RECVMMSG_SYSCALL): Define.
36414         [BZ #16609]
36415         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
36416         __powerpc__ || __s390__ || __sh__ || __sparc__]
36417         (__ASSUME_SOCKETCALL): Define.
36418         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
36419         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
36420         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
36421         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
36422         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36423         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
36424         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
36425         (__ASSUME_ACCEPT4): Define instead of using previous
36426         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
36427         __powerpc__ || __sparc__ || __s390__)] condition.
36428         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36429         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
36430         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
36431         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
36432         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
36433         [!__ASSUME_ACCEPT4]: Change condition to
36434         [!__ASSUME_ACCEPT4_SOCKETCALL].
36435         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36436         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
36437         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
36438         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36439         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
36440         __ASSUME_ACCEPT4_SYSCALL.
36441         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
36442         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
36443         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36444         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
36445         __ASSUME_ACCEPT4_SYSCALL.
36446         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
36447         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
36448         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
36449         [__ASSUME_ACCEPT4]: Change condition to
36450         [__ASSUME_ACCEPT4_SOCKETCALL].
36451         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36452         (__ASSUME_SOCKETCALL): Define.
36453         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
36454         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36455         (__ASSUME_SOCKETCALL): Define.
36456         (__ASSUME_ACCEPT4): Remove.
36457         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
36458         Define.
36459         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36460         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
36461         Likewise.
36462         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36463         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
36465         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
36466         macro.
36467         (HWCAP_ARM_LPAE): Likewise.
36468         (HWCAP_ARM_EVTSTRM): Likewise.
36469         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
36470         Add vpfd32, lpae and evtstrm.
36471         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
36472         Increase to 22.
36474 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
36476         * math/auto-libm-test-in: Add tests of clog10.
36477         * math/auto-libm-test-out: Regenerated.
36478         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
36479         * sysdeps/i386/fpu/libm-test-ulps: Update.
36480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36482 2014-02-18  Andreas Schwab  <schwab@suse.de>
36484         [BZ #16574]
36485         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
36486         Store non-zero if the second buffer was newly allocated.
36487         (send_dg): Likewise.
36488         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
36489         to send_vc and send_dg.
36490         (res_nsend): Pass NULL for ansp2_malloced.
36491         * resolv/res_query.c (__libc_res_nquery): Add parameter
36492         answerp2_malloced and pass it down to __libc_res_nsend.
36493         (res_nquery): Pass additional NULL to __libc_res_nquery.
36494         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
36495         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
36496         second answer buffer if answerp2_malloced was set.
36497         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
36498         (__libc_res_nquerydomain): Add parameter
36499         answerp2_malloced and pass it down to __libc_res_nquery.
36500         (res_nquerydomain): Pass additional NULL to
36501         __libc_res_nquerydomain.
36502         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
36503         additional NULL to __libc_res_nsend and __libc_res_nquery.
36504         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
36505         additional NULL to __libc_res_nsearch.
36506         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
36507         parameter of __libc_res_nsearch to check for separately allocated
36508         second buffer.
36509         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
36510         __libc_res_nquery.
36511         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
36512         additional NULL to __libc_res_nquery.
36513         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
36514         __libc_res_nsearch.
36515         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
36516         * include/resolv.h: Update prototypes of __libc_res_nquery,
36517         __libc_res_nsearch, __libc_res_nsend.
36519 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
36521         * math/auto-libm-test-in: Add tests of fma.
36522         * math/auto-libm-test-out: Regenerated.
36523         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
36524         (fma_towardzero_test_data): Likewise.
36525         (fma_downward_test_data): Likewise.
36526         (fma_upward_test_data): Likewise.
36527         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
36528         mpc_mode.
36529         (rounding_modes): Add values for new field.
36530         (func_calc_method): Add value mpfr_fff_f.
36531         (func_calc_desc): Add mpfr_fff_f union field.
36532         (test_function): Add field exact_args.
36533         (FUNC): Add macro argument EXACT_ARGS.
36534         (FUNC_mpfr_f_f): Update call to FUNC.
36535         (FUNC_mpfr_f_f): Likewise.
36536         (FUNC_mpfr_ff_f): Likewise.
36537         (FUNC_mpfr_if_f): Likewise.
36538         (FUNC_mpc_c_f): Likewise.
36539         (FUNC_mpc_c_c): Likewise.
36540         (test_functions): Add fma.  Update calls to FUNC.
36541         (handle_input_arg): Add argument exact_args.
36542         (add_test): Update call to handle_input_arg.
36543         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
36544         (output_for_one_input_case): Update call to calc_generic_results.
36545         Recalculate exact zero results in each rounding mode.
36547         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
36548         non-negative before setting low bit.
36549         * math/auto-libm-test-in: Mark one asin test possibly having
36550         spurious underflow.
36551         * math/auto-libm-test-out: Regenerated.
36552         * sysdeps/i386/fpu/libm-test-ulps: Update.
36553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36555 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
36557         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
36558         * sysdeps/unix/sysv/linux/microblaze: Move directory from
36559         ports/sysdeps/unix/sysv/linux/microblaze.
36560         * README: Add missing listing for microblaze*-*-linux-gnu.
36562 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
36564         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
36565         duplicate code
36567 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
36569         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
36570         * sysdeps/unix/sysv/linux/ia64: Move directory from
36571         ports/sysdeps/unix/sysv/linux/ia64.
36572         * README: Update listing for ia64-*-linux-gnu.
36574 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
36575             Joseph Myers  <joseph@codesourcery.com>
36577         * Makeconfig (test-name): New variable.
36578         (evaluate-test): Likewise.
36579         * Makerules (do-test-clean): Remove .test-result files.
36580         (common-mostlyclean): Likewise.
36581         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
36582         * scripts/evaluate-test.sh: New file.
36584 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
36586         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
36587         separate $(objpfx)tst-fopenloc-cmp.out and
36588         $(objpfx)tst-fopenloc-mem.out targets.
36589         (tests): Update dependencies.
36590         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
36591         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
36592         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
36593         (tst-rxspencer-no-utf8-ARGS): New variable.
36594         (tst-rxspencer-no-utf8-ENV): Likewise.
36595         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
36596         instead of $(objpfx)tst-rxspencer-mem.
36597         ($(objpfx)tst-rxspencer-mem): Change target to
36598         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
36599         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
36600         * posix/tst-rxspencer-no-utf8.c: New file.
36602         * elf/Makefile ($(objpfx)order.out): Remove rule.
36603         [$(run-built-tests) = yes] (tests): Depend on
36604         $(objpfx)order-cmp.out.
36605         ($(objpfx)order-cmp.out): New rule.
36606         [$(run-built-tests) = yes] (tests): Depend on
36607         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
36608         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
36609         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
36610         $(objpfx)tst-array5-static-cmp.out.
36611         ($(objpfx)tst-array1.out): Remove rule.
36612         ($(objpfx)tst-array1-cmp.out): New rule.
36613         ($(objpfx)tst-array1-static.out): Remove rule.
36614         ($(objpfx)tst-array1-static-cmp.out): New rule.
36615         ($(objpfx)tst-array2.out): Remove rule.
36616         ($(objpfx)tst-array2-cmp.out): New rule.
36617         ($(objpfx)tst-array3.out): Remove rule.
36618         ($(objpfx)tst-array3-cmp.out): New rule.
36619         ($(objpfx)tst-array4.out): Remove rule.
36620         ($(objpfx)tst-array4-cmp.out): New rule.
36621         ($(objpfx)tst-array5.out): Remove rule.
36622         ($(objpfx)tst-array5-cmp.out): New rule.
36623         ($(objpfx)tst-array5-static.out): Remove rule.
36624         ($(objpfx)tst-array5-static-cmp.out): New rule.
36625         [$(run-built-tests) = yes] (tests): Depend on
36626         $(objpfx)order2-cmp.out.
36627         ($(objpfx)order2.out): Remove rule.
36628         ($(objpfx)order2-cmp.out): New rule.
36629         ($(objpfx)tst-initorder.out): Remove rule.
36630         [$(run-built-tests) = yes] (tests): Depend on
36631         $(objpfx)tst-initorder-cmp.out.
36632         ($(objpfx)tst-initorder-cmp.out): New rule.
36633         ($(objpfx)tst-initorder2.out): Remove rule.
36634         [$(run-built-tests) = yes] (tests): Depend on
36635         $(objpfx)tst-initorder2-cmp.out.
36636         ($(objpfx)tst-initorder2-cmp.out): New rule.
36637         [$(run-built-tests) = yes] (tests): Depend on
36638         $(objpfx)tst-unused-dep-cmp.out.
36639         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
36640         ($(objpfx)tst-unused-dep-cmp.out): New rule.
36641         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
36642         on $(objpfx)tst-setvbuf1-cmp.out.
36643         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
36644         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
36645         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
36646         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
36647         ($(objpfx)tst-svc.out): Remove rule.
36648         ($(objpfx)tst-svc-cmp.out): New rule.
36650 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
36652         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
36653         * ctype/ctype.h [__USE_MISC]: Likewise.
36654         * dirent/dirent.h [__USE_MISC]: Likewise.
36655         * grp/grp.h [__USE_MISC]: Likewise.
36656         * io/fcntl.h [__USE_MISC]: Likewise.
36657         * io/sys/stat.h [__USE_MISC]: Likewise.
36658         * libio/stdio.h [__USE_MISC]: Likewise.
36659         * posix/unistd.h [__USE_MISC]: Likewise.
36660         * pwd/pwd.h [__USE_MISC]: Likewise.
36661         * stdlib.h [__USE_MISC]: Likewise.
36662         * string/bits/string2.h [__USE_MISC]: Likewise.
36663         * string/string.h [__USE_MISC]: Likewise.
36664         * time/time.h [__USE_MISC]: Likewise.
36666 2014-02-13  Andreas Schwab  <schwab@suse.de>
36668         [BZ #16574]
36669         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
36670         second answer buffer if it was separately allocated.
36672 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
36674         * sysdeps/mips/math-tests.h: Include <features.h>.
36675         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36676         (ROUNDING_TESTS_long_double): Do not define.
36677         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36678         (EXCEPTION_TESTS_long_double): Likewise.
36679         * sysdeps/mips/mips64/libm-test-ulps: Update.
36681         * include/features.h (__USE_BSD): Remove macro definitions.
36682         (__USE_SVID): Likewise.
36683         (_BSD_SOURCE): Likewise.
36684         (_SVID_SOURCE): Likewise.
36685         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
36686         from definition of _DEFAULT_SOURCE.
36687         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
36688         [_DEFAULT_SOURCE].
36689         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
36690         * bits/mman.h [__USE_BSD]: Likewise.
36691         * bits/termios.h [__USE_BSD]: Likewise.
36692         * bits/waitstatus.h [__USE_BSD]: Likewise.
36693         * ctype/ctype.h [__USE_SVID]: Likewise.
36694         * dirent/dirent.h [__USE_BSD]: Likewise.
36695         * grp/grp.h [__USE_SVID]: Likewise.
36696         [__USE_BSD]: Likewise.
36697         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
36698         * io/fcntl.h [__USE_BSD]: Likewise.
36699         * io/ftw.h [__USE_BSD]: Likewise.
36700         * io/sys/stat.h [__USE_BSD]: Likewise.
36701         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
36702         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
36703         * libio/stdio.h [__USE_SVID]: Likewise.
36704         [__USE_BSD]: Likewise.
36705         * math/math.h [__USE_SVID]: Likewise.
36706         [__USE_BSD]: Likewise.
36707         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
36708         * misc/bits/syslog.h [__USE_BSD]: Likewise.
36709         * misc/search.h [__USE_SVID]: Likewise.
36710         * misc/sys/mman.h [__USE_BSD]: Likewise.
36711         * misc/sys/syslog.h [__USE_BSD]: Likewise.
36712         * misc/sys/uio.h [__USE_BSD]: Likewise.
36713         * posix/bits/unistd.h [__USE_BSD]: Likewise.
36714         * posix/glob.h [__USE_BSD]: Likewise.
36715         * posix/regex.h [__USE_BSD]: Likewise.
36716         * posix/sys/types.h [__USE_BSD]: Likewise.
36717         [__USE_SVID]: Likewise.
36718         * posix/sys/utsname.h [__USE_SVID]: Likewise.
36719         * posix/sys/wait.h [__USE_BSD]: Likewise.
36720         [__USE_SVID]: Likewise.
36721         * posix/unistd.h [__USE_BSD]: Likewise.
36722         [__USE_SVID]: Likewise.
36723         * pwd/pwd.h [__USE_SVID]: Likewise.
36724         * resolv/netdb.h [__USE_BSD]: Likewise.
36725         * setjmp/setjmp.h [__USE_BSD]: Likewise.
36726         * signal/signal.h [__USE_BSD]: Likewise.
36727         [__USE_SVID]: Likewise.
36728         * socket/sys/socket.h [__USE_BSD]: Likewise.
36729         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
36730         * stdlib/stdlib.h [__USE_BSD]: Likewise.
36731         [__USE_SVID]: Likewise.
36732         * string/bits/string2.h [__USE_BSD]: Likewise.
36733         [__USE_SVID]: Likewise.
36734         * string/bits/string3.h [__USE_BSD]: Likewise.
36735         * string/endian.h [__USE_BSD]: Likewise.
36736         * string/string.h [__USE_SVID]: Likewise.
36737         [__USE_BSD]: Likewise.
36738         * string/strings.h [__USE_BSD]: Likewise.
36739         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
36740         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
36741         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
36742         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
36743         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
36744         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
36745         Likewise.
36746         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
36747         Likewise.
36748         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
36749         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
36750         Likewise.
36751         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
36752         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
36753         Likewise.
36754         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
36755         Likewise.
36756         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
36757         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
36758         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
36759         Likewise.
36760         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
36761         Likewise.
36762         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
36763         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
36764         * termios/termios.h [__USE_BSD]: Likewise.
36765         * time/sys/time.h [__USE_BSD]: Likewise.
36766         * time/time.h [__USE_BSD]: Likewise.
36767         [__USE_SVID]: Likewise.
36769         * Makefile (subdir_targets): Remove subdir_lint.out.
36771         * stdio-common/Makefile (do-tst-unbputc): Remove target.
36772         (do-tst-printf): Likewise.
36773         (tests): Depend directly on $(objpfx)tst-unbputc.out and
36774         $(objpfx)tst-printf.out.
36776         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
36778         * Makerules (check-abi-%): Change target to
36779         $(objpfx)check-abi-%.out.
36780         (check-abi target): Update dependencies.
36781         (check-abi-pattern variable): Redirect output of diff to $@.
36782         (check-abi variable): Likewise.
36783         * elf/Makefile (check-abi): Update dependencies.
36785         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
36786         unused.
36787         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
36788         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
36789         subnormal range.
36790         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
36791         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
36792         value has largest subnormal exponent.
36793         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
36794         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
36795         * sysdeps/aarch64/soft-fp/sfp-machine.h
36796         (_FP_TININESS_AFTER_ROUNDING): New macro.
36797         * sysdeps/alpha/soft-fp/sfp-machine.h
36798         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36799         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36800         Likewise.
36801         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
36802         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36803         * sysdeps/mips/soft-fp/sfp-machine.h
36804         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36805         * sysdeps/powerpc/soft-fp/sfp-machine.h
36806         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36807         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36808         Likewise.
36809         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36810         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36811         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36812         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36813         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36814         Likewise.
36816 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
36818         [BZ #16545]
36819         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
36820         model 1.
36822 2014-02-12  Richard Henderson  <rth@redhat.com>
36824         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
36825         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
36826         * sysdeps/unix/sysv/linux/alpha: Move directory from
36827         ports/sysdeps/unix/sysv/linux/alpha.
36828         * README: Update listing for alpha-*-linux-gnu.
36830 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
36832         * include/features.h: Update comment documenting feature test
36833         macros.
36834         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
36835         _DEFAULT_SOURCE.
36836         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
36837         (_SVID_SOURCE): Likewise.
36838         (_DEFAULT_SOURCE): Update description of default features.
36839         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
36840         with _GNU_SOURCE.
36841         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
36842         (S_ISVTX): Likewise.
36843         * manual/math.texi (Mathematical Constants): Likewise.
36844         * manual/signal.texi (Interrupted Primitives): Likewise.
36845         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
36846         * math/test-matherr.c (_SVID_SOURCE): Do not define.
36847         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
36848         Don't refer to _SVID_SOURCE in warning text.
36850         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36852         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
36853         already defined.
36854         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
36855         * sysdeps/mips/dl-lookup.c: Remove.
36856         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
36858 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36860         [BZ #16447]
36861         * math/auto-libm-test-in: Add testcase for expl.
36862         * math/auto-libm-test-out: Regenerate.
36863         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
36864         calculation of unsafe.
36865         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
36867 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36869         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
36870         * sysdeps/unix/sysv/linux/aarch64: Move directory from
36871         ports/sysdeps/unix/sysv/linux/aarch64.
36872         * README: Update listing for aarch64*-*-linux-gnu.
36874 2014-02-11  Will Newton  <will.newton@linaro.org>
36876         * manual/probes.texi (Mathematical Function Probes): Use
36877         "triggered" instead of "hit".
36879         * manual/probes.texi (Internal Probes): Add documentation
36880         of setjmp, longjmp and longjmp_target probes.
36882         * include/stap-probe.h: Add comment about probe argument
36883         format.
36885         * malloc/mtrace.c (attribute_hidden): Remove unused macro
36886         definition.  (tr_where, tr_freehook, tr_mallochook,
36887         tr_reallochook, tr_memalignhook): Use ANSI protoype.
36889 2014-02-11  David S. Miller  <davem@davemloft.net>
36891         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
36892         processing int_tests.
36894 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
36896         * sysdeps/mips: Move directory from ports/sysdeps/mips.
36897         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
36898         * sysdeps/unix/sysv/linux/mips: Move directory from
36899         ports/sysdeps/unix/sysv/linux/mips.
36900         * README: Update listing for mips-*-linux-gnu and
36901         mips64-*-linux-gnu.
36903 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
36905         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
36906         * sysdeps/unix/sysv/linux/m68k: Move directory from
36907         ports/sysdeps/unix/sysv/linux/m68k.
36908         * README: Update listing for m68k-*-linux-gnu.
36910 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
36912         * sysdeps/tile: Move directory from ports/sysdeps/tile.
36913         * sysdeps/unix/sysv/linux/generic: Move directory from
36914         ports/sysdeps/unix/sysv/linux/generic.
36915         * sysdeps/unix/sysv/linux/tile: Move directory from
36916         ports/sysdeps/unix/sysv/linux/tile.
36917         * README: Update listing for tile*-*-linux-gnu.
36919 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
36921         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
36922         __builtin_expect.
36923         * benchtests/bench-memmem.c (simple_memmem): Likewise.
36924         * catgets/open_catalog.c (__open_catalog): Likewise.
36925         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
36926         * debug/confstr_chk.c: Likewise.
36927         * debug/fread_chk.c (__fread_chk): Likewise.
36928         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
36929         * debug/getgroups_chk.c: Likewise.
36930         * debug/mbsnrtowcs_chk.c: Likewise.
36931         * debug/mbsrtowcs_chk.c: Likewise.
36932         * debug/mbstowcs_chk.c: Likewise.
36933         * debug/memcpy_chk.c: Likewise.
36934         * debug/memmove_chk.c: Likewise.
36935         * debug/mempcpy_chk.c: Likewise.
36936         * debug/memset_chk.c: Likewise.
36937         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
36938         * debug/strcat_chk.c (__strcat_chk): Likewise.
36939         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
36940         * debug/strncat_chk.c (__strncat_chk): Likewise.
36941         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
36942         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
36943         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
36944         * debug/wcpncpy_chk.c: Likewise.
36945         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
36946         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
36947         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
36948         * debug/wcsncpy_chk.c: Likewise.
36949         * debug/wcsnrtombs_chk.c: Likewise.
36950         * debug/wcsrtombs_chk.c: Likewise.
36951         * debug/wcstombs_chk.c: Likewise.
36952         * debug/wmemcpy_chk.c: Likewise.
36953         * debug/wmemmove_chk.c: Likewise.
36954         * debug/wmempcpy_chk.c: Likewise.
36955         * debug/wmemset_chk.c: Likewise.
36956         * dirent/scandirat.c (SCANDIRAT): Likewise.
36957         * dlfcn/dladdr1.c (dladdr1): Likewise.
36958         * dlfcn/dladdr.c (dladdr): Likewise.
36959         * dlfcn/dlclose.c (dlclose_doit): Likewise.
36960         * dlfcn/dlerror.c (__dlerror): Likewise.
36961         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
36962         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
36963         * dlfcn/dlopen.c (dlopen_doit): Likewise.
36964         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
36965         * dlfcn/dlsym.c (dlsym_doit): Likewise.
36966         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
36967         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
36968         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
36969         Likewise.
36970         * elf/dl-conflict.c: Likewise.
36971         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
36972         * elf/dl-dst.h: Likewise.
36973         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
36974         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
36975         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
36976         * elf/dl-init.c (call_init, _dl_init): Likewise.
36977         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
36978         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
36979         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
36980         Likewise.
36981         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
36982         Likewise.
36983         * elf/dl-minimal.c (__libc_memalign): Likewise.
36984         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
36985         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
36986         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
36987         * elf/dl-sym.c (do_sym): Likewise.
36988         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
36989         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
36990         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
36991         * elf/dl-writev.h (_dl_writev): Likewise.
36992         * elf/ldconfig.c (search_dir): Likewise.
36993         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
36994         (dl_main): Likewise.
36995         * elf/setup-vdso.h (setup_vdso): Likewise.
36996         * grp/compat-initgroups.c (compat_call): Likewise.
36997         * grp/fgetgrent.c (fgetgrent): Likewise.
36998         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
36999         * grp/putgrent.c (putgrent): Likewise.
37000         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37001         Likewise.
37002         * hurd/hurdinit.c: Likewise.
37003         * iconvdata/8bit-gap.c (struct): Likewise.
37004         * iconvdata/ansi_x3.110.c : Likewise.
37005         * iconvdata/big5.c : Likewise.
37006         * iconvdata/big5hkscs.c : Likewise.
37007         * iconvdata/cp1255.c: Likewise.
37008         * iconvdata/cp1258.c : Likewise.
37009         * iconvdata/cp932.c : Likewise.
37010         * iconvdata/euc-cn.c: Likewise.
37011         * iconvdata/euc-jisx0213.c : Likewise.
37012         * iconvdata/euc-jp.c: Likewise.
37013         * iconvdata/euc-jp-ms.c : Likewise.
37014         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
37015         * iconvdata/gb18030.c : Likewise.
37016         * iconvdata/gbbig5.c (const): Likewise.
37017         * iconvdata/gbgbk.c: Likewise.
37018         * iconvdata/gbk.c : Likewise.
37019         * iconvdata/ibm1364.c : Likewise.
37020         * iconvdata/ibm930.c : Likewise.
37021         * iconvdata/ibm932.c: Likewise.
37022         * iconvdata/ibm933.c : Likewise.
37023         * iconvdata/ibm935.c : Likewise.
37024         * iconvdata/ibm937.c : Likewise.
37025         * iconvdata/ibm939.c : Likewise.
37026         * iconvdata/ibm943.c: Likewise.
37027         * iconvdata/iso_11548-1.c: Likewise.
37028         * iconvdata/iso-2022-cn.c : Likewise.
37029         * iconvdata/iso-2022-cn-ext.c : Likewise.
37030         * iconvdata/iso-2022-jp-3.c: Likewise.
37031         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
37032         * iconvdata/iso-2022-kr.c : Likewise.
37033         * iconvdata/iso646.c (gconv_end): Likewise.
37034         * iconvdata/iso_6937-2.c : Likewise.
37035         * iconvdata/iso_6937.c : Likewise.
37036         * iconvdata/iso8859-1.c: Likewise.
37037         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
37038         * iconvdata/shift_jisx0213.c : Likewise.
37039         * iconvdata/sjis.c : Likewise.
37040         * iconvdata/t.61.c : Likewise.
37041         * iconvdata/tcvn5712-1.c : Likewise.
37042         * iconvdata/tscii.c: Likewise.
37043         * iconvdata/uhc.c : Likewise.
37044         * iconvdata/unicode.c (gconv_end): Likewise.
37045         * iconvdata/utf-16.c (gconv_end): Likewise.
37046         * iconvdata/utf-32.c (gconv_end): Likewise.
37047         * iconvdata/utf-7.c (base64): Likewise.
37048         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
37049         * iconv/gconv_close.c (__gconv_close): Likewise.
37050         * iconv/gconv_open.c (__gconv_open): Likewise.
37051         * iconv/gconv_simple.c (internal_ucs4_loop_single)
37052         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
37053         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
37054         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
37055         (ucs4le_internal_loop_single): Likewise.
37056         * iconv/iconv.c (iconv): Likewise.
37057         * iconv/iconv_close.c: Likewise.
37058         * iconv/loop.c (SINGLE): Likewise.
37059         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
37060         * include/atomic.h: Likewise.
37061         * inet/inet6_option.c (option_alloc): Likewise.
37062         * intl/bindtextdom.c (set_binding_values): Likewise.
37063         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
37064         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
37065         * intl/localealias.c (read_alias_file): Likewise.
37066         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
37067         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
37068         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
37069         * libio/fmemopen.c (fmemopen): Likewise.
37070         * libio/iofgets.c (_IO_fgets): Likewise.
37071         * libio/iofgets_u.c (fgets_unlocked): Likewise.
37072         * libio/iofgetws.c (fgetws): Likewise.
37073         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
37074         * libio/iogetdelim.c (_IO_getdelim): Likewise.
37075         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
37076         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
37077         * locale/findlocale.c (_nl_find_locale): Likewise.
37078         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
37079         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
37080         Likewise.
37081         * locale/setlocale.c (setlocale): Likewise.
37082         * login/programs/pt_chown.c (main): Likewise.
37083         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
37084         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
37085         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
37086         (mmap, mmap64, mremap, munmap): Likewise.
37087         * math/e_exp2l.c: Likewise.
37088         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
37089         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
37090         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
37091         * math/s_catan.c (__catan): Likewise.
37092         * math/s_catanf.c (__catanf): Likewise.
37093         * math/s_catanh.c (__catanh): Likewise.
37094         * math/s_catanhf.c (__catanhf): Likewise.
37095         * math/s_catanhl.c (__catanhl): Likewise.
37096         * math/s_catanl.c (__catanl): Likewise.
37097         * math/s_ccosh.c (__ccosh): Likewise.
37098         * math/s_ccoshf.c (__ccoshf): Likewise.
37099         * math/s_ccoshl.c (__ccoshl): Likewise.
37100         * math/s_cexp.c (__cexp): Likewise.
37101         * math/s_cexpf.c (__cexpf): Likewise.
37102         * math/s_cexpl.c (__cexpl): Likewise.
37103         * math/s_clog10.c (__clog10): Likewise.
37104         * math/s_clog10f.c (__clog10f): Likewise.
37105         * math/s_clog10l.c (__clog10l): Likewise.
37106         * math/s_clog.c (__clog): Likewise.
37107         * math/s_clogf.c (__clogf): Likewise.
37108         * math/s_clogl.c (__clogl): Likewise.
37109         * math/s_csin.c (__csin): Likewise.
37110         * math/s_csinf.c (__csinf): Likewise.
37111         * math/s_csinh.c (__csinh): Likewise.
37112         * math/s_csinhf.c (__csinhf): Likewise.
37113         * math/s_csinhl.c (__csinhl): Likewise.
37114         * math/s_csinl.c (__csinl): Likewise.
37115         * math/s_csqrt.c (__csqrt): Likewise.
37116         * math/s_csqrtf.c (__csqrtf): Likewise.
37117         * math/s_csqrtl.c (__csqrtl): Likewise.
37118         * math/s_ctan.c (__ctan): Likewise.
37119         * math/s_ctanf.c (__ctanf): Likewise.
37120         * math/s_ctanh.c (__ctanh): Likewise.
37121         * math/s_ctanhf.c (__ctanhf): Likewise.
37122         * math/s_ctanhl.c (__ctanhl): Likewise.
37123         * math/s_ctanl.c (__ctanl): Likewise.
37124         * math/w_pow.c: Likewise.
37125         * math/w_powf.c: Likewise.
37126         * math/w_powl.c: Likewise.
37127         * math/w_scalb.c (sysv_scalb): Likewise.
37128         * math/w_scalbf.c (sysv_scalbf): Likewise.
37129         * math/w_scalbl.c (sysv_scalbl): Likewise.
37130         * misc/error.c (error_tail): Likewise.
37131         * misc/pselect.c (__pselect): Likewise.
37132         * nis/nis_callback.c (__nis_create_callback): Likewise.
37133         * nis/nis_call.c (__nisfind_server): Likewise.
37134         * nis/nis_creategroup.c (nis_creategroup): Likewise.
37135         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
37136         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
37137         * nis/nis_getservlist.c (nis_getservlist): Likewise.
37138         * nis/nis_lookup.c (nis_lookup): Likewise.
37139         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
37140         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
37141         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
37142         * nis/nis_xdr.c (xdr_endpoint): Likewise.
37143         * nis/nss_compat/compat-grp.c (getgrent_next_file)
37144         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
37145         * nis/nss_compat/compat-initgroups.c (add_group)
37146         (internal_getgrent_r): Likewise.
37147         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
37148         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
37149         * nis/nss_compat/compat-spwd.c (getspent_next_file)
37150         (internal_getspnam_r): Likewise.
37151         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
37152         (_nss_nis_getaliasbyname_r): Likewise.
37153         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
37154         (_nss_nis_getntohost_r): Likewise.
37155         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
37156         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
37157         (_nss_nis_getgrgid_r): Likewise.
37158         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
37159         (internal_nis_gethostent_r, internal_gethostbyname2_r)
37160         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
37161         (_nss_nis_gethostbyname4_r): Likewise.
37162         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
37163         (initgroups_netid): Likewise.
37164         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
37165         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
37166         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
37167         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
37168         (_nss_nis_getprotobynumber_r): Likewise.
37169         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
37170         (_nss_nis_getsecretkey): Likewise.
37171         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
37172         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
37173         (_nss_nis_getpwuid_r): Likewise.
37174         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
37175         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
37176         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
37177         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
37178         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
37179         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
37180         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
37181         Likewise.
37182         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
37183         (_nss_nisplus_getntohost_r): Likewise.
37184         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
37185         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
37186         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
37187         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
37188         Likewise.
37189         * nis/nss_nisplus/nisplus-initgroups.c
37190         (_nss_nisplus_initgroups_dyn): Likewise.
37191         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
37192         (_nss_nisplus_getnetbyaddr_r): Likewise.
37193         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
37194         (_nss_nisplus_getprotobynumber_r): Likewise.
37195         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
37196         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
37197         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
37198         Likewise.
37199         * nis/nss_nisplus/nisplus-service.c
37200         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
37201         (_nss_nisplus_getservbyport_r): Likewise.
37202         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
37203         (_nss_nisplus_getspnam_r): Likewise.
37204         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
37205         Likewise.
37206         * nscd/aicache.c (addhstaiX): Likewise.
37207         * nscd/cache.c (cache_search, prune_cache): Likewise.
37208         * nscd/connections.c (register_traced_file, send_ro_fd)
37209         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
37210         (main_loop_epoll): Likewise.
37211         * nscd/grpcache.c (addgrbyX): Likewise.
37212         * nscd/hstcache.c (addhstbyX): Likewise.
37213         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37214         * nscd/mem.c (gc, mempool_alloc): Likewise.
37215         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
37216         (addinnetgrX): Likewise.
37217         * nscd/nscd-client.h (__nscd_acquire_maplock)
37218         (__nscd_drop_map_ref): Likewise.
37219         * nscd/nscd_getai.c (__nscd_getai): Likewise.
37220         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
37221         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
37222         Likewise.
37223         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
37224         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37225         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
37226         (__nscd_get_map_ref): Likewise.
37227         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
37228         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
37229         Likewise.
37230         * nscd/pwdcache.c (addpwbyX): Likewise.
37231         * nscd/selinux.c (preserve_capabilities): Likewise.
37232         * nscd/servicescache.c (addservbyX): Likewise.
37233         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
37234         * posix/fnmatch.c (fnmatch): Likewise.
37235         * posix/getopt.c (_getopt_internal_r): Likewise.
37236         * posix/glob.c (glob, glob_in_dir): Likewise.
37237         * posix/wordexp.c (exec_comm_child): Likewise.
37238         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
37239         (getanswer_r, gaih_getanswer_slice): Likewise.
37240         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
37241         * resolv/res_init.c: Likewise.
37242         * resolv/res_mkquery.c (res_nmkquery): Likewise.
37243         * resolv/res_query.c (__libc_res_nquery): Likewise.
37244         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
37245         Likewise.
37246         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
37247         * stdio-common/perror.c (perror): Likewise.
37248         * stdio-common/printf_fp.c (___printf_fp): Likewise.
37249         * stdio-common/tmpnam.c (tmpnam): Likewise.
37250         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
37251         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
37252         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
37253         Likewise.
37254         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
37255         * stdlib/putenv.c (putenv): Likewise.
37256         * stdlib/setenv.c (__add_to_environ): Likewise.
37257         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
37258         * stdlib/strtol_l.c (INTERNAL): Likewise.
37259         * string/memmem.c (memmem): Likewise.
37260         * string/strerror.c (strerror): Likewise.
37261         * string/strnlen.c (__strnlen): Likewise.
37262         * string/test-memmem.c (simple_memmem): Likewise.
37263         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
37264         * sunrpc/pm_getport.c (__get_socket): Likewise.
37265         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
37266         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
37267         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
37268         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
37269         Likewise.
37270         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
37271         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
37272         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
37273         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
37274         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
37275         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
37276         Likewise.
37277         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
37278         Likewise.
37279         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
37280         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
37281         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37282         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
37283         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
37284         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
37285         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37286         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
37287         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
37288         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
37289         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37290         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
37291         Likewise.
37292         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
37293         Likewise.
37294         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
37295         Likewise.
37296         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
37297         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37298         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
37299         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
37300         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
37301         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
37302         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37303         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
37304         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
37305         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
37306         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
37307         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37308         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
37309         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
37310         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37311         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
37312         Likewise.
37313         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
37314         Likewise.
37315         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
37316         Likewise.
37317         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
37318         Likewise.
37319         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37320         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37321         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
37322         Likewise.
37323         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
37324         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
37325         * sysdeps/posix/opendir.c (__opendirat): Likewise.
37326         * sysdeps/posix/sleep.c: Likewise.
37327         * sysdeps/posix/tempname.c: Likewise.
37328         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
37329         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37330         Likewise.
37331         * sysdeps/powerpc/powerpc32/dl-machine.h
37332         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
37333         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
37334         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37335         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
37336         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
37337         Likewise.
37338         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
37339         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
37340         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
37341         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
37342         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
37343         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
37344         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
37345         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
37346         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37347         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
37348         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
37349         (elf_machine_lazy_rel): Likewise.
37350         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37351         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
37352         (elf_machine_lazy_rel): Likewise.
37353         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
37354         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
37355         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
37356         * sysdeps/unix/grantpt.c (grantpt): Likewise.
37357         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
37358         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
37359         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
37360         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37361         Likewise.
37362         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
37363         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
37364         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
37365         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
37366         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37367         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37368         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
37369         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
37370         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
37371         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37372         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37373         Likewise.
37374         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
37375         (__posix_fallocate64_l64): Likewise.
37376         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
37377         (posix_fallocate): Likewise.
37378         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
37379         Likewise.
37380         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37381         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
37382         (getifaddrs_internal): Likewise.
37383         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
37384         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
37385         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
37386         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
37387         * sysdeps/unix/sysv/linux/posix_fallocate64.c
37388         (__posix_fallocate64_l64): Likewise.
37389         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
37390         Likewise.
37391         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
37392         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
37393         (__get_clockfreq): Likewise.
37394         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
37395         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
37396         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
37397         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37398         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37399         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
37400         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
37401         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
37402         Likewise.
37403         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
37404         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
37405         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
37406         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
37407         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37408         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
37409         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
37410         Likewise.
37411         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37412         (posix_fallocate): Likewise.
37413         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37414         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
37415         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
37416         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
37417         (elf_machine_rela, elf_machine_rela_relative)
37418         (elf_machine_lazy_rel): Likewise.
37419         * time/asctime.c (asctime_internal): Likewise.
37420         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
37421         * time/tzset.c (__tzset_parse_tz): Likewise.
37422         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37423         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
37424         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
37425         * wcsmbs/wcsmbsload.h: Likewise.
37427         [BZ #15894]
37428         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
37430         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
37431         (arena_get2): Remove THREAD_STATS conditionals.
37432         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
37433         (__malloc_stats, int): Likewise.
37435 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
37437         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
37438         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
37440         * manual/setjmp.texi: Fix typos/grammar errors.
37442         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
37443         Only return early when n is <= 0.  Delete unused return statement.
37445         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
37446         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
37447         * debug/tst-longjmp_chk3.c: New file.
37449         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
37450         (test_main): Replace code with set_fortify_handler call.
37451         * debug/test-strcpy_chk.c: Likewise.
37452         * debug/tst-chk1.c: Likewise.
37453         * debug/tst-longjmp_chk.c: Likewise.
37454         * test-skeleton.c: Include fcntl.h & paths.h
37455         (set_fortify_handler): Define.
37457         * debug/tst-longjmp_chk.c: Add header comment and include
37458         ../test-skeleton.c.
37459         (do_test): Mark static.
37460         (TEST_FUNCTION): Define.
37462         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
37463         (IP_PMTUDISC_INTERFACE): Likewise.
37464         (IP_MULTICAST_IF): Likewise.
37465         (IP_MULTICAST_TTL): Likewise.
37466         (IP_MULTICAST_LOOP): Likewise.
37467         (IP_ADD_MEMBERSHIP): Likewise.
37468         (IP_DROP_MEMBERSHIP): Likewise.
37469         (IP_UNBLOCK_SOURCE): Likewise.
37470         (IP_BLOCK_SOURCE): Likewise.
37471         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
37472         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
37473         (IP_MSFILTER): Likewise.
37474         (MCAST_JOIN_GROUP): Likewise.
37475         (MCAST_BLOCK_SOURCE): Likewise.
37476         (MCAST_UNBLOCK_SOURCE): Likewise.
37477         (MCAST_LEAVE_GROUP): Likewise.
37478         (MCAST_JOIN_SOURCE_GROUP): Likewise.
37479         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
37480         (MCAST_MSFILTER): Likewise.
37481         (IP_MULTICAST_ALL): Likewise.
37482         (IP_UNICAST_IF): Likewise.
37484         * timezone/Makefile: Delete $(have-ksh) check.
37485         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
37486         * timezone/tzselect.ksh: Add +x mode bits.
37488         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
37489         (ANON_INODE_FS_MAGIC): Likewise.
37490         (BDEVFS_MAGIC): Likewise.
37491         (BINFMTFS_MAGIC): Likewise.
37492         (BTRFS_TEST_MAGIC): Likewise.
37493         (CRAMFS_MAGIC_WEND): Likewise.
37494         (DEBUGFS_MAGIC): Likewise.
37495         (ECRYPTFS_SUPER_MAGIC): Likewise.
37496         (EXT3_SUPER_MAGIC): Likewise.
37497         (EXT4_SUPER_MAGIC): Likewise.
37498         (FUTEXFS_SUPER_MAGIC): Likewise.
37499         (HOSTFS_SUPER_MAGIC): Likewise.
37500         (HUGETLBFS_MAGIC): Likewise.
37501         (MINIX3_SUPER_MAGIC): Likewise.
37502         (MTD_INODE_FS_MAGIC): Likewise.
37503         (NILFS_SUPER_MAGIC): Likewise.
37504         (OPENPROM_SUPER_MAGIC): Likewise.
37505         (PIPEFS_MAGIC): Likewise.
37506         (PSTOREFS_MAGIC): Likewise.
37507         (QNX6_SUPER_MAGIC): Likewise.
37508         (RAMFS_MAGIC): Likewise.
37509         (REISERFS_SUPER_MAGIC_STRING): Likewise.
37510         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
37511         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
37512         (SECURITYFS_MAGIC): Likewise.
37513         (SELINUX_MAGIC): Likewise.
37514         (SMACK_MAGIC): Likewise.
37515         (SOCKFS_MAGIC): Likewise.
37516         (SQUASHFS_MAGIC): Likewise.
37517         (STACK_END_MAGIC): Likewise.
37518         (TMPFS_MAGIC): Likewise.
37519         (USBDEVICE_SUPER_MAGIC): Likewise.
37520         (V9FS_MAGIC): Likewise.
37521         (XENFS_SUPER_MAGIC): Likewise.
37522         (CRAMFS_MAGIC): Fix typo in comment.
37523         (EXT2_SUPER_MAGIC): Update comment.
37524         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
37526 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
37528         * sysdeps/arm: Move directory from ports/sysdeps/arm.
37529         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
37530         * sysdeps/unix/sysv/linux/arm: Move directory from
37531         ports/sysdeps/unix/sysv/linux/arm.
37532         * README: Update listing for arm-*-linux-gnueabi.
37534         * README: Remove mention of am33.
37536 2014-02-07  Roland McGrath  <roland@hack.frob.com>
37538         * bits/sigset.h (__sigemptyset): Use a statement expression rather
37539         than the comma operator, to avoid "rhs of comma has no effect"
37540         compiler warnings.
37541         (__sigfillset, __sigandset, __sigorset): Likewise.
37542         * include/signal.h (__sigemptyset): Likewise.
37543         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
37545 2014-02-07  Allan McRae  <allan@archlinux.org>
37547         * version.h (RELEASE): Set to "development".
37548         (VERSION): Set to "2.19.90"
37549         * NEWS: Add 2.20 section.
37551 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
37553         [BZ #16529]
37554         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
37556 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37558         * manual/contrib.texi: Update entry for Carlos O'Donell,
37559         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
37561 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
37563         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
37565         * sysdeps/unix/sysv/linux/kernel-features.h
37566         [__LINUX_KERNEL_VERSION >= 0x020621]
37567         (__ASSUME_PROC_PID_TASK_COMM): Define.
37569 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37571         [BZ #16398]
37572         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
37573         conversion when destination buffer does not have enough space.
37574         * libio/tst-ftell-partial-wide.c: New test case.
37575         * libio/Makefile (tests): Add tst-ftell-partial-wide.
37577         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
37578         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
37579         Leonard and Allan McRae.
37581 2014-02-04  David S. Miller  <davem@davemloft.net>
37583         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
37584         32-bit.
37586 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
37589         New file
37590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
37591         New file
37592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
37593         New file.
37594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
37595         New file.
37596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
37597         New file.
37598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
37599         New file.
37600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
37601         New file.
37602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
37603         New file.
37604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
37605         New file.
37606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
37607         New file.
37608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
37609         New file.
37610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
37611         New file.
37612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
37613         New file.
37615 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37617         * nptl/shlib-versions: Change powerpc*le start to 2.17.
37618         * shlib-versions: Likewise.
37620 2014-02-04  Roland McGrath  <roland@hack.frob.com>
37621             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37623         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
37624         (abilist-pattern): New variable, set to %-le.abilist.
37626         * Makerules (abilist-pattern): New variable.
37627         (vpath): Use $(abilist-pattern) in place of %.abilist.
37628         (check-abi-% pattern rule): Likewise.
37629         (check-abi, update-abi): Likewise.
37631 2014-02-04  Eric Wong  <normalperson@yhbt.net>
37633         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37635 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
37637         * manual/startup.texi: Add next, previous, and top entries for
37638         the `Program Arguments' and `Environment Variables' nodes.
37640 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
37642         * manual/macros.texi: Add comments before MTASC-safety macros.
37644         * manual/users.texi: Document MTASC-safety properties.
37646         * manual/threads.texi (pthread_key_create, pthread_key_delete)
37647         (pthread_getspecific, pthread_setspecific): Format with
37648         @deftypefun, and add @safety note.
37649         * manual/signal.texi: Move comments that analyze the above
37650         functions to their home place.
37652 2014-02-03  Allan McRae  <allan@archlinux.org>
37654         * po/sl.po: Update Slovenian translation from translation project.
37656 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
37658         * manual/time.texi (timegm): Add missing blank after @c.
37659         Reported by Joseph Myers <joseph@codesourcery.com>.
37661 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
37663         * manual/check-safety.sh: New.
37664         * manual/Makefile ($(objpfx)stamp-summary): Run it.
37666         * manual/terminal.texi: Document MTASC-safety properties.
37668         * manual/filesys.texi: Document MTASC-safety properties.
37670         * manual/errno.texi: Document MTASC-safety properties.
37672         * manual/intro.texi: Document safety identifiers and
37673         conditionals.
37675         * manual/string.texi (wcstok): Fix prototype.
37676         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
37678         * manual/time.texi: Document MTASC-safety properties.
37680         * manual/string.texi: Document MTASC-safety properties.
37682         * manual/threads.texi: Document MTASC-safety properties.
37684         * manual/stdio.texi: Document MTASC-safety properties.
37686         * manual/syslog.texi: Document MTASC-safety properties.
37688         * manual/sysinfo.texi: Document MTASC-safety properties.
37690         * manual/startup.texi: Document MTASC-safety properties.
37692         * manual/socket.texi: Document MTASC-safety properties.
37694         * manual/signal.texi: Document MTASC-safety properties.
37696 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
37698         * manual/setjmp.texi: Document MTASC-safety properties.
37700         * manual/search.texi: Document MTASC-safety properties.
37702         * manual/resource.texi: Document MTASC-safety properties.
37704         * manual/process.texi: Document MTASC-safety properties.
37706         * manual/platform.texi: Document MTASC-safety properties.
37708         * manual/pipe.texi: Document MTASC-safety properties.
37710         * manual/pattern.texi: Document MTASC-safety properties.
37712         * manual/message.texi: Document MTASC-safety properties.
37714         [BZ #12751]
37715         * manual/memory.texi: Document MTASC-safety properties.
37717         * manual/math.texi: Document MTASC-safety properties.
37719         * manual/locale.texi: Document MTASC-safety properties.
37721         * manual/llio.texi: Document MTASC-safety properties.
37723         * manual/libdl.texi: New.
37725         * manual/lang.texi: Document MTASC-safety properties.
37727         * manual/job.texi: Document MTASC-safety properties.
37729         * manual/getopt.texi: Document MTASC-safety properties.
37731         * manual/ctype.texi: Document MTASC-safety properties.
37733 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
37735         [BZ #16046]
37736         * csu/libc-tls.c (static_map): Remove variable.
37737         (__libc_setup_tls): Use main executable's link map for TLS data.
37738         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
37739         casing for LM_ID_BASE and GL(dl_nns).
37740         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
37741         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
37742         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
37743         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
37744         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
37745         member.
37746         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
37747         l_phnum members.
37749 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
37751         * manual/debug.texi: Document MTASC-safety properties.
37753 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
37755         [BZ #16510]
37756         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
37757         of __x86_64__ when disabling x87 inline functions.
37759 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
37761         * manual/charset.texi: Document MTASC-safety properties.
37763         * manual/crypt.texi: Document MTASC-safety properties.
37765         * manual/conf.texi: Document MTASC-safety properties.
37767         * manual/arith.texi: Document MTASC-safety properties.
37769         * manual/argp.texi: Document MTASC-safety properties.
37771         * manual/macros.texi: Introduce macros to document multi
37772         thread, asynchronous signal and asynchronous cancellation
37773         safety properties.
37774         * manual/intro.texi: Introduce the properties themselves.
37776 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37778         * sysdeps/sh/sh4/Makefile: New file.
37780 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
37782         * math/gen-libm-test.pl ($srcdir): New variable.
37783         ($auto_input): Use it.
37785 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37787         [BZ #16506]
37788         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
37789         access beyond array bounds when parsing netgroups file.
37791         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
37792         the old buffer before realloc.
37794 2014-01-27  Allan McRae  <allan@archlinux.org>
37796         * po/fr.po: Update French translation from translation project.
37798 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37800         * sysdeps/sh/libm-test-ulps: Regenerate.
37802 2014-01-24  David S. Miller  <davem@davemloft.net>
37804         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
37806 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37808         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
37809         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
37811 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37813         [BZ #16474]
37814         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
37815         string pointers after reallocation.
37817 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37819         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
37820         __SH4A__ instead of __SH_FPU_ANY__.
37822 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37824         * sysdeps/sh/fpu_control.h: New file.
37825         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
37826         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
37827         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
37828         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
37829         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
37830         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
37831         * sysdeps/sh/sys/ucontext.h: Remove.
37832         * sysdeps/sh/sys: Remove directory.
37834 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37836         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
37837         s390/sys/ucontext.h.
37838         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
37839         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
37841 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
37843         [BZ #15605]
37844         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
37846 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37848         [BZ#16431]
37849         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37850         Adjust the vDSO correctly for internal calls.
37851         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
37853 2014-01-20  Allan McRae  <allan@archlinux.org>
37855         * po/ca.po: Update Catalan translation from translation project.
37857 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
37859         * sysdeps/s390/sotruss-lib.c: New file.
37861 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37863         [BZ#16430]
37864         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
37865         (__GI___gettimeofday): Alias for a different internal symbol to avoid
37866         local calls issues by not having a PLT stub required for IFUNC calls.
37867         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
37869 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
37871         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
37872         * math/test-fpucw-static.c: Likewise.
37874 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37876         [BZ #16453]
37877         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
37879 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37881         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
37882         implementation for powerpc.
37884 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
37886         [BZ #14782]
37887         * sysdeps/posix/system.c (__libc_system): Do not enable
37888         asynchronous cancellation.
37890 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37892         [BZ #16427]
37893         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
37894         handling only for numbers special also in the IEEE case.
37896 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37898         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37900 2014-01-11  Allan McRae  <allan@archlinux.org>
37902         * po/bg.po: Update Bulgarian translation from translation project.
37904         * po/de.po: Update German translation from translation project.
37906 2014-01-10  Roland McGrath  <roland@hack.frob.com>
37908         * sysdeps/generic/gcc-compat.h: New file.
37910 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37912         * benchtests/asin-inputs: Correct slow inputs.
37913         * benchtests/acos-inputs: Likewise.
37915 2014-01-10  Allan McRae  <allan@archlinux.org>
37917         * po:sv.po: Update Swedish translation from translation project.
37919         * po/vi.po: Update Vietnamese translation from translation project.
37921         * po/eo.po: Update Esperanto translation from translation project.
37923         * po/cs.po: Update Czech translation from translation project.
37925         * po/nl.po: Update Dutch translation from translation project.
37927         * po/pl.po: Update Polish translation from translation project.
37929         * po/ru.po: Update Russian translation from translation project.
37931         * po/uk.po: Update Ukrainian translation from translation project.
37933 2014-01-08  Brooks Moses  <bmoses@google.com>
37935         * elf/dl-load.c: Fix comment typo.
37937 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
37939         * po/header.pot: Rename to...
37940         * po/pot.header: ... this.
37941         * po/Makefile: Use pot.header.
37943 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
37944             Maxim Kuvyrkov  <maxim@kugelworks.com>
37946         [BZ #16394]
37947         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
37948         SRC and DEST against LEN.
37950 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37952         [BZ #16414]
37953         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
37954         implementation.
37955         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
37957 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37961 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
37963         [BZ #16408]
37964         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
37965         for large positive arguments.
37967 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
37969         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37971         * math/auto-libm-test-in: Mark various tests with
37972         xfail-rounding:ldbl-128ibm.
37973         * math/auto-libm-test-out: Regenerated.
37975         [BZ #16407]
37976         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
37977         Increase overflow threshold.
37979 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
37981         [BZ #14286]
37982         * stdio-common/vfprintf.c: Check for integer overflow.
37984 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37986         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
37987         the first argument and return value of __tls_get_addr_internal.
37989 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37991         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
37992         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
37994 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37996         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
37997         * sysdeps/s390/rtld-global-offsets.sym: New file.
37998         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
37999         GLIBC_2.19 symbol.
38000         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
38001         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
38002         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
38003         ... this.
38004         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
38005         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
38006         ... this.
38007         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38008         Regenerate.
38009         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38010         Regenerate.
38011         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
38012         halfs of GPRs for high_gprs contexts.
38013         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
38014         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
38015         field.
38016         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
38017         uc_flags field.
38018         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
38019         64 bit versions:
38020         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
38021         for high GPRs (uc_high_gprs) and for future extensions
38022         (__reserved).
38023         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
38024         for future extensions (__reserved).
38025         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
38026         64 bit versions:
38027         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
38028         SC_HIGHGPRS offset definition.
38029         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
38030         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
38032         * Versions.def: Add GLIBC_2.19 for libpthread.
38033         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
38034         siglongjmp for libpthread with GLIBC_2.19 symver.
38035         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
38036         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
38037         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
38038         * sysdeps/s390/__longjmp.c: New file.
38039         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
38040         * sysdeps/s390/longjmp.c: New file.
38041         * sysdeps/s390/setjmp.S: New file.
38042         * sysdeps/s390/sigjmp.S: New file.
38043         * sysdeps/s390/v1-longjmp.c: New file.
38044         * sysdeps/s390/v1-setjmp.h: New file.
38045         * sysdeps/s390/v1-sigjmp.c: New file.
38046         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
38047         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
38048         GLIBC_2.19 version.
38049         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
38050         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
38051         versioned symbols for ____longjmp_chk.
38052         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
38053         Likewise.
38054         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38055         Regenerate.
38056         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38057         Regenerate.
38058         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38059         Regenerate.
38060         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38061         Regenerate.
38062         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
38063         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
38064         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
38065         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
38066         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
38067         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
38068         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
38069         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
38070         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
38071         * sysdeps/s390/rtld-__longjmp.c: New file.
38072         * sysdeps/s390/rtld-setjmp.S: New file.
38074 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
38076         [BZ #16400]
38077         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
38078         Return -__logl (x) for small positive arguments without evaluating
38079         a polynomial.
38081 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
38083         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
38084         Rename to ...
38085         (__ptrace_peeksiginfo_args): ... this.
38086         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38087         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38088         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38090 2014-01-06  Allan McRae  <allan@archlinux.org>
38092         * inet/netinet/in.h: Fix typo in comment.
38094 2014-01-05  Andreas Jaeger  <aj@suse.de>
38096         * sysdeps/i386/fpu/libm-test-ulps: Update.
38098 2014-01-05  Allan McRae  <allan@archlinux.org>
38100         * po/libc.pot: Regenerated.
38102         * malloc/memusagestat.c: Fix gettext call formatting.
38104 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
38106         * nscd/nscd.c: Improve usage() output.
38108 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
38110         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
38111         * sysdeps/unix/sysv/linux/configure: Regenerated.
38112         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
38113         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
38115 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
38117         [BZ #16390]
38118         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
38119         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
38121 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38123         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
38124         extra tokens at end of #undef directive.
38125         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
38126         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
38127         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
38129 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
38131         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
38133         * math/auto-libm-test-in: Mark various tests with
38134         xfail-rounding:ldbl-128ibm.
38135         * math/auto-libm-test-out: Regenerated.
38137 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
38139         [BZ #16386]
38140         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
38141         numbers with subnormal high part when calculating exponent.
38143         [BZ #16385]
38144         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
38145         fabs.
38147         [BZ #16384]
38148         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
38149         M_LN2l.
38150         (__ieee754_acoshl): Use __log1pl not __log1p.
38152 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
38154         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
38155         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
38156         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
38157         (grow_heap, heap_trim, _int_new_arena, get_free_list)
38158         (reused_arena, arena_get2): Convert to GNU style.
38159         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
38160         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
38161         (memalign_check, __malloc_set_state): Likewise.
38162         * malloc/mallocbug.c (main): Likewise.
38163         * malloc/malloc.c (__malloc_assert, malloc_init_state)
38164         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
38165         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
38166         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
38167         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
38168         (__posix_memalign, malloc_info): Likewise.
38169         * malloc/malloc.h: Likewise.
38170         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
38171         (mallochook, memalignhook, reallochook, mabort): Likewise.
38172         * malloc/mcheck.h: Likewise.
38173         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
38174         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
38175         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
38176         * malloc/morecore.c (__default_morecore): Likewise.
38177         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
38178         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
38179         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
38180         (print_and_abort): Likewise.
38181         * malloc/obstack.h: Likewise.
38182         * malloc/set-freeres.c (__libc_freeres): Likewise.
38183         * malloc/tst-mallocstate.c (main): Likewise.
38184         * malloc/tst-mtrace.c (main): Likewise.
38185         * malloc/tst-realloc.c (do_test): Likewise.
38187 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38189         [BZ #16366]
38190         * nscd/netgroupcache.c (do_notfound): New function.
38191         (addgetnetgrentX): Use it.
38193         [BZ # 16365]
38194         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
38195         NSS_STATUS_NOTFOUND.
38197 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
38199         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38202 2014-01-01  Allan McRae  <allan@archlinux.org>
38204         * scripts/update-copyrights: Update configure input file suffix.
38206         * NEWS: Update copyright year.
38207         * catgets/gencat.c: Likewise.
38208         * csu/version.c: Likewise.
38209         * debug/catchsegv.sh: Likewise.
38210         * debug/pcprofiledump.c: Likewise.
38211         * debug/xtrace.sh: Likewise.
38212         * elf/ldconfig.c: Likewise.
38213         * elf/ldd.bash.in: Likewise.
38214         * elf/pldd.c: Likewise.
38215         * elf/sotruss.ksh: Likewise.
38216         * elf/sprof.c: Likewise.
38217         * iconv/iconv_prog.c: Likewise.
38218         * iconv/iconvconfig.c: Likewise.
38219         * locale/programs/locale.c: Likewise.
38220         * locale/programs/localedef.c: Likewise.
38221         * login/programs/pt_chown.c: Likewise.
38222         * malloc/memusage.sh: Likewise.
38223         * malloc/memusagestat.c: Likewise.
38224         * malloc/mtrace.pl: Likewise.
38225         * manual/libc.texinfo: Likewise.
38226         * nscd/nscd.c: Likewise.
38227         * nss/getent.c: Likewise.
38228         * nss/makedb.c: Likewise.
38229         * posix/getconf.c: Likewise.
38230         * scripts/test-installation.pl: Likewise.
38232         * All files with FSF copyright notices: Update copyright dates
38233         using scripts/update-copyrights.
38234         * intl/plural.c: Regenerated.
38235         * locale/programs/charmap-kw.h: Likewise.
38236         * locale/programs/locfile-kw.h: Likewise.
38238 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
38240         * sysdeps/unix/sysv/linux/configure: Regenerated.
38241         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
38242         the linux/fanotify.h header.
38243         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
38244         HAVE_LINUX_FANOTIFY_H is defined.
38246 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38248         * benchtests/cos-inputs: New inputs.
38249         * benchtests/sin-inputs: Likewise.
38251         * benchtests/atan-inputs: New inputs. Fix name of multiple
38252         precision fallback inputs.
38254         * benchtests/atanh-inputs: New inputs.
38255         * benchtests/tanh-inputs: Likewise.
38257         * benchtests/acosh-inputs: New inputs.
38258         * benchtests/asinh-inputs: Likewise.
38260         * benchtests/cosh-inputs: New inputs.
38261         * benchtests/sinh-inputs: Likewise.
38263         * benchtests/acos-inputs: Add more inputs.
38264         * benchtests/asin-inputs: Likewise.
38266 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
38268         [BZ #16375]
38269         * manual/arith.texi: Fix spelling.
38270         * manual/charset.texi: Likewise.
38271         * manual/errno.texi: Likewise.
38272         * manual/filesys.texi: Likewise.
38273         * manual/lang.texi: Likewise.
38274         * manual/llio.texi: Likewise.
38275         * manual/locale.texi: Likewise.
38276         * manual/message.texi: Likewise.
38277         * manual/resource.texi: Likewise.
38278         * manual/search.texi: Likewise.
38279         * manual/setjmp.texi: Likewise.
38280         * manual/stdio.texi: Likewise.
38281         * manual/string.texi: Likewise.
38282         * manual/sysinfo.texi: Likewise.
38283         * manual/time.texi: Likewise.
38285 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
38287         * po/sl.po: New file.
38289 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
38291         * .gitignore: Add core/.gdbinit/.gdb_history.
38293 2013-12-27  Allan McRae  <allan@archlinux.org>
38295         [BZ #16369]
38296         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
38297         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
38299 2013-12-24  Brooks Moses  <bmoses@google.com>
38301         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
38302         all compilers that claim C++98 compliance, not just GCC.
38303         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
38304         Likewise.
38306 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
38308         * NEWS: Restore accidentally deleted bug-fix entries.
38310 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
38311             Ondřej Bílka  <neleai@seznam.cz>
38313         [BZ #15073]
38314         * malloc/malloc.c (_int_free): Perform sanity check only if we
38315         have_lock.
38317 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
38319         [BZ #12986]
38320         * manual/stdio.texi (String Input Conversions): Clarify that character
38321         classes are not supported.
38323 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38325         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38327 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
38329         [BZ #16337]
38330         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
38331         Calculate results for small negative arguments directly rather
38332         than using reflection formula with special underflow handling.
38334         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
38335         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
38336         sysdeps/unix/bsd/bsd4.4/syscalls.list.
38337         (fchflags): Likewise.
38338         (revoke): Likewise.
38339         (setlogin): Likewise.
38340         (sigaltstack): Likewise.
38341         (wait4): Likewise.
38342         (sigblock): Remove.
38343         (sigsetmask): Likewise.
38344         (wait3): Likewise.
38345         (waitpid): Likewise.
38346         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
38347         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
38348         file.
38349         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
38350         * sysdeps/unix/bsd/Makefile: ... here.
38351         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
38352         * sysdeps/unix/bsd/Versions: ... here.
38353         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
38354         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
38355         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
38356         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
38357         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
38358         * sysdeps/unix/bsd/sigblock.c: ... here.
38359         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
38360         * sysdeps/unix/bsd/sigsetmask.c: ... here.
38361         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
38362         * sysdeps/unix/bsd/sigvec.c: ... here.
38363         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
38364         * sysdeps/unix/bsd/tcdrain.c: ... here.
38365         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
38366         * sysdeps/unix/bsd/tcgetattr.c: ... here.
38367         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
38368         * sysdeps/unix/bsd/tcsetattr.c: ... here.
38369         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
38370         * sysdeps/unix/bsd/wait.c: ... here.
38371         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
38372         * sysdeps/unix/bsd/wait3.c: ... here.
38373         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
38374         * sysdeps/unix/bsd/waitpid.c: ... here.
38376 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
38378         [BZ #16356]
38379         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
38380         round-to-nearest for [!USE_AS_EXPM1L].
38381         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
38382         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
38383         more tests of exp and exp10.  Expect some exp10 tests to miss
38384         exceptions or fail in directed rounding modes.
38385         * math/auto-libm-test-out: Regenerated.
38386         * math/libm-test.inc (exp10_tonearest_test_data): New array.
38387         (exp10_test_tonearest): New function.
38388         (exp10_towardzero_test_data): New array.
38389         (exp10_test_towardzero): New function.
38390         (exp10_downward_test_data): New array.
38391         (exp10_test_downward): New function.
38392         (exp10_upward_test_data): New array.
38393         (exp10_test_upward): New function.
38394         (main): Call the new functions.
38395         * sysdeps/i386/fpu/libm-test-ulps: Update.
38396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38398 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
38400         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
38401         asinh, atan, atan2, atanh, cbrt, cos and cosh.
38402         * math/auto-libm-test-out: Regenerated.
38403         * math/libm-test.inc (acosh_test_data): Add more tests.
38404         (atanh_test_data): Likewise.
38405         (ceil_test_data): Likewise.
38406         (copysign_test_data): Likewise.
38407         * sysdeps/i386/fpu/libm-test-ulps: Update.
38408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38410         * timezone/checktab.awk: Update from tzcode 2013i.
38411         * timezone/private.h: Likewise.
38412         * timezone/scheck.c: Likewise.
38413         * timezone/tzfile.h: Likewise.
38414         * timezone/tzselect.ksh: Likewise.
38415         * timezone/zdump.c: Likewise.
38416         * timezone/zic.c: Likewise.
38418         * math/auto-libm-test-in: Add tests of cpow.
38419         * math/auto-libm-test-out: Regenerated.
38420         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
38421         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38422         mpc_cc_c.
38423         (func_calc_desc): Add mpc_cc_c union field.
38424         (test_functions): Add cpow.
38425         (special_fill_2pi): New function.
38426         (special_real_inputs): Add 2pi.
38427         (calc_generic_results): Handle mpc_cc_c.
38428         * sysdeps/i386/fpu/libm-test-ulps: Update.
38429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38431         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
38432         csqrt, ctan and ctanh.
38433         * math/auto-libm-test-out: Regenerated.
38434         * math/libm-test.inc (TEST_COND_x86_64): New macro.
38435         (TEST_COND_x86): Likewise.
38436         (ccos_test_data): Use AUTO_TESTS_c_c.
38437         (ccosh_test_data): Likewise.
38438         (cexp_test_data): Likewise.
38439         (clog_test_data): Likewise.
38440         (csqrt_test_data): Likewise.
38441         (ctan_test_data): Likewise.
38442         (ctan_tonearest_test_data): Likewise.
38443         (ctan_towardzero_test_data): Likewise.
38444         (ctan_downward_test_data): Likewise.
38445         (ctan_upward_test_data): Likewise.
38446         (ctanh_test_data): Likewise.
38447         (ctanh_tonearest_test_data): Likewise.
38448         (ctanh_towardzero_test_data): Likewise.
38449         (ctanh_downward_test_data): Likewise.
38450         (ctanh_upward_test_data): Likewise.
38451         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38452         mpc_c_c.
38453         (func_calc_desc): Add mpc_c_c union field.
38454         (FUNC_mpc_c_c): New macro.
38455         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
38456         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
38457         ctanh.
38458         (special_fill_min_subnorm_p120): New function.
38459         (special_real_inputs): Add min_subnorm_p120.
38460         (calc_generic_results): Handle mpc_c_c.
38461         * sysdeps/i386/fpu/libm-test-ulps: Update.
38462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38464 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38466         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
38467         (do_sin_slow): New functions.
38468         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
38469         (cslow2, csloww1, csloww2): Use the new functions.
38471         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
38472         Use M to change sign of result instead of X.  Assume X is
38473         positive.
38474         (csloww1): Likewise.
38475         (__sin): Adjust.
38476         (__cos): Adjust.
38478         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
38479         arguments A and DA.
38480         (__sin): Adjust.
38481         (__cos): Likewise.
38483         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
38484         (__cos): Likewise.
38485         (sloww1): Don't adjust sign of DX.
38486         (csloww1): Likewise.
38487         (sloww2): Use X directly and don't adjust sign of DX.
38488         (csloww2): Likewise.
38490 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38492         * math/auto-libm-test-in: Add tests of cabs and carg.
38493         * math/auto-libm-test-out: Regenerated.
38494         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
38495         (carg_test_data): Likewise.
38496         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38497         mpc_c_f.
38498         (func_calc_desc): Add mpc_c_f union field.
38499         (test_functions): Add cabs and carg.
38500         (calc_generic_results): Handle mpc_c_f.
38502         * sysdeps/powerpc/powerpc32/libgcc-compat.S
38503         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
38504         as a macro and a compat symbol.
38505         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
38506         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
38507         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
38508         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
38509         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
38510         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
38511         not use .hidden.
38512         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
38513         Likewise.
38514         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
38515         Likewise.
38516         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
38517         Likewise.
38518         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
38519         Likewise.
38520         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
38521         Likewise.
38522         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
38523         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
38524         from GLIBC_2.3.2.
38526 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38528         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38530 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38532         * manual/texinfo.tex: Update to version 2013-11-26.10 with
38533         trailing whitespace removed.
38534         * scripts/config.guess: Update to version 2013-11-29.
38535         * scripts/config.sub: Update to version 2013-10-01.
38537         * math/auto-libm-test-in: Add tests of sincos.
38538         * math/auto-libm-test-out: Regenerated.
38539         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
38540         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38541         mpfr_f_11.
38542         (func_calc_desc): Add mpfr_f_11 union field.
38543         (test_functions): Add sincos.
38544         (calc_generic_results): Handle mpfr_f_11.
38545         * sysdeps/i386/fpu/libm-test-ulps: Update.
38546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38548 2013-12-19  Andreas Schwab  <schwab@suse.de>
38550         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
38551         CALL_MCOUNT.
38552         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38553         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
38554         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
38556 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38558         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
38559         * sysdeps/i386/fpu/libm-test-ulps: Update.
38560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38562         [BZ #16293]
38563         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
38564         round-to-nearest mode when using frndint.
38565         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
38566         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38567         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
38568         Likewise.
38569         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
38570         sinh test to fail.
38571         * math/auto-libm-test-out: Regenerated.
38572         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
38573         (TEST_COND_x86): Likewise.
38574         (expm1_tonearest_test_data): New array.
38575         (expm1_test_tonearest): New function.
38576         (expm1_towardzero_test_data): New array.
38577         (expm1_test_towardzero): New function.
38578         (expm1_downward_test_data): New array.
38579         (expm1_test_downward): New function.
38580         (expm1_upward_test_data): New array.
38581         (expm1_test_upward): New function.
38582         (main): Run the new test functions.
38583         * sysdeps/i386/fpu/libm-test-ulps: Update.
38584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38586         * include/features.h: Update comment documenting feature test
38587         macros.  Mention _DEFAULT_SOURCE in comment.
38588         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
38589         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
38590         _BSD_SOURCE and _SVID_SOURCE.
38591         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
38592         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
38593         !_SVID_SOURCE]: Likewise.
38594         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38595         (__USE_POSIX_IMPLICITLY): Define.
38596         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38597         (_POSIX_SOURCE): Undefine and redefine.
38598         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38599         (_POSIX_C_SOURCE): Likewise.
38600         * manual/creature.texi (_DEFAULT_SOURCE): Document.
38601         (Feature Test Macros): Update documentation of default features.
38603 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38605         * benchtests/Makefile: Add bench-strtok.
38606         * benchtests/bench-strtok.c: New file: strtok benchtest.
38608 2013-12-19  Allan McRae  <allan@archlinux.org>
38610         * manual/install.texi: Suppress menu for plain text output.
38611         * INSTALL: Regenerated.
38613 2013-12-18  Brooks Moses  <bmoses@google.com>
38615         [BZ #15846]
38616         * misc/getauxval.c: Include errno.h.
38617         (__getauxval): Set errno to ENOENT if the requested type is not
38618         found.
38619         * misc/sys/auxv.h (getauxval): Document that it may set errno;
38620         don't declare with __attribute_const__.
38621         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
38622         * manual/startup.texi: Document that getauxval sets errno.
38624 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38626         * math/auto-libm-test-in: Add tests of jn and yn.
38627         * math/auto-libm-test-out: Regenerated.
38628         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
38629         (yn_test_data): Likewise.
38630         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38631         mpfr_if_f.
38632         (func_calc_desc): Add mpfr_if_f union field.
38633         (FUNC_mpfr_if_f): New macro.
38634         (test_functions): Add jn and yn.
38635         (calc_generic_results): Assert type of second input for
38636         mpfr_ff_f.  Handle mpfr_if_f.
38637         (output_for_one_input_case): Disable all checking for arguments
38638         fitting floating-point types in case of an integer argument.
38639         * sysdeps/i386/fpu/libm-test-ulps: Update.
38640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38643         Don't expect fegetround reference in libm.so.
38645 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38647         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
38648         $(config-cflags-nofma).
38650 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38652         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
38653         * math/auto-libm-test-out: Regenerated.
38655         [BZ #16338]
38656         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
38657         to determine exponent and adjust argument to have exponent of -1.
38658         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
38659         log2.
38660         * math/auto-libm-test-out: Regenerated.
38661         * sysdeps/i386/fpu/libm-test-ulps: Update.
38662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38664 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
38666         * manual/probes.texi: Remove cases when per-thread arenas are
38667         disabled.
38669 2013-12-18  Andreas Schwab  <schwab@suse.de>
38671         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
38672         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
38673         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
38674         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
38675         * sysdeps/i386/i686/multiarch/Makefile: Update.
38676         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
38678 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38680         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
38681         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
38683 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
38685         [BZ #15968]
38686         Support TZ transition times < 00:00:00.
38687         This is needed for version-3 tz-format files; it supports time
38688         stamps past 2037 for America/Godthab (the only entry in the tz
38689         database for which this change is relevant).
38690         * manual/time.texi (TZ Variable): Document transition times
38691         from -167:59:59 through -00:00:01.
38692         * time/tzset.c (tz_rule): Time of day is now signed.
38693         (__tzset_parse_tz): Parse negative time of day.
38695         Document TZ transition times >= 25:00:00.
38696         * manual/time.texi (TZ Variable): Document transition times from
38697         25:00:00 through 167:59:59.  These are already supported, and this
38698         support will help with version-3 tz-format files.
38700         * manual/time.texi (TZ Variable): Modernize North America example
38701         to reflect current (i.e., 2007-and-later) daylight saving rules.
38703         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
38705 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38707         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
38708         * sysdeps/unix/bsd/bits/stat.h: Likewise.
38709         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
38710         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38711         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
38712         * sysdeps/unix/bsd/bsdstat.h: Likewise.
38713         * sysdeps/unix/bsd/clock.c: Likewise.
38714         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
38715         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
38716         * sysdeps/unix/bsd/init-posix.c: Likewise.
38717         * sysdeps/unix/bsd/poll.c: Likewise.
38718         * sysdeps/unix/bsd/ptsname.c: Likewise.
38719         * sysdeps/unix/bsd/seekdir.c: Likewise.
38720         * sysdeps/unix/bsd/setegid.c: Likewise.
38721         * sysdeps/unix/bsd/seteuid.c: Likewise.
38722         * sysdeps/unix/bsd/setgid.c: Likewise.
38723         * sysdeps/unix/bsd/setrgid.c: Likewise.
38724         * sysdeps/unix/bsd/setruid.c: Likewise.
38725         * sysdeps/unix/bsd/setsid.c: Likewise.
38726         * sysdeps/unix/bsd/setuid.c: Likewise.
38727         * sysdeps/unix/bsd/sigaction.c: Likewise.
38728         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
38729         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
38730         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
38731         * sysdeps/unix/bsd/telldir.c: Likewise.
38732         * sysdeps/unix/bsd/times.c: Likewise.
38733         * sysdeps/unix/bsd/usleep.c: Likewise.
38735         * misc/Makefile (install-lib): Remove libbsd-compat.a.
38736         ($(objpfx)libbsd-compat.a): Remove rule.
38738         * include/features.h (__FAVOR_BSD): Do not define.
38739         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
38740         features conflicting with POSIX.
38741         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
38742         (_BSD_SOURCE): Remove description of not being a subset of other
38743         feature test macros.
38744         * manual/job.texi (getpgrp): Do not document BSD version.
38745         (getpgid): Do not document by reference to BSD getpgrp.
38746         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
38747         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
38748         * signal/signal.h [__FAVOR_BSD]: Likewise.
38749         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
38750         instead of making contents conditional on [__FAVOR_BSD].
38751         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
38753 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38757 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38759         [BZ #16314]
38760         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
38761         values below 2**-450, not 2**-500.
38762         * math/auto-libm-test-in: Don't allow spurious underflow from
38763         hypot.
38764         * math/auto-libm-test-out: Regenerated.
38766         [BZ #16316]
38767         [BZ #16330]
38768         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
38769         values of ha and hb and sort them after adjusting subnormal
38770         arguments.
38771         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38772         Likewise.
38773         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
38774         values of ea and eb and sort them after adjusting subnormal
38775         arguments.
38776         * math/auto-libm-test-in: Do not expect some hypot tests of
38777         subnormals to fail.  Add more hypot tests.
38778         * math/auto-libm-test-out: Regenerated.
38780 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38782         [BZ #13304]
38783         * sysdeps/sh/s_fma.c: New file.
38784         * sysdeps/sh/s_fmaf.c: New file.
38785         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
38786         version.
38787         * sysdeps/sh/Implies: Add sh/soft-fp.
38789 2013-12-16  Roland McGrath  <roland@hack.frob.com>
38791         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
38792         level of indirection to members `objname', `errstring', `malloced'.
38793         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
38794         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
38795         it as the __longjmp argument (just pass 1 instead).
38796         (_dl_catch_error): Initialize C with argument pointers and address of
38797         volatile local ERRCODE rather than copying values out of C at return.
38799 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
38801         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
38802         * math/auto-libm-test-out: Regenerated.
38803         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
38804         (hypot_test_data): Likewise.
38805         (pow_test_data): Likewise.
38806         (pow_tonearest_test_data): Likewise.
38807         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38808         mpfr_ff_f.
38809         (func_calc_desc): Add mpfr_ff_f union field.
38810         (FUNC_mpfr_ff_f): New macro.
38811         (test_functions): Add atan2, hypot and pow.
38812         (special_fill_min): New function.
38813         (special_fill_minus_min): Likewise.
38814         (special_fill_min_subnorm): Likewise.
38815         (special_fill_minus_min_subnorm): Likewise.
38816         (special_real_inputs): Add min, -min, min_subnorm and
38817         -min_subnorm.
38818         (calc_generic_results): Handle mpfr_ff_f.
38819         * sysdeps/i386/fpu/libm-test-ulps: Update.
38820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38822 2013-12-16  Will Newton  <will.newton@linaro.org>
38824         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
38825         (Aligned Memory Blocks): Add documentation for aligned_alloc
38826         and suggest it as an alternative to posix_memalign.
38827         (Hooks for Malloc): Document __memalign_hook is also called
38828         for aligned_alloc.  (Summary of Malloc): Add summary for
38829         aligned alloc.  Document __memalign_hook is also called
38830         for aligned_alloc.
38832 2013-12-16  Will Newton  <will.newton@linaro.org>
38834         * manual/memory.texi (Malloc Examples): Clarify default
38835         alignment documentation.  Suggest posix_memalign rather
38836         than memalign or valloc.
38837         (Aligned Memory Blocks): Remove suggestion to use memalign
38838         or valloc.  Remove obsolete comment about BSD.
38839         Document memalign errno values and mark the function obsolete.
38840         Document posix_memalign returned error codes.  Mark valloc
38841         as obsolete.  (Hooks for Malloc): __memalign_hook is also
38842         called for posix_memalign and valloc.
38843         (Summary of Malloc): Add posix_memalign to function summary.
38844         __memalign_hook is also called for posix_memalign and valloc.
38846 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38848         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
38849         TAYLOR_SIN.
38850         (__sin): Adjust.
38851         (__cos): Likewise.
38852         (sloww): Use mynumber union.  Expand ternary operator into
38853         if-else statements.
38854         (cslow): use mynumber union.
38856 2013-12-16  Allan McRae  <allan@archlinux.org>
38858         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
38859         * configure: Regenerated.
38861         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
38863         [BZ #14120]
38864         * configure.ac: Added --enable-maintainer-mode. Check for
38865         autoconf when enabled.
38866         * configure: Regenerated.
38868         * nscd/nscd.service: New file.
38869         * nscd/nscd.tmpfiles: New file.
38871 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
38873         [BZ #12100]
38874         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
38875         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
38876         * sysdeps/x86_64/multiarch/strstr.c: ... here.
38877         (strstr): Add __strstr_sse2_unaligned ifunc.
38878         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
38879         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
38880         (strcasestr): Remove __strcasestr_sse42 ifunc.
38881         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
38882         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38883         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
38885 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38887         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
38888         * sysdeps/sh/bits/fenv.h: ... here.
38889         * sysdeps/sh/sh4/fpu/bits: Remove directory.
38891 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38893         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
38895         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
38896         hypotf multiarch implementations.
38897         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
38898         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
38899         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
38900         multiarch hypot for PPC64.
38901         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
38902         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
38903         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
38904         multiarch hypotf for PPC64.
38906         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
38907         modff multiarch implementations.
38908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
38909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
38910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
38911         multiarch modf for PPC64.
38912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
38913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
38914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
38915         multiarch modff for PPC64.
38917         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
38918         and logl multiarch implementations.
38919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
38920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
38921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
38922         multiarch logb for PPC64.
38923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
38924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
38925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
38926         multiarch logb for PPC64.
38927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
38928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
38929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
38930         multiarch logb for PPC64.
38932         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
38933         isinff multiarch implementation.
38934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
38935         file.
38936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
38937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
38938         multiarch isinf for PPC64.
38939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
38940         file.
38941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
38942         multiarch isinff for PPC64.
38944         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
38945         finitef multiarch implementation.
38946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
38947         file.
38948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
38949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
38950         multiarch finite for PPC64.
38951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
38952         file.
38953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
38954         multiarch finitef for PPC64.
38956         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
38957         lrint multiarch implementation.
38958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
38959         file.
38960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
38961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
38962         multiarch llrint for PPC64.
38963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
38964         multiarch lrint for PPC64.
38966         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
38967         copysignf multiarch implementation.
38968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
38969         file.
38970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
38971         file.
38972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
38973         multiarch copysign for PPC64.
38974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
38975         multiarch copysignf for PPC64.
38977         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
38978         multiarch implementation.
38979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
38980         file.
38981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
38982         file.
38983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
38984         file.
38985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
38986         file.
38987         multiarch llround for PPC64.
38988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
38989         multiarch trunc for PPC64.
38990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
38991         multiarch truncf for PPC64.
38993         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
38994         multiarch implementation.
38995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
38996         file.
38997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
38998         file.
38999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
39000         file.
39001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
39002         file.
39003         multiarch llround for PPC64.
39004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
39005         multiarch round for PPC64.
39006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
39007         multiarch roundf for PPC64.
39009         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
39010         multiarch implementation.
39011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
39012         file.
39013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
39014         file.
39015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
39016         file.
39017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
39018         file.
39019         multiarch llround for PPC64.
39020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
39021         multiarch floor for PPC64.
39022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
39023         multiarch floorf for PPC64.
39025         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
39026         multiarch implementation.
39027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
39028         file.
39029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
39030         file.
39031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
39032         file.
39033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
39034         file.
39035         multiarch llround for PPC64.
39036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
39037         multiarch ceil for PPC64.
39038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
39039         multiarch ceilf for PPC64.
39041         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39042         multiarch implementation.
39043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
39044         file.
39045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
39046         file.
39047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
39048         file.
39049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
39050         multiarch llround for PPC64.
39051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
39052         multiarch lround for PPC64.
39054         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39055         multiarch implementation.
39056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
39057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
39058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
39059         file.
39060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
39061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
39062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
39063         multiarch isnan for PPC64.
39064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
39065         multiarch isnanf for PPC64.
39067         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
39068         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
39069         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
39070         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
39071         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
39072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
39074         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
39075         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39076         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39077         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39079         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
39080         multiarch implementations.
39081         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39082         (__libc_ifunc_impl_list): Likewise.
39083         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
39084         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
39085         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
39086         multiarch stpcpy for PPC64.
39088         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
39089         multiarch implementations.
39090         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39091         (__libc_ifunc_impl_list): Likewise.
39092         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
39093         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
39094         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
39095         multiarch strcpy for PPC64.
39097         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
39098         redefine function name.
39099         (_wordcopy_fwd_dest_aligned): Likewise.
39100         (_wordcopy_bwd_aligned): Likewise.
39101         (_wordcopy_bwd_dest_aligned): Likewise.
39102         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
39103         multiarch implementations.
39104         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39105         (__libc_ifunc_impl_list): Likewise.
39106         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
39107         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
39108         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
39109         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
39110         multiarch wcscpy for PPC64.
39112         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
39113         multiarch implementations.
39114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39115         (__libc_ifunc_impl_list): Likewise.
39116         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
39117         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
39118         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
39119         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
39120         multiarch wcscpy for PPC64.
39122         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
39123         multiarch implementations.
39124         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39125         (__libc_ifunc_impl_list): Likewise.
39126         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
39127         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
39128         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
39129         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
39130         multiarch wcsrchr for PPC64.
39132         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
39133         multiarch implementations.
39134         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39135         (__libc_ifunc_impl_list): Likewise.
39136         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
39137         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
39138         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
39139         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
39140         multiarch wcschr for PPC64.
39142         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
39143         multiarch implementations.
39144         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39145         (__libc_ifunc_impl_list): Likewise.
39146         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
39147         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
39148         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
39149         multiarch strchrnul for PPC64.
39151         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
39152         implementations.
39153         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39154         (__libc_ifunc_impl_list): Likewise.
39155         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
39156         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
39157         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
39158         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
39159         strchr for PPC64.
39161         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
39162         implementations.
39163         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39164         (__libc_ifunc_impl_list): Likewise.
39165         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
39166         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
39167         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
39168         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
39169         strncmp for PPC64.
39171         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
39172         multiarch implementations.
39173         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39174         (__libc_ifunc_impl_list): Likewise.
39175         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
39176         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
39177         strncasecmp for PPC64.
39178         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
39179         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
39180         multiarch strncasecmp_l for PPC64.
39182         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
39183         multiarch implementations.
39184         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39185         (__libc_ifunc_impl_list): Likewise.
39186         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
39187         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
39188         multiarch strcasecmp for PPC64.
39189         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
39190         file.
39191         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
39192         multiarch strcasecmp_l for PPC64.
39194         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
39195         implementations.
39196         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39197         (__libc_ifunc_impl_list): Likewise.
39198         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
39199         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
39200         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
39201         strnlen for PPC64.
39203         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
39204         implementations.
39205         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39206         (__libc_ifunc_impl_list): Likewise.
39207         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
39208         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
39209         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
39210         strlen for PPC64.
39212         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
39213         implementations.
39214         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39215         (__libc_ifunc_impl_list): Likewise.
39216         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
39217         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
39218         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
39219         rawmemrchr for PPC64.
39221         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
39222         implementation.
39223         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39224         (__libc_ifunc_impl_list): Likewise.
39225         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
39226         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
39227         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
39228         memrchr for PPC64.
39230         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
39231         implementation.
39232         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39233         (__libc_ifunc_impl_list): Likewise.
39234         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
39235         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
39236         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
39237         memchr for PPC64.
39239         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
39240         implementation.
39241         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39242         (__libc_ifunc_impl_list): Likewise.
39243         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
39244         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
39245         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
39246         mempcpy for PPC64.
39248         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
39249         avoid cretion of __bzero symbol.
39250         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
39251         Likewise.
39252         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
39253         Likewise.
39254         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
39255         Likewise.
39256         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
39257         multiarch implementations.
39258         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39259         (__libc_ifunc_impl_list): Likewise.
39260         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
39261         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
39262         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
39263         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
39264         bzero for PPC32.
39265         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
39266         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
39267         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
39268         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
39269         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
39270         memset for PPC64.
39271         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
39273         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
39274         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
39275         implementations.
39276         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39277         (__libc_ifunc_impl_list): Likewise.
39278         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
39279         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
39280         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
39281         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
39282         memcmp for PPC64.
39284         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
39285         multiarch for POWER/PPC64.
39286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
39287         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
39288         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
39289         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
39290         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
39291         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
39292         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
39293         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
39294         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
39295         memcpy for PPC64.
39297         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
39298         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
39299         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
39300         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
39301         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
39302         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
39303         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
39304         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
39305         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
39306         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
39307         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
39308         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
39309         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
39310         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
39311         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
39312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
39313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
39314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
39315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
39316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
39317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
39318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
39320 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39322         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
39324 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39326         * benchtests/Makefile (bench): Add exp2 and log2.
39327         (LDLIBS-bench-exp2): Add -lm.
39328         (LDLIBS-bench-log2): Likewise.
39329         * benchtests/exp2-inputs: New inputs file.
39330         * benchtests/log2-inputs: New inputs file.
39331         * benchtests/log-inputs: Add new inputs.
39332         * benchtests/tan-inputs: Likewise.
39334 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39336         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
39337         definition...
39338         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
39339         (csloww2): ... from here.
39341         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
39342         instead of structures.
39343         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
39344         (POLYNOMIAL): Likewise.
39345         (TAYLOR_SLOW): Likewise.
39346         (__sin): Likewise.
39347         (__cos): Likewise.
39348         (slow1): Likewise.
39349         (slow2): Likewise.
39350         (sloww): Likewise.
39351         (sloww1); Likewise.
39352         (sloww2): Likewise.
39353         (bsloww1): Likewise.
39354         (bsloww2): Likewise.
39355         (cslow2): Likewise.
39356         (csloww): Likewise.
39357         (csloww1): Likewise.
39358         (csloww2): Likewise.
39360 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
39362         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
39363         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
39364         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
39365         * malloc/hooks.c (realloc_check): Likewise.
39367         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
39368         * malloc/arena.c: Remove PER_THREAD conditional.
39369         [!PER_THREAD]: Remove code.
39370         (ptmalloc_unlock_all2): Likewise.
39371         (ptmalloc_init): Likewise.
39372         (_int_new_arena): Likewise.
39373         (arena_get2): Likewise.
39374         * malloc/hooks.c (__malloc_get_state): Likewise.
39375         (__malloc_set_state): Likewise.
39376         * malloc/malloc.c: Likewise.
39377         (struct malloc_state): Likewise.
39378         (struct malloc_par): Likewise.
39379         (__libc_realloc): Likewise.
39380         (__libc_mallopt): Likewise.
39382 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39384         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
39386 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
39388         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
39389         macro to a function.  Check for zero perturb_byte.
39390         (_int_malloc, _int_free): Remove zero perturb_byte checks.
39392         * malloc/malloc.c: (force_reg): Remove.
39393         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
39394         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
39395         force_reg by atomic_forced_read.
39396         * malloc/arena.c (ptmalloc_init): Likewise.
39397         * malloc/hooks.c (top_check): Likewise.
39399 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39401         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39403 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
39405         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39407 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
39409         * math/auto-libm-test-in: Add tests of lgamma.
39410         * math/auto-libm-test-out: Regenerated.
39411         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
39412         (M_LOG_2_SQRT_PIl): Likewise.
39413         (lgamma_test_data): Use AUTO_TESTS_f_f1.
39414         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39415         mpfr_f_f1.
39416         (func_calc_desc): Add mpfr_f_f1 union field.
39417         (ARGS1): New macro.
39418         (ARGS2): Likewise.
39419         (ARGS3): Likewise.
39420         (ARGS4): Likewise.
39421         (RET1): Likewise.
39422         (RET2): Likewise.
39423         (CALC): Likewise.
39424         (FUNC): Likewise.
39425         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
39426         (test_functions): Add lgamma.
39427         (calc_generic_results): Handle mpfr_f_f1.
39428         * sysdeps/i386/fpu/libm-test-ulps: Update.
39429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39431 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39433         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
39434         __mpn_add_n for PowerPC64/POWER7.
39435         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
39436         __mpn_sub_n for PowerPC64/POWER7.
39438         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
39439         __mpn_addmul_1 for PowerPC64.
39440         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
39441         __mpn_submul_1 for PowerPC64.
39442         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
39443         for PowerPC64.
39444         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
39445         for PowerPC64.
39447 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
39449         [BZ #15089]
39450         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
39452 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39454         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
39456         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
39457         add multiarch folders.
39458         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
39459         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
39460         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
39461         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
39462         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
39463         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
39464         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
39465         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
39466         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
39467         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
39468         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
39469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
39470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
39471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
39472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
39473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
39474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
39476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
39477         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
39478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
39479         New file.
39480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
39481         New file.
39482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
39483         multiarch __ieee754_hypot for PowerPC32.
39484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
39485         New file.
39486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
39487         New file.
39488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
39489         multiarch __ieee754_hypotf for PowerPC32.
39491         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
39492         long_double_symbol only if __logbl is defined.
39493         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
39494         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
39495         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
39496         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
39497         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
39498         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
39499         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
39500         path for implementation.
39501         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
39502         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
39503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
39504         logb, and logbl multiarch implementations for PowerPC32.
39505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
39506         file.
39507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
39508         file.
39509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
39510         multiarch logb for PowerPC32.
39511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
39512         file.
39513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
39514         file.
39515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
39516         multiarch logbf for PowerPC32.
39517         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
39518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
39519         file.
39520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
39521         multiarch logbl implementation for PowerPC32.
39523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
39524         and modff multiarch implementations.
39525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
39526         New file.
39527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
39528         New file.
39529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
39530         multiarch modf for PowerPC32.
39531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
39532         New file.
39533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
39534         New file.
39535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
39536         multiarch modff for PowerPC32.
39538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
39539         and lrintf multiarch implementations.
39540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
39541         New file.
39542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
39543         New file.
39544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
39545         multiarch lrint for PowerPC32.
39546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
39547         file: multiarch lrintf for PowerPC32.
39549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
39550         and lroundf multiarch implementations.
39551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
39552         New file.
39553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
39554         New file.
39555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
39556         New file.
39557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
39558         multiarch lround for PowerPC32.
39559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
39560         file: multiarch lroundf for PowerPC32.
39562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
39563         copysign and copysignf multiarch implementations.
39564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
39565         New file.
39566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
39567         New file.
39568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
39569         file: multiarch copysign for PowerPC32.
39570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
39571         file: multiarch copysignf for PowerPC32.
39573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
39574         and truncf multiarch implementations.
39575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
39576         New file.
39577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
39578         file.
39579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
39580         multiarch trunc for PowerPC32.
39581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
39582         New file.
39583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
39584         New file.
39585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
39586         multiarch truncf for PowerPC32.
39588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
39589         and roundf multiarch implementations.
39590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
39591         New file.
39592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
39593         file.
39594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
39595         multiarch round for PowerPC32.
39596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
39597         New file.
39598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
39599         New file.
39600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
39601         multiarch roundf for PowerPC32.
39603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
39604         and floorf multiarch implementations.
39605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
39606         New file.
39607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
39608         file.
39609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
39610         multiarch floor for PowerPC32.
39611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
39612         New file.
39613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
39614         New file.
39615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
39616         multiarch floorf for PowerPC32.
39618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
39619         and ceilf multiarch implementations.
39620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
39621         New file.
39622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
39623         file.
39624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
39625         multiarch ceil for PowerPC32.
39626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
39627         New file.
39628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
39629         file.
39630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
39631         multiarch ceilf for PowerPC32.
39633         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
39634         is defined.
39635         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
39636         FINITEF is defined.
39637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
39638         and finitef multiarch implementations.
39639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
39640         New file.
39641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
39642         file.
39643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
39644         multiarch finite for PowerPC32.
39645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
39646         New file.
39647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
39648         file: multiarch finitef for PowerPC32.
39650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
39651         and isinff multiarch implementations.
39652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
39653         file.
39654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
39655         file.
39656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
39657         multiarch isinf for PowerPC32.
39658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
39659         New file.
39660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
39661         multiarch isinff for PowerPC32.
39663         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
39664         alias when __isnan is defined.
39665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
39666         and isnanf multiarch implementations.
39667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
39668         file.
39669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
39670         file.
39671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
39672         file.
39673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
39674         file.
39675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
39676         multiarch isnan for PowerPC32.
39677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
39678         New file.
39679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
39680         New file.
39681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
39682         multiarch isnanf for PowerPC32.
39684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
39685         and sqrtf multiarch implementations.
39686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
39687         file.
39688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
39689         file.
39690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
39691         multiarch sqrt for PowerPC32.
39692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
39693         file.
39694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
39695         file.
39696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
39697         multiarch sqrtf for PowerPC32.
39699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
39700         and llroundf multiarch implementations.
39701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
39702         New file.
39703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
39704         New file.
39705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
39706         New file.
39707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
39708         file: multiarch llround for PowerPC32.
39709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
39710         file: multiarch llroundf for PowerPC32.
39712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
39713         multiarch PowerPC32 fpu implementations.
39714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
39715         New file.
39716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
39717         New file.
39718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
39719         multiarch llrint for PowerPC32.
39720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
39721         New file.
39722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
39723         New file.
39724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
39725         file.
39727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
39729         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
39730         file.
39731         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
39732         file.
39733         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
39734         file.
39735         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
39736         multiarch wordcopy for PPC32.
39737         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
39738         wordcopy objects.
39739         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39740         (__libc_ifunc_impl_list): Likewise.
39741         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
39742         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
39743         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
39744         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
39745         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
39746         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
39748         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
39749         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
39750         file.
39751         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
39752         file.
39753         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
39754         file.
39755         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
39756         multiarch wcscpy for PPC32.
39757         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
39758         multiarch objects.
39759         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39760         (__libc_ifunc_impl_list): Likewise.
39761         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
39762         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
39763         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
39764         sysdeps/powerpc/power6/wcscpy.c.
39766         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
39767         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
39768         file.
39769         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
39770         file.
39771         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
39772         file.
39773         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
39774         multiarch wcsrchr for PPC32.
39775         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
39776         multiarch objects.
39777         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39778         (__libc_ifunc_impl_list): Likewise.
39779         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
39780         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
39781         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
39782         sysdeps/powerpc/power6/wcsrchr.c.
39784         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
39785         file.
39786         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
39787         file.
39788         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
39789         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
39790         multiarch wcschr for PPc32.
39791         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
39792         multiarch objects.
39793         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39794         (__libc_ifunc_impl_list): Likewise.
39795         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
39796         * sysdeps/powerpc/power6/wcschr.c: ... to here.
39797         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
39798         sysdeps/powerpc/power6/wcschr.c.
39800         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
39801         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
39802         file.
39803         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
39804         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
39805         file: multiarch strchr for PPC32.
39806         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
39807         multiarch objects.
39808         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39809         (__libc_ifunc_impl_list): Likewise.
39811         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
39812         name.
39813         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
39814         file.
39815         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
39816         file.
39817         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
39818         multiarch strchrnul for PPC32.
39819         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
39820         multiarch objects.
39821         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39822         (__libc_ifunc_impl_list): Likewise.
39824         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
39825         file.
39826         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
39827         multiarch strncasecmp for PPC32.
39828         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
39829         file.
39830         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
39831         multiarch strncasecmp_l for PPC32.
39832         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
39833         strncasecmp multiarch objects.
39834         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39835         (__libc_ifunc_impl_list): Likewise.
39837         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
39838         file.
39839         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
39840         multiarch strncasecmp for PPC32.
39841         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
39842         New file.
39843         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
39844         multiarch strcasecmp_l for PPC32.
39845         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
39846         multiarch objects.
39847         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39848         (__libc_ifunc_impl_list): Likewise.
39850         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
39851         file.
39852         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
39853         file.
39854         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
39855         multiarch strncmp for PPC32.
39856         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
39857         multiarch objects.
39858         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39859         (__libc_ifunc_impl_list): Likewise.
39861         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
39862         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
39863         file.
39864         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
39865         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
39866         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
39867         multiarch objects.
39868         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39869         (__libc_ifunc_impl_list): Likewise.
39871         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
39872         file.
39873         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
39874         file.
39875         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
39876         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
39877         multiarch objects.
39878         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39879         (__libc_ifunc_impl_list): Likewise.
39881         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
39882         file.
39883         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
39884         file.
39885         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
39886         multiarch rawmemchr for PPC32.
39887         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
39888         multiarch objects.
39889         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39890         (__libc_ifunc_impl_list): Likewise.
39892         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
39893         file.
39894         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
39895         file.
39896         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
39897         file: memrchr multiarch for PPC32.
39898         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
39899         multiarch objects.
39900         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39901         (__libc_ifunc_impl_list): Likewise.
39903         * string/memchr.c (__memchr): Using macro to redefine symbol name.
39904         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
39905         file.
39906         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
39907         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
39908         multiarch memchr for PPC32.
39909         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
39910         multiarch objects.
39911         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39912         (__libc_ifunc_impl_list): Likewise.
39914         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
39915         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
39916         file.
39917         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
39918         file.
39919         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
39920         file: multiarch mempcpy for PPC32.
39921         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
39922         multiarch objects.
39923         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39924         (__libc_ifunc_impl_list): Likewise.
39926         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
39927         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
39928         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
39929         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
39930         multiarch bzero for PPC32.
39931         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
39932         file.
39933         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
39934         file.
39935         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
39936         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
39937         file: multiarch memset for PPC32.
39938         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
39939         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
39940         memset multiarch objects.
39941         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39942         (__libc_ifunc_impl_list): Likewise.
39944         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
39945         file.
39946         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
39947         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
39948         memcmp for PPC32.
39949         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
39950         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
39951         multiarch objects.
39952         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39953         (__libc_ifunc_impl_list): Likewise.
39955         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
39956         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
39957         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
39958         file.
39959         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
39960         file.
39961         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
39962         file.
39963         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
39964         multiarch memcpy for PPC32.
39965         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
39966         multiarch objects.
39967         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39968         (__libc_ifunc_impl_list): Likewise.
39970         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
39971         support multiarch for POWER/PPC32.
39972         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
39973         Likewise.
39974         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
39975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
39976         Implies file to make multiarch folder appers before the fpu and
39977         default folder for power4 configuration.
39979 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39981         * scripts/bench.pl: Append volatile keyword to type.
39983 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39985         * sysdeps/sh/sotruss-lib.c: New file.
39986         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
39988 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39990         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39992 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
39994         [BZ #6810]
39995         * math/w_tgamma.c: Include <errno.h>.
39996         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
39997         * math/w_tgammaf.c: Include <errno.h>.
39998         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
39999         * math/w_tgammal.c: Include <errno.h>.
40000         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
40001         * math/auto-libm-test-in: Do not allow missing errno on tgamma
40002         underflow.  Add more tgamma tests.
40003         * math/auto-libm-test-out: Regenerated.
40004         * sysdeps/i386/fpu/libm-test-ulps: Update.
40005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40007         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
40008         sin, sinh, tan, tanh, tgamma, y0 and y1.
40009         * math/auto-libm-test-out: Regenerated.
40010         * math/libm-test.inc (TEST_COND_x86_64): New macro.
40011         (TEST_COND_x86): Likewise.
40012         (M_E2l): Remove macro.
40013         (M_E3l): Likewise.
40014         (M_2_SQRT_PIl): Likewise.
40015         (M_SQRT_PIl): Likewise.
40016         (M_1_DIV_El): Likewise.
40017         (log_test_data): Use AUTO_TESTS_f_f.
40018         (log10_test_data): Likewise.
40019         (log1p_test_data): Likewise.
40020         (log2_test_data): Likewise.
40021         (sin_test_data): Likewise.
40022         (sin_tonearest_test_data): Likewise.
40023         (sin_towardzero_test_data): Likewise.
40024         (sin_downward_test_data): Likewise.
40025         (sin_upward_test_data): Likewise.
40026         (sinh_test_data): Likewise.
40027         (sinh_tonearest_test_data): Likewise.
40028         (sinh_towardzero_test_data): Likewise.
40029         (sinh_downward_test_data): Likewise.
40030         (sinh_upward_test_data): Likewise.
40031         (tan_test_data): Likewise.
40032         (tan_tonearest_test_data): Likewise.
40033         (tan_towardzero_test_data): Likewise.
40034         (tan_downward_test_data): Likewise.
40035         (tan_upward_test_data): Likewise.
40036         (tanh_test_data): Likewise.
40037         (tgamma_test_data): Likewise.
40038         (y0_test_data): Likewise.
40039         (y1_test_data): Likewise.
40040         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
40041         (special_real_inputs): Add pi/4.
40042         * sysdeps/i386/fpu/libm-test-ulps: Update.
40043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40045 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40047         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
40048         "longjmp_target" static probes.
40049         (__longjmp): Rename to __longjmp_symbol.
40050         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40051         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
40052         on which longjmp to generate.
40053         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40054         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
40055         probe.
40056         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40057         (__sigjmp_save): Rename to __sigjmp_save_symbol.
40058         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40059         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
40060         and __sigjmp_save_symbol based on which sigsetjmp to generated.
40061         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
40063         __longjmp_symbol based on which __longjmp to generate.
40064         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
40065         probe.
40066         (setjmp): Rename to setjmp_symbol.
40067         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40068         (_setjmp): Rename to _setjmp_symbol.
40069         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40070         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
40071         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
40072         which setjmp to generate.
40073         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
40074         "longjmp_target" static probes.
40076 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40078         * benchtests/README: Add note about output arguments.
40079         * benchtests/bench-sincos.c: Remove file.
40080         * benchtests/sincos-inputs: New file.
40081         * scripts/bench.pl: Identify output arguments and define
40082         static variables for them.
40084         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
40086         [BZ #15941]
40087         * Makefile (INSTALL): Add install-plain.texi as the primary
40088         dependency.
40089         * manual/install-plain.texi: New file.
40090         * manual/install.texi: Include node directive only for
40091         non-plaintext output.
40093 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
40095         * stdlib/longlong.h: Update from GCC.
40097         [BZ #6807]
40098         [BZ #15901]
40099         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
40100         * math/w_j0f.c (y0f): Likewise.
40101         * math/w_j0l.c (__y0l): Likewise.
40102         * math/w_j1.c (y1): Likewise.
40103         * math/w_j1f.c (y1f): Likewise.
40104         * math/w_j1l.c (__y1l): Likewise.
40105         * math/w_jn.c (yn): Likewise.
40106         * math/w_jnf.c (ynf): Likewise.
40107         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
40108         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
40109         value for Bessel function domain errors outside _SVID_ mode.
40110         Adjust sign of return value for yn (negative integer, 0).
40111         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
40112         by zero in return for negative x and set sign appropriately for
40113         negative n.
40114         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
40115         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40116         * math/libm-test.inc (y0_test_data): Add more tests and adjust
40117         expectations in error cases.
40118         (y1_test_data): Likewise.
40119         (yn_test_data): Likewise.
40120         * sysdeps/i386/fpu/libm-test-ulps: Update.
40121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40123 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40125         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
40126         "64" to "64-v1".  Add "64-v2".
40127         (abi-64-options): Rename to ...
40128         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
40129         (abi-64-condition): Rename to ...
40130         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
40131         (abi-64-ld-soname): Rename to ...
40132         (abi-64-v1-ld-soname): ... this.
40133         (abi-64-v2-options): Define.
40134         (abi-64-v2-condition): Likewise.
40135         (abi-64-v2-ld-soname): Likewise.
40136         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
40137         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
40138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
40139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
40140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
40142 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40143             Alan Modra  <amodra@gmail.com>
40145         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
40146         New versions for use with the ELFv2 ABI.
40147         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
40148         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
40149         declaration.
40150         (struct La_ppc64v2_retval): Likewise.
40151         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
40152         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
40153         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
40154         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
40155         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
40156         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
40157         Do not save or restore CR.
40158         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
40159         (_dl_profile_resolve): Do no save or restore CR.  Support extended
40160         return values for ELFv2 ABI.  Fix location of FPR return registers.
40161         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
40162         updated values for _CALL_ELF == 2.
40163         (La_regs, La_retval, int_retval): Likewise.
40165 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40167         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
40168         (FRAME_MIN_SIZE_PARM): Likewise.
40169         (FRAME_BACKCHAIN): Likewise.
40170         (FRAME_CR_SAVE): Likewise.
40171         (FRAME_LR_SAVE): Likewise.
40172         (FRAME_TOC_SAVE): Likewise.
40173         (FRAME_PARM_SAVE): Likewise.
40174         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
40175         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
40176         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
40177         (call_mcount_parm_offset): New macro.
40178         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
40179         (PROF): Use symbolic stack frame offsets.
40180         (TAIL_CALL_SYSCALL_ERROR): Likewise.
40181         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
40182         Redefine in terms of FRAME_MIN_SIZE.
40183         (_dl_runtime_resolve): Use symbolic stack frame offsets.
40184         (_dl_profile_resolve): Likewise.  Update comment.
40185         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
40186         symbols stack frame offsets.
40187         (__sigsetjmp): Likewise.
40188         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
40189         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
40190         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
40191         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
40193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
40194         (FRAME_BACKCHAIN): Remove.
40195         (FRAME_CR_SAVE): Likewise.
40196         (FRAME_LR_SAVE): Likewise.
40197         (FRAME_COMPILER_DW): Likewise.
40198         (FRAME_LINKER_DW): Likewise.
40199         (FRAME_TOC_SAVE): Likewise.
40200         (FRAME_PARM_SAVE): Likewise.
40201         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
40202         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
40203         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
40204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
40205         (CHECK_SP): Use symbolic stack frame offsets.
40206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
40207         zone" instead of caller's parameter save area for temp storage.
40208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
40209         Likewise.  Also, use symbolic stack frame offsets.
40210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
40211         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
40212         our own stack frame instead of the caller's.
40213         (__socket): Use symbolic stack frame offsets.
40215 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40216             Alan Modra  <amodra@gmail.com>
40218         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
40219         Define.
40220         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
40221         (PPC64_LOCAL_ENTRY_OFFSET): Define.
40222         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
40223         New function.
40224         (elf_machine_fixup_plt): Call it.
40225         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
40226         reloc arguments.
40227         (elf_machine_rela): Update call to elf_machine_plt_conflict.
40228         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
40229         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
40230         r2 before calling target.
40232 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40233             Alan Modra  <amodra@gmail.com>
40235         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
40236         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
40237         versions of macros to support ELFv2 ABI.
40238         (LOCALENTRY): New macro.
40239         (ENTRY, EALIGN): Use it.
40240         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
40241         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
40242         fall through into ENTRY entry point.
40243         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
40244         Only define if _CALL_ELF != 2.
40246         (elf_machine_matches_host): Verify ABI version matches.
40247         (RTLD_START): Use LOCALENTRY.
40248         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
40249         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
40250         (PLT_ENTRY_WORDS): New macro.
40251         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
40252         (elf_machine_runtime_setup): Support ELFv2 ABI.
40253         (elf_machine_fixup_plt): Likewise.
40254         (elf_machine_plt_conflict): Likewise.
40255         (resolve_ifunc): Likewise.
40256         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
40257         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
40258         Likewise.
40259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
40260         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
40261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40262         (makecontext): Support ELFv2 ABI.
40263         * elf/elf.h (EF_PPC64_ABI): Define.
40265 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40267         * sysdeps/powerpc/powerpc64/sysdep.h
40268         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
40269         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
40270         (ENTRY) [ASSEMBLER]: ... but instead here ...
40271         (EALIGN) [ASSEMBLER]: ... and here.
40272         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
40273         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
40274         (ENTRY_2) [!ASSEMBLER]: Use it.
40275         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
40276         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
40277         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
40278         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
40279         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
40280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
40281         Use PPC64_LOAD_FUNCPTR.
40283         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
40285 2013-12-04  Alan Modra  <amodra@gmail.com>
40287         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
40288         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
40289         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
40290         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
40292         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
40293         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
40294         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
40295         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
40296         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
40297         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
40299 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40302         (__makecontext): Fix incorrect CFI when backtracing out of
40303         context created via makecontext.
40304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
40305         (__setcontext): Fix incorrect CFI during switch to new context.
40306         (__novec_setcontext): Likewise.
40308 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
40310         [BZ #4772]
40311         * time/strptime_l.c (__strptime_internal): Allow modifiers
40312         in strptime.
40313         * time/tst-strptime.c (day_tests): Add testcase.
40315 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40317         * scripts/bench.pl: Skip over blank lines.
40319 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
40321         [BZ #926]
40322         * manual/time.texi (Calendar Time): Clarify what timezone functions
40323         use.
40325 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40327         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40329 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
40331         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
40332         implementation.
40333         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
40334         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
40335         * debug/memset_chk.c (__memset_chk): Likewise.
40336         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
40337         * debug/strncpy_chk.c: Likewise.
40339 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
40341         [BZ #15268]
40342         [BZ #15425]
40343         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
40344         (__ieee754_exp): For possibly underflowing results, check size of
40345         result and force underflow exception if required.
40346         * math/auto-libm-test-in: Add more tests of exp.
40347         * math/auto-libm-test-out: Regenerated.
40348         * sysdeps/i386/fpu/libm-test-ulps: Update.
40349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40351         [BZ #16283]
40352         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
40353         * math/w_exp2f.c (__exp2f): Likewise.
40354         * math/w_exp2l.c (__exp2l): Likewise.
40355         * math/auto-libm-test-in: Do not allow missing errno on exp2
40356         underflow.
40357         * math/auto-libm-test-out: Regenerated.
40359 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
40361         [BZ #16274]
40362         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
40363         handle filename validation.
40364         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
40365         (do_open): Delete.
40367 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
40369         [BZ #6786]
40370         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
40371         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
40372         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
40373         <float.h>.
40374         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
40375         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
40376         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40377         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
40378         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40379         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
40380         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40381         * math/auto-libm-test-in: Don't allow missing errno from erfc.
40382         Add more erfc tests.
40383         * math/auto-libm-test-out: Regenerated.
40384         * sysdeps/i386/fpu/libm-test-ulps: Update.
40385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40387         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
40388         exp2, expm1, j0 and j1.
40389         * math/auto-libm-test-out: Regenerated.
40390         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
40391         (erfc_test_data): Likewise.
40392         (exp_test_data): Likewise.
40393         (exp_tonearest_test_data): Likewise.
40394         (exp_towardzero_test_data): Likewise.
40395         (exp_downward_test_data): Likewise.
40396         (exp_upward_test_data): Likewise.
40397         (exp10_test_data): Likewise.
40398         (exp2_test_data): Likewise.
40399         (expm1_test_data): Likewise.
40400         (j0_test_data): Likewise.
40401         (j1_test_data): Likewise.
40402         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
40403         (input_flag_type): Add flag_xfail_rounding.
40404         (input_flags): Add xfail-rounding.
40405         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
40406         (output_for_one_input_case): Handle flag_xfail_rounding.
40407         * sysdeps/i386/fpu/libm-test-ulps: Update.
40408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40410 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
40412         [BZ #16289]
40413         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
40414         division by 0.
40416 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40418         [BZ #16195]
40419         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
40420         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
40421         (STAP_PROBE0): New macro.
40422         (STAP_PROBE1): Likewise.
40423         (STAP_PROBE2): Likewise.
40424         (STAP_PROBE3): Likewise.
40425         (STAP_PROBE4): Likewise.
40427 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
40429         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
40431 2013-12-02  Steve Ellcey  <sellcey@mips.com>
40433         * benchtests/Makefile (bench): Add sqrt.
40434         (LDLIBS-bench-sqrt): New.
40435         * benchtests/sqrt-input: New.
40437 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
40439         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
40440         (GAIH_EAI): Likewise.
40441         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
40442         (gaih_inet): Likewise.
40443         (getaddrinfo): Don't use GAIH_EAI.
40445         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
40446         (struct gaih): Remove definition.
40448 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40450         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
40451         Use HERRNOP directly.
40453 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40455         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40457 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
40459         * math/gen-auto-libm-tests.c (test_functions): Add more
40460         single-argument functions.
40461         (special_fill_pi_2): New function.
40462         (special_fill_minus_pi_2): Likewise.
40463         (special_fill_pi_6): Likewise.
40464         (special_fill_minus_pi_6): Likewise.
40465         (special_fill_pi_3): Likewise.
40466         (special_fill_2pi_3): Likewise.
40467         (special_fill_e): Likewise.
40468         (special_fill_1_e): Likewise.
40469         (special_fill_e_minus_1): Likewise.
40470         (special_real_inputs): Add more special inputs.
40471         (output_for_one_input_case): Do not require ERANGE on underflow to
40472         zero if round-to-nearest result does not underflow to zero, unless
40473         exact results required.
40474         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
40475         atan, atanh, cbrt, cos and cosh.
40476         * math/auto-libm-test-out: Regenerated.
40477         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
40478         (acos_tonearest_test_data): Likewise.
40479         (acos_towardzero_test_data): Likewise.
40480         (acos_downward_test_data): Likewise.
40481         (acos_upward_test_data): Likewise.
40482         (acosh_test_data): Likewise.
40483         (asin_test_data): Likewise.
40484         (asin_tonearest_test_data): Likewise.
40485         (asin_towardzero_test_data): Likewise.
40486         (asin_upward_test_data): Likewise.
40487         (asinh_test_data): Likewise.
40488         (atan_test_data): Likewise.
40489         (atanh_test_data): Likewise.
40490         (cbrt_test_data): Likewise.
40491         (cos_test_data): Likewise.
40492         (cos_tonearest_test_data): Likewise.
40493         (cos_towardzero_test_data): Likewise.
40494         (cos_downward_test_data): Likewise.
40495         (cos_upward_test_data): Likewise.
40496         (cosh_test_data): Likewise.
40497         (cosh_tonearest_test_data): Likewise.
40498         (cosh_towardzero_test_data): Likewise.
40499         (cosh_downward_test_data): Likewise.
40500         (cosh_upward_test_data): Likewise.
40501         * sysdeps/i386/fpu/libm-test-ulps: Update.
40502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40504 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
40506         [BZ #6787]
40507         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
40508         * math/w_exp10f.c (__exp10f): Likewise.
40509         * math/w_exp10l.c (__exp10l): Likewise.
40510         * math/libm-test.inc (exp10_test_data): Add more tests and expect
40511         errno settings in existing tests.
40513         [BZ #14032]
40514         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
40515         precision control set to double precision.
40516         * sysdeps/i386/fpu/w_sqrt.c: New file.
40517         * math/auto-libm-test-in: Add more tests.
40518         * math/auto-libm-test-out: Update.
40520         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
40521         (sqrt_test_tonearest): New function.
40522         (sqrt_towardzero_test_data): New variable.
40523         (sqrt_test_towardzero): New function.
40524         (sqrt_downward_test_data): New variable.
40525         (sqrt_test_downward): New function.
40526         (sqrt_upward_test_data): New variable.
40527         (sqrt_test_upward): New function.
40528         (main): Call the new functions.
40530         * math/gen-auto-libm-tests.c: New file.
40531         * math/auto-libm-test-in: Likewise.
40532         * math/auto-libm-test-out: New generated file.
40533         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
40534         variables.
40535         (%beautify): Add generated representations of zero.
40536         (top level): Set $auto_input and call parse_auto_input.
40537         (beautify): Remove trailing "f" from hex float constants.
40538         (parse_args): Handle XFAIL_TEST.
40539         (convert_condition): New function.
40540         (or_value): Likewise.
40541         (or_cond_value): Likewise.
40542         (generate_testfile): Handle AUTO_TESTS_* lines.
40543         (parse_auto_input): New function.
40544         * math/libm-test.inc (XFAIL_TEST): New macro.
40545         (ERRNO_UNCHANGED): Update value.
40546         (ERRNO_EDOM): Likewise.
40547         (ERRNO_ERANGE): Likewise.
40548         (IGNORE_RESULT): Likewise.
40549         (TEST_COND_flt_32): New macro.
40550         (TEST_COND_dbl_64): Likewise.
40551         (TEST_COND_ldbl_96_intel): Likewise.
40552         (TEST_COND_ldbl_96_m68k): Likewise.
40553         (TEST_COND_ldbl_128): Likewise.
40554         (TEST_COND_ldbl_128ibm): Likewise.
40555         (TEST_COND_long32): Likewise.
40556         (TEST_COND_long64): Likewise.
40557         (TEST_COND_before_rounding): Likewise.
40558         (TEST_COND_after_rounding): Likewise.
40559         (enable_test): Handle XFAIL_TEST flag.
40560         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
40561         with finite results.
40562         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
40563         auto-libm-test-out.
40565 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40566             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40568         [BZ #16214]
40569         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
40570         __tls_get_addr_internal instead of __tls_get_offset in order to
40571         avoid GOT pointer dependency.  Make rtld export
40572         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
40573         __tls_get_addr since we are a __tls_get_offset platform.
40574         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
40575         GOT pointer being set up before.
40576         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
40578 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
40580         * manual/math.texi (Errors in Math Functions): Document accuracy
40581         goals.
40583         [BZ #15004]
40584         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
40585         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
40586         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40587         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40588         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40589         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40590         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40591         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40592         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40593         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40594         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40595         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40596         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40597         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40598         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40599         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40601         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
40602         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
40603         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
40604         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
40605         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
40606         Likewise.
40607         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
40608         Likewise.
40609         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
40610         Likewise.
40611         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
40612         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
40613         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
40614         atomic-feupdateenv and flt-rounds.
40615         * sysdeps/powerpc/nofpu/Versions (libc): Add
40616         __atomic_feholdexcept, __atomic_feclearexcept,
40617         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
40618         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
40619         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
40620         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
40621         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
40622         here.
40623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
40624         Update.
40626         * manual/arith.texi (FP Exceptions): Document that exceptions may
40627         not be raised when matherr is used.
40628         (Math Error Reporting): Document overflow in directed rounding
40629         modes.  Document that errno may not be set when finite values are
40630         returned on overflow.  Document intent to set errno on underflow
40631         only for underflow to zero.
40633         [BZ #16271]
40634         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
40635         round-to-nearest then adjust result for other rounding modes.
40636         * include/fenv.h (fegetround): Use libm_hidden_proto.
40637         * math/fegetround.c (fegetround): Use libm_hidden_def.
40638         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
40639         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
40640         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
40641         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
40642         Likewise.
40643         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
40644         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40645         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
40646         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
40648 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40650         [BZ #16077]
40651         * nss/Versions (libnss_files): Add
40652         _nss_files_gethostbyname3_r.
40653         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
40654         New function.
40655         (HOST_DB_LOOKUP): Remove macro.
40656         (_nss_files_gethostbyname_r): Implement function without the
40657         HOST_DB_LOOKUP macro.
40658         (_nss_files_gethostbyname2_r): Likewise.
40660 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
40662         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
40664 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
40666         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
40667         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
40668         warning.
40670 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40672         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
40673         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
40674         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
40675         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40676         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
40677         __fe_nomask_env_priv and attribute_hidden.
40678         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
40679         (libc_feupdateenv_test_ppc): Likewise.
40680         (libc_feresetround_ppc): Likewise.
40681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40682         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
40683         compat_symbol macro.
40684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40685         (__fe_nomask_env): Likewise.
40686         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
40688 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40690         * string/Makefile: Remove ifunc tests.
40691         * string/test-string.h: Define TEST_IFUNC.
40692         * string/test-bcopy-ifunc.c: Remove.
40693         * string/test-bzero-ifunc.c: Likewise.
40694         * string/test-memccpy-ifunc.c: Likewise.
40695         * string/test-memchr-ifunc.c: Likewise.
40696         * string/test-memcmp-ifunc.c: Likewise.
40697         * string/test-memcpy-ifunc.c: Likewise.
40698         * string/test-memmem-ifunc.c: Likewise.
40699         * string/test-memmove-ifunc.c: Likewise.
40700         * string/test-mempcpy-ifunc.c: Likewise.
40701         * string/test-memrchr-ifunc.c: Likewise.
40702         * string/test-memset-ifunc.c: Likewise.
40703         * string/test-rawmemchr-ifunc.c: Likewise.
40704         * string/test-stpcpy-ifunc.c: Likewise.
40705         * string/test-stpncpy-ifunc.c: Likewise.
40706         * string/test-strcasecmp-ifunc.c: Likewise.
40707         * string/test-strcasestr-ifunc.c: Likewise.
40708         * string/test-strcat-ifunc.c: Likewise.
40709         * string/test-strchr-ifunc.c: Likewise.
40710         * string/test-strchrnul-ifunc.c: Likewise.
40711         * string/test-strcmp-ifunc.c: Likewise.
40712         * string/test-strcpy-ifunc.c: Likewise.
40713         * string/test-strcspn-ifunc.c: Likewise.
40714         * string/test-strlen-ifunc.c: Likewise.
40715         * string/test-strncasecmp-ifunc.c: Likewise.
40716         * string/test-strncat-ifunc.c: Likewise.
40717         * string/test-strncmp-ifunc.c: Likewise.
40718         * string/test-strncpy-ifunc.c: Likewise.
40719         * string/test-strnlen-ifunc.c: Likewise.
40720         * string/test-strpbrk-ifunc.c: Likewise.
40721         * string/test-strrchr-ifunc.c: Likewise.
40722         * string/test-strspn-ifunc.c: Likewise.
40723         * string/test-strstr-ifunc.c: Likewise.
40725 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40727         * benchtests/Makefile: Remove ifunc tests.
40728         * benchtests/bench-string.h: Define TEST_IFUNC.
40729         * benchtests/bench-bcopy-ifunc.c: Remove.
40730         * benchtests/bench-bzero-ifunc.c: Likewise.
40731         * benchtests/bench-memccpy-ifunc.c: Likewise.
40732         * benchtests/bench-memchr-ifunc.c: Likewise.
40733         * benchtests/bench-memcmp-ifunc.c: Likewise.
40734         * benchtests/bench-memcpy-ifunc.c: Likewise.
40735         * benchtests/bench-memmem-ifunc.c: Likewise.
40736         * benchtests/bench-memmove-ifunc.c: Likewise.
40737         * benchtests/bench-mempcpy-ifunc.c: Likewise.
40738         * benchtests/bench-memrchr-ifunc.c: Likewise.
40739         * benchtests/bench-memset-ifunc.c: Likewise.
40740         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
40741         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
40742         * benchtests/bench-stpcpy-ifunc.c: Likewise.
40743         * benchtests/bench-stpncpy-ifunc.c: Likewise.
40744         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
40745         * benchtests/bench-strcasestr-ifunc.c: Likewise.
40746         * benchtests/bench-strcat-ifunc.c: Likewise.
40747         * benchtests/bench-strchr-ifunc.c: Likewise.
40748         * benchtests/bench-strchrnul-ifunc.c: Likewise.
40749         * benchtests/bench-strcmp-ifunc.c: Likewise.
40750         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
40751         * benchtests/bench-strcpy-ifunc.c: Likewise.
40752         * benchtests/bench-strcspn-ifunc.c: Likewise.
40753         * benchtests/bench-strlen-ifunc.c: Likewise.
40754         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
40755         * benchtests/bench-strncat-ifunc.c: Likewise.
40756         * benchtests/bench-strncmp-ifunc.c: Likewise.
40757         * benchtests/bench-strncpy-ifunc.c: Likewise.
40758         * benchtests/bench-strnlen-ifunc.c: Likewise.
40759         * benchtests/bench-strpbrk-ifunc.c: Likewise.
40760         * benchtests/bench-strrchr-ifunc.c: Likewise.
40761         * benchtests/bench-strsep-ifunc.c: Likewise.
40762         * benchtests/bench-strspn-ifunc.c: Likewise.
40763         * benchtests/bench-strstr-ifunc.c: Likewise.
40765 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40767         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
40769 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40771         * resolv/netdb.h: Use __glibc_reserved instead __unused.
40772         * rt/aio.h: Likewise.
40773         * sysdeps/gnu/bits/utmp.h: Likewise.
40774         * sysdeps/gnu/bits/utmpx.h: Likewise.
40775         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40776         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
40777         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
40778         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
40779         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
40780         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
40781         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
40782         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
40783         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
40784         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
40785         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
40786         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
40787         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
40788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
40789         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
40790         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
40791         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
40792         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
40793         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
40794         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
40795         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
40796         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
40797         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
40798         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40799         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
40800         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40801         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
40802         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
40803         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
40804         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
40805         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
40806         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
40807         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
40808         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
40809         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
40810         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
40811         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
40812         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
40813         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
40814         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
40815         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
40816         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
40818 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
40820         [BZ #16245]
40821         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
40822         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
40824 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
40826         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
40827         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
40828         Likewise.
40830 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40832         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
40833         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
40834         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
40835         (__fesetround): Remove define.
40836         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
40837         rounding and exceptions handling.
40838         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
40839         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
40840         (__fe_nomask_env): Likewise.
40841         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
40842         __fegetround instead of fegetround.
40843         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
40844         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
40846 2013-11-21  Roland McGrath  <roland@hack.frob.com>
40848         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
40849         it's there.
40851         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
40853 2013-11-21  Meador Inge  <meadori@codesourcery.com>
40855         [BZ #11157]
40856         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
40857         (encrypt_r): Likewise.
40858         * malloc/obstack.h (obstack_free): Likewise.
40859         * posix/unistd.h (encrypt): Likewise.
40861 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
40863         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
40864         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
40865         DL_CALL_DT_FINI() that call the functions directly.
40866         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
40867         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
40868         * elf/dl-fini.c: Likewise.
40870 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
40872         * malloc/hooks.c (memalign_check): Add alignment rounding.
40873         * malloc/malloc.c (_mid_memalign): New function.
40874         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
40875         Implement by calling _mid_memalign.
40876         * manual/probes.texi (Memory Allocation Probes): Remove
40877         memory_valloc_retry and memory_pvalloc_retry.
40879 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40881         * locale/programs/locarchive.c (open_archive): Add const
40882         qualifier to ARCHIVEFNAME and copy default fname to
40883         DEFAULT_FNAME.
40885         [BZ #15601]
40886         * libio/tst-widetext.input: Rename Oriya to Odia.
40887         * locale/iso-639.def: Likewise.
40889         * manual/probes.texi (Mathematical Function Probes): Add
40890         documentation for sin, cos, asin and acos probes.
40891         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
40892         (__sin32): Add slowasin probe.
40893         (__cos32): Add slowacos probe.
40894         (__mpsin): Add slowsin probe.
40895         (__mpcos): Add slowcos probe.
40897 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
40899         [BZ #15483]
40900         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
40901         thread-local __sim_exceptions_thread and global
40902         __sim_exceptions_global.
40903         (__sim_disabled_exceptions): Change to thread-local
40904         __sim_disabled_exceptions_thread and global
40905         __sim_disabled_exceptions_global.
40906         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
40907         and global __sim_round_mode_global.
40908         (__simulate_exceptions): Use thread-local floating-point state and
40909         set global state from it as needed.
40910         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
40911         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
40912         __sim_round_mode_thread.
40913         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
40914         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
40915         and global __sim_exceptions_global.
40916         (__sim_disabled_exceptions): Change to thread-local
40917         __sim_disabled_exceptions_thread and global
40918         __sim_disabled_exceptions_global.
40919         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
40920         and global __sim_round_mode_global.
40921         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
40922         (SIM_SET_GLOBAL): Likewise.
40923         * sysdeps/powerpc/soft-fp/sfp-machine.h
40924         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
40925         __sim_round_mode_thread.
40926         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
40927         __sim_disabled_exceptions_thread.
40928         (__sim_exceptions): Change to __sim_exceptions_thread.
40929         (__sim_disabled_exceptions): Change to
40930         __sim_disabled_exceptions_thread.
40931         (__sim_round_mode): Change to __sim_round_mode_thread.
40932         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
40933         thread-local floating-point state and set global state from it as
40934         needed.
40935         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
40936         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
40937         (__sim_disabled_exceptions): Remove extern declaration.
40938         (feenableexcept): Use thread-local floating-point state and set
40939         global state from it as needed.
40940         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
40941         extern declaration.
40942         (__sim_disabled_exceptions): Likewise.
40943         (__sim_round_mode): Likewise.
40944         (__fegetenv): Use thread-local floating-point state.
40945         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
40946         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
40947         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
40948         floating-point state and set global state from it as needed.
40949         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
40950         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40951         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
40952         Likewise.
40953         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
40954         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
40955         Likewise.
40956         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
40957         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
40958         Use __sim_round_mode_thread.
40959         * math/test-fenv-tls.c: New file.
40960         * math/Makefile (tests): Add test-fenv-tls.
40961         ($(objpfx)test-fenv-tls): Depend on
40962         $(common-objpfx)nptl/libpthread.so.
40964 2013-11-19  Andreas Schwab  <schwab@suse.de>
40966         * locale/programs/locale.c (show_info): Decode wordarray elements.
40967         * locale/categories.def (LC_MONETARY): Add element for
40968         _NL_MONETARY_CRNCYSTR.
40969         * locale/C-monetary.c (conversion_rate): New variable.
40970         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
40971         element.
40973 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
40975         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
40976         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
40978 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
40980         * elf/Makefile (tst-auxv): New test.
40981         * elf/tst-auxv.c: New
40982         * elf/rtld.c (dl_main): Adjust AT_EXECFN
40984 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
40986         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
40987         (hidden_proto): Caller changed.
40988         (hidden_tls_proto): New macro.
40989         (libc_hidden_tls_proto): Likewise.
40990         (rtld_hidden_tls_proto): Likewise.
40991         (libm_hidden_tls_proto): Likewise.
40992         (libresolv_hidden_tls_proto): Likewise.
40993         (librt_hidden_tls_proto): Likewise.
40994         (libdl_hidden_tls_proto): Likewise.
40995         (libnss_files_hidden_tls_proto): Likewise.
40996         (libnsl_hidden_tls_proto): Likewise.
40997         (libnss_nisplus_hidden_tls_proto): Likewise.
40998         (libutil_hidden_tls_proto): Likewise.
41000 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
41002         [BZ #10253]
41003         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
41004         (decompose_rpath): Defer expansion to fillin_rpath.
41005         (_dl_init_paths): Pass linkmap to fillin_rpath.
41007 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41009         * benchtests/Makefile: Add strsep.
41010         * benchtests/bench-strsep.c: New file: strsep benchtest.
41011         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
41013 2013-11-18  Andreas Schwab  <schwab@suse.de>
41015         * locale/programs/locale.c (show_info) [case byte]: Check for
41016         '\377' instead of '\177'.
41017         * locale/C-monetary.c (not_available): Always use "\377".
41018         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
41019         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
41020         detect unavailable sign_posn locale elements.
41021         * locale/localeconv.c (__localeconv): For grouping and
41022         mon_grouping handle "\177" and "\377" like no grouping.
41023         (INT_ELEM): New macro.  Use it to set all numeric members.
41024         * locale/programs/ld-monetary.c (monetary_read)
41025         <tok_mon_grouping>: Normalize single -1 to the empty string.
41026         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
41027         Likewise.
41029 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
41031         [BZ #16055]
41032         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
41033         when we match (nil).
41034         * stdio-common/tst-sscanf.c (struct test): Add testcase.
41036 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
41038         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
41039         (NO_TEST_INLINE): Update value.
41040         (ERRNO_UNCHANGED): Likewise.
41041         (ERRNO_EDOM): Likewise.
41042         (ERRNO_ERANGE): Likewise.
41043         (IGNORE_RESULT): Likewise.
41044         (check_float_internal): Check signs of NaN results if
41045         TEST_NAN_SIGN used.
41046         (check_complex): Pass TEST_NAN_SIGN flag through to second
41047         check_float_internal call.
41048         (copysign_test_data): Add tests with quiet NaNs as second
41049         argument.  Use TEST_NAN_SIGN.
41050         (fabs_test_data): Add test of negative quiet NaN argument.  Use
41051         TEST_NAN_SIGN.
41052         (signbit_test_data): Add tests of quiet NaN argument.
41053         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
41055         * math/gen-libm-test.pl (show_exceptions): Take extra argument
41056         $ignore_result.
41057         (parse_args): Handle function results specified as IGNORE.
41058         * math/libm-test.inc (IGNORE_RESULT): New macro.
41059         (check_float_internal): Do not check numerical result if flag
41060         IGNORE_RESULT set.
41061         (check_complex): Pass through IGNORE_RESULT to second
41062         check_float_internal call.
41063         (check_int): Do not check numerical result if flag IGNORE_RESULT
41064         set.
41065         (check_long): Likewise.
41066         (check_bool): Likewise.
41067         (check_longlong): Likewise.
41068         (lrint_test_data): Add tests of infinite and NaN arguments.
41069         (lrint_tonearest_test_data): Likewise.
41070         (lrint_towardzero_test_data): Likewise.
41071         (lrint_downward_test_data): Likewise.
41072         (lrint_upward_test_data): Likewise.
41073         (llrint_test_data): Likewise.
41074         (llrint_tonearest_test_data): Likewise.
41075         (llrint_towardzero_test_data): Likewise.
41076         (llrint_downward_test_data): Likewise.
41077         (llrint_upward_test_data): Likewise.
41078         (lround_test_data): Likewise.
41079         (llround_test_data): Likewise.
41081         * math/libm-test.inc (NO_TEST_INLINE): New macro.
41082         (ERRNO_UNCHANGED): Update value.
41083         (ERRNO_EDOM): Likewise.
41084         (ERRNO_ERANGE): Likewise.
41085         (NO_TEST_INLINE_FLOAT): New macro.
41086         (NO_TEST_INLINE_DOUBLE): Likewise.
41087         (enable_test): New function.
41088         (RUN_TEST_f_f): Check enable_test before running test.
41089         (RUN_TEST_2_f): Likewise.
41090         (RUN_TEST_fff_f): Likewise.
41091         (RUN_TEST_c_f): Likewise.
41092         (RUN_TEST_f_f1): Likewise.
41093         (RUN_TEST_fF_f1): Likewise.
41094         (RUN_TEST_fI_f1): Likewise.
41095         (RUN_TEST_ffI_f1): Likewise.
41096         (RUN_TEST_c_c): Likewise.
41097         (RUN_TEST_cc_c): Likewise.
41098         (RUN_TEST_f_i): Likewise.
41099         (RUN_TEST_f_i_tg): Likewise.
41100         (RUN_TEST_ff_i_tg): Likewise.
41101         (RUN_TEST_f_b): Likewise.
41102         (RUN_TEST_f_b_tg): Likewise.
41103         (RUN_TEST_f_l): Likewise.
41104         (RUN_TEST_f_L): Likewise.
41105         (RUN_TEST_fFF_11): Likewise.
41106         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
41107         conditionals.
41108         (cosh_test_data): Likewise.
41109         (exp_test_data): Likewise.
41110         (expm1_test_data): Likewise.
41111         (hypot_test_data): Likewise.
41112         (pow_test_data): Likewise.
41113         (sinh_test_data): Likewise.
41114         (tanh_test_data): Likewise.
41115         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
41116         flags argument.
41118         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
41119         tests with quiet NaN input and output.
41120         (acosh_test_data): Likewise.
41121         (asin_test_data): Likewise.
41122         (asinh_test_data): Likewise.
41123         (atan_test_data): Likewise.
41124         (atanh_test_data): Likewise.
41125         (atan2_test_data): Likewise.
41126         (cbrt_test_data): Likewise.
41127         (cos_test_data): Likewise.
41128         (cosh_test_data): Likewise.
41129         (erf_test_data): Likewise.
41130         (erfc_test_data): Likewise.
41131         (exp_test_data): Likewise.
41132         (exp10_test_data): Likewise.
41133         (exp2_test_data): Likewise.
41134         (expm1_test_data): Likewise.
41135         (hypot_test_data): Likewise.
41136         (j0_test_data): Likewise.
41137         (j1_test_data): Likewise.
41138         (jn_test_data): Likewise.
41139         (lgamma_test_data): Likewise.
41140         (log_test_data): Likewise.
41141         (log10_test_data): Likewise.
41142         (log1p_test_data): Likewise.
41143         (log2_test_data): Likewise.
41144         (pow_test_data): Likewise.
41145         (scalb_test_data): Likewise.
41146         (sin_test_data): Likewise.
41147         (sincos_test_data): Likewise.
41148         (sinh_test_data): Likewise.
41149         (tan_test_data): Likewise.
41150         (tanh_test_data): Likewise.
41151         (tgamma_test_data): Likewise.
41152         (y0_test_data): Likewise.
41153         (y1_test_data): Likewise.
41154         (yn_test_data): Likewise.
41156         [BZ #16167]
41157         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
41158         argument being NaN and avoid computations with second argument in
41159         that case.
41160         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41161         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
41162         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41164 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
41166         * locale/iso-639.def: Add Chitwani Tharu (the).
41168 2013-11-14  Andreas Schwab  <schwab@suse.de>
41170         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
41171         word instead of empty string.
41173 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41176         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
41177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41178         (__fe_nomask_env): Likewise.
41180 2013-11-13  Steve Ellcey  <sellcey@mips.com>
41182         * benchtests/bench-timing.h: Include time.h.
41184 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
41186         [BZ #15997]
41187         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
41188         to 3.4.0 for x32.
41189         * sysdeps/unix/sysv/linux/configure: Regenerated.
41191 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
41193         [BZ #16151]
41194         * stdlib/strtod_l.c (round_and_return): Do not consider
41195         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
41196         exponent one less than half the least subnormal exponent.
41197         * stdlib/test-strtod-round-data: Add more tests.
41198         * stdlib/tst-strtod-round.c (tests): Regenerated.
41200 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41202         [BZ #14143]
41203         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
41204         (__fe_mask_env): Likewise.
41205         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
41206         libm_hidden_proto and add function prototype.
41207         (__fe_mask_env): Add function prototype.
41208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41209         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
41210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
41211         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
41212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41213         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
41215 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41217         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
41218         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
41220 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41222         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
41223         of htab_find_slot().
41225 2013-11-11  David S. Miller  <davem@davemloft.net>
41227         [BZ #16150]
41228         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
41229         symbol in the non-vis3 case in static builds.
41230         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
41231         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
41232         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
41233         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
41235 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
41237         [BZ #387]
41238         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
41239         it is empty.
41241 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41243         * benchtests/Makefile: Add bench-strtod.
41244         * benchtests/bench-strtod.c: New file: strtod benchtest
41246 2013-11-11  Andreas Schwab  <schwab@suse.de>
41248         [BZ #16153]
41249         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
41250         terminating NUL in key length.
41252 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41254         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41255         Add artificial ODP entry for vDSO symbol for PPC64.
41256         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
41257         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
41259 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
41261         [BZ #15374]
41262         * nss/getent.c (services_keys): Recognize services starting with digit.
41264 2013-11-06  David S. Miller  <davem@davemloft.net>
41266         [BZ #15985]
41267         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
41268         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
41270 2013-11-06  Will Newton  <will.newton@linaro.org>
41272         * manual/memory.texi (Malloc Examples): Remove register
41273         keyword from examples.
41275 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
41277         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
41279 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
41281         [BZ #6981]
41282         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
41283         depending on [__GCC_IEC_559 > 0].
41284         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
41285         depending on [__GCC_IEC_559_COMPLEX > 0].
41287 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
41289         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
41290         to iso-639.def.
41292 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
41294         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
41296 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
41298         [BZ #16112]
41299         * malloc/malloc (malloc_info): Do not handle first bin as
41300         special case.
41302 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
41304         * locale/iso-639.def: Add Central Nahuatl (nhn).
41306 2013-11-01  Bruno Haible  <bruno@clisp.org>
41308         [BZ #7003]
41309         * manual/math.texi (BSD Random): Specify range upper bound as
41310         in POSIX.
41312 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
41314         * locale/iso-639.def: Add Meadow Mari (mhr).
41316 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
41318         [BZ #14752], [BZ #15763]
41319         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
41320         Validate name.
41321         * rt/tst_shm.c: Add test for escaping directory.
41323 2013-10-31  Andreas Schwab  <schwab@suse.de>
41325         [BZ #15917]
41326         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
41327         followed by 'x' as part of digit sequence.
41328         * stdio-common/tst-sscanf.c (double_tests2): New tests.
41330 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
41332         [BZ #16037]
41333         * configure.ac: allow GNU Make 4.0 and greater.
41334         * configure: Regenerated.
41336 2013-10-30  Will Newton  <will.newton@linaro.org>
41338         [BZ #16038]
41339         * malloc/hooks.c (memalign_check): Limit alignment to the
41340         maximum representable power of two.
41341         * malloc/malloc.c (__libc_memalign): Likewise.
41342         * malloc/tst-memalign.c (do_test): Add test for very
41343         large alignment values.
41344         * malloc/tst-posix_memalign.c (do_test): Likewise.
41346 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
41348         [BZ #11087]
41349         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
41350         (munmap_chunk): Likewise.
41351         (mremap_chunk): Likewise.
41353 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
41355         [BZ #15799]
41356         * stdlib/div.c (div): Remove obsolete code.
41357         * stdlib/ldiv.c (ldiv): Likewise.
41358         * stdlib/lldiv.c (lldiv): Likewise.
41360 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41362         [BZ #16071]
41363         * nss/nss_files/files-XXX.c (get_contents_ret): New
41364         enumerator.
41365         (get_contents): New function.
41366         (internal_getent): Use it.  Expand size of LINEBUFLEN.
41368 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
41370         * configure.in: Moved to ...
41371         * configure.ac: ... here. Change reference to configure.in
41372         to configure.ac.
41373         * sysdeps/arm/preconfigure.ac: ... here.
41374         configure.in to configure.ac.
41375         * sysdeps/gnu/configure.in: Moved to ...
41376         * sysdeps/gnu/configure.ac: ... here.
41377         * sysdeps/i386/configure.in: Moved to ...
41378         * sysdeps/i386/configure.ac: ... here.
41379         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
41380         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
41381         * sysdeps/mach/configure.in: Moved to ...
41382         * sysdeps/mach/configure.ac: ... here.
41383         * sysdeps/mach/hurd/configure.in: Moved to ...
41384         * sysdeps/mach/hurd/configure.ac: ... here.
41385         * sysdeps/powerpc/configure.in: Moved to ...
41386         * sysdeps/powerpc/configure.ac: ... here.
41387         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
41388         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
41389         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
41390         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
41391         * sysdeps/s390/s390-32/configure.in: Moved to ...
41392         * sysdeps/s390/s390-32/configure.ac: ... here.
41393         * sysdeps/s390/s390-64/configure.in: Moved to ...
41394         * sysdeps/s390/s390-64/configure.ac: ... here.
41395         * sysdeps/sh/configure.in: Moved to ...
41396         * sysdeps/sh/configure.ac: ... here.
41397         * sysdeps/sparc/configure.in: Moved to ...
41398         * sysdeps/sparc/configure.ac: ... here.
41399         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
41400         * sysdeps/unix/sysv/linux/configure.ac: ... here.
41401         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
41402         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
41403         * sysdeps/x86_64/configure.in: Moved to ...
41404         * sysdeps/x86_64/configure.ac: ... here.
41405         * sysdeps/x86_64/preconfigure.in: Moved to ...
41406         * sysdeps/x86_64/preconfigure.ac: ... here.
41407         * aclocal.m4: Change reference to configure.in to configure.ac.
41408         * config.h.in: Likewise.
41409         * manual/install.texi: Likewise.
41410         * manual/maint.texi: Likewise.
41411         * Makefile: Likewise.
41412         * malloc/Makefile: Likewise.
41413         * nscd/Makefile: Likewise.
41414         * Makeconfig: Change reference to configure.in and
41415         preconfigure.in to configure.ac and preconfigure.ac
41416         respectively.
41417         * INSTALL: Regenerated.
41418         * configure: Likewise.
41419         * sysdeps/gnu/configure: Likewise.
41420         * sysdeps/i386/configure: Likewise.
41421         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
41422         * sysdeps/mach/configure: Likewise.
41423         * sysdeps/mach/hurd/configure: Likewise.
41424         * sysdeps/powerpc/configure: Likewise.
41425         * sysdeps/powerpc/powerpc32/configure: Likewise.
41426         * sysdeps/powerpc/powerpc64/configure: Likewise.
41427         * sysdeps/s390/s390-32/configure: Likewise.
41428         * sysdeps/s390/s390-64/configure: Likewise.
41429         * sysdeps/sh/configure: Likewise.
41430         * sysdeps/sparc/configure: Likewise.
41431         * sysdeps/unix/sysv/linux/configure: Likewise.
41432         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
41433         * sysdeps/x86_64/configure: Likewise.
41434         * sysdeps/x86_64/preconfigure: Likewise.
41436 2013-10-29  Andreas Schwab  <schwab@suse.de>
41438         * stdio-common/Makefile (tst-swscanf-ENV): Define.
41440 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41442         * benchtests/pow-inputs: Add new inputs.
41444         * benchtests/exp-inputs: Add new inputs.
41446         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
41447         conditional check for return value.
41448         (__cos32): Likewise.
41450 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41452         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
41453         to provide a boost for large inputs with word alignment.
41454         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
41455         implementation based on optimized PPC64 strcpy.
41456         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
41457         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
41458         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
41459         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
41461 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41463         [BZ #2801]
41464         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
41466 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41468         [BZ #14876]
41469         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
41470         * time/tst-strptime.c (day_tests): Add testcase.
41472 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41474         [BZ #14029]
41475         * manual/pattern.texi: Acknowledge that fnmatch can fail.
41477 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
41479         [BZ #16074]
41480         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
41481         MAP_FAILED on error.
41483 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41485         [BZ #16072]
41486         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
41487         heap for large requests.
41489 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
41491         [BZ #9954]
41492         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
41493         result if the result has no associated interface.
41494         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
41495         interface for all 127.X.Y.Z addresses.
41497 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
41499         * locale/iso-639.def: Add Ligurian (lij)
41501 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
41503         [BZ #15825]
41504         * sunrpc/rpc_main.c: Document rpcgen -5.
41506 2013-10-19  Michael Stahl  <mstahl@redhat.com>
41508         * elf/rtld.c (do_preload): Print the reason why preloading failed.
41510 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
41512         [BZ #10278]
41513         * posix/glob.c: Match only directories when trailing slash is present.
41514         * posix/tst-gnuglob.c (my_opendir): Do not open files.
41515         (main): Add testcase.
41517 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
41519         [BZ #15670]
41520         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
41522 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
41524         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
41525         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
41526         AUTH_DES and cindex for FIPS 140-2.
41527         (DES Encryption): Add cindex FIPS 46-3.
41529         * locale/locarchive.h (struct locarhandle): Add fname.
41530         * locale/programs/localedef.c (main): Pass ARGV[remaining]
41531         if an optional argument was specified to --list-archive,
41532         otherwise NULL.
41533         * locale/programs/locarchive.c (show_archive_content): Take new
41534         argument fname and pass it via ah.fname to open_archive.
41535         * locale/programs/localedef.h: Update decl.
41536         (open_archive): If AH->fname is non-null, open that file
41537         rather than the default file name, and don't ignore ENOENT.
41538         (create_archive): Set AH.fname to NULL.
41539         (delete_locales_from_archive): Likewise.
41540         (add_locales_to_archive): Likewise.
41541         * locale/programs/locfile.c (write_all_categories): Likewise.
41543 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
41544             Aldy Hernandez  <aldyh@redhat.com>
41546         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
41547         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
41548         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
41549         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
41550         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
41551         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
41552         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
41553         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
41554         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
41555         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
41556         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
41557         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
41558         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
41559         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
41560         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
41561         Likewise.
41562         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
41563         Likewise.
41564         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
41565         Likewise.
41566         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
41567         Likewise.
41568         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
41569         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
41570         Likewise.
41571         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
41572         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
41573         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
41574         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
41575         Likewise.
41576         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
41577         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
41578         * sysdeps/powerpc/preconfigure: Likewise.
41579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
41580         Likewise.
41581         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
41582         Replace contents of file by #include of <fenv_libc.h>.
41583         * sysdeps/powerpc/soft-fp/sfp-machine.h
41584         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
41585         and <sys/prctl.h>.
41586         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
41587         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
41588         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
41589         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
41590         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
41591         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
41592         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
41593         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
41594         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
41595         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
41596         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
41597         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
41598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41599         Allow copysignl PLT reference to be missing.
41601 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
41602             Joseph Myers  <joseph@codesourcery.com
41604         [BZ #15948]
41605         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
41606         single character.
41607         (add_to_tablewc): Assert sequence of wide characters is nonempty.
41609 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41611         * elf/tst-tls-dlinfo.c: Don't include tls.h.
41612         * elf/tst-tls1.c: Likewise.
41613         * elf/tst-tls10.h: Likewise.
41614         * elf/tst-tls14.c: Likewise.
41615         * elf/tst-tls2.c: Likewise.
41616         * elf/tst-tls3.c: Likewise.
41617         * elf/tst-tls4.c: Likewise.
41618         * elf/tst-tls5.c: Likewise.
41619         * elf/tst-tls6.c: Likewise.
41620         * elf/tst-tls7.c: Likewise.
41621         * elf/tst-tls8.c: Likewise.
41622         * elf/tst-tls9.c: Likewise.
41623         * elf/tst-tlsmod1.c: Likewise.
41624         * elf/tst-tlsmod13.c: Likewise.
41625         * elf/tst-tlsmod13a.c: Likewise.
41626         * elf/tst-tlsmod14a.c: Likewise.
41627         * elf/tst-tlsmod16a.c: Likewise.
41628         * elf/tst-tlsmod16b.c: Likewise.
41629         * elf/tst-tlsmod2.c: Likewise.
41630         * elf/tst-tlsmod3.c: Likewise.
41631         * elf/tst-tlsmod4.c: Likewise.
41632         * elf/tst-tlsmod5.c: Likewise.
41633         * elf/tst-tlsmod6.c: Likewise.
41635 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
41637         [BZ #12486]
41638         * malloc/malloc.c: remove checks for statistics.
41640 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41642         [BZ #15277]
41643         * inet/inet_net.c (inet_network): Detect additional invalid strings.
41644         * inet/tst-network.c: Add testcase.
41646 2013-10-17  Andreas Schwab  <schwab@suse.de>
41648         [BZ #15218]
41649         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
41650         to determine canonical name.
41652 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41654         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
41655         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
41656         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41657         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41658         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41659         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41660         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41661         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41662         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41663         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41664         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41665         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41666         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41667         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41668         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41669         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41670         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41671         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41672         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41673         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41674         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41675         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41676         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41677         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
41678         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
41679         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41680         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41681         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
41682         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41683         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
41684         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41685         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41686         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41687         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41688         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41689         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41690         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41691         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41692         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41693         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41694         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41695         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41696         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41697         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41698         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41699         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41700         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41701         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41702         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41703         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41704         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41705         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41706         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41707         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41708         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41709         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41710         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41711         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41713 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
41715         [BZ #16041]
41716         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
41717         make result into a quiet NaN.
41719 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
41721         * soft-fp/adddf3.c: Fix horizontal whitespace.
41722         * soft-fp/addsf3.c: Likewise.
41723         * soft-fp/addtf3.c: Likewise.
41724         * soft-fp/divdf3.c: Likewise.
41725         * soft-fp/divsf3.c: Likewise.
41726         * soft-fp/divtf3.c: Likewise.
41727         * soft-fp/double.h: Likewise.
41728         * soft-fp/eqdf2.c: Likewise.
41729         * soft-fp/eqsf2.c: Likewise.
41730         * soft-fp/eqtf2.c: Likewise.
41731         * soft-fp/extenddftf2.c: Likewise.
41732         * soft-fp/extended.h: Likewise.
41733         * soft-fp/extendsfdf2.c: Likewise.
41734         * soft-fp/extendsftf2.c: Likewise.
41735         * soft-fp/extendxftf2.c: Likewise.
41736         * soft-fp/fixdfdi.c: Likewise.
41737         * soft-fp/fixdfsi.c: Likewise.
41738         * soft-fp/fixdfti.c: Likewise.
41739         * soft-fp/fixsfdi.c: Likewise.
41740         * soft-fp/fixsfsi.c: Likewise.
41741         * soft-fp/fixsfti.c: Likewise.
41742         * soft-fp/fixtfdi.c: Likewise.
41743         * soft-fp/fixtfsi.c: Likewise.
41744         * soft-fp/fixtfti.c: Likewise.
41745         * soft-fp/fixunsdfdi.c: Likewise.
41746         * soft-fp/fixunsdfsi.c: Likewise.
41747         * soft-fp/fixunsdfti.c: Likewise.
41748         * soft-fp/fixunssfdi.c: Likewise.
41749         * soft-fp/fixunssfsi.c: Likewise.
41750         * soft-fp/fixunssfti.c: Likewise.
41751         * soft-fp/fixunstfdi.c: Likewise.
41752         * soft-fp/fixunstfsi.c: Likewise.
41753         * soft-fp/fixunstfti.c: Likewise.
41754         * soft-fp/floatdidf.c: Likewise.
41755         * soft-fp/floatdisf.c: Likewise.
41756         * soft-fp/floatditf.c: Likewise.
41757         * soft-fp/floatsidf.c: Likewise.
41758         * soft-fp/floatsisf.c: Likewise.
41759         * soft-fp/floatsitf.c: Likewise.
41760         * soft-fp/floattidf.c: Likewise.
41761         * soft-fp/floattisf.c: Likewise.
41762         * soft-fp/floattitf.c: Likewise.
41763         * soft-fp/floatundidf.c: Likewise.
41764         * soft-fp/floatundisf.c: Likewise.
41765         * soft-fp/floatunditf.c: Likewise.
41766         * soft-fp/floatunsidf.c: Likewise.
41767         * soft-fp/floatunsisf.c: Likewise.
41768         * soft-fp/floatunsitf.c: Likewise.
41769         * soft-fp/floatuntidf.c: Likewise.
41770         * soft-fp/floatuntisf.c: Likewise.
41771         * soft-fp/floatuntitf.c: Likewise.
41772         * soft-fp/fmadf4.c: Likewise.
41773         * soft-fp/fmasf4.c: Likewise.
41774         * soft-fp/fmatf4.c: Likewise.
41775         * soft-fp/gedf2.c: Likewise.
41776         * soft-fp/gesf2.c: Likewise.
41777         * soft-fp/getf2.c: Likewise.
41778         * soft-fp/ledf2.c: Likewise.
41779         * soft-fp/lesf2.c: Likewise.
41780         * soft-fp/letf2.c: Likewise.
41781         * soft-fp/muldf3.c: Likewise.
41782         * soft-fp/mulsf3.c: Likewise.
41783         * soft-fp/multf3.c: Likewise.
41784         * soft-fp/negdf2.c: Likewise.
41785         * soft-fp/negsf2.c: Likewise.
41786         * soft-fp/negtf2.c: Likewise.
41787         * soft-fp/op-1.h: Likewise.
41788         * soft-fp/op-2.h: Likewise.
41789         * soft-fp/op-4.h: Likewise.
41790         * soft-fp/op-8.h: Likewise.
41791         * soft-fp/op-common.h: Likewise.
41792         * soft-fp/quad.h: Likewise.
41793         * soft-fp/single.h: Likewise.
41794         * soft-fp/soft-fp.h: Likewise.
41795         * soft-fp/sqrtdf2.c: Likewise.
41796         * soft-fp/sqrtsf2.c: Likewise.
41797         * soft-fp/sqrttf2.c: Likewise.
41798         * soft-fp/subdf3.c: Likewise.
41799         * soft-fp/subsf3.c: Likewise.
41800         * soft-fp/subtf3.c: Likewise.
41801         * soft-fp/truncdfsf2.c: Likewise.
41802         * soft-fp/trunctfdf2.c: Likewise.
41803         * soft-fp/trunctfsf2.c: Likewise.
41804         * soft-fp/trunctfxf2.c: Likewise.
41805         * soft-fp/unorddf2.c: Likewise.
41806         * soft-fp/unordsf2.c: Likewise.
41807         * soft-fp/unordtf2.c: Likewise.
41809 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
41811         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
41812         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
41814 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
41816         * elf/dl-libc.c: Clear initfini list after freeing.
41818 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
41820         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
41821         * soft-fp/addsf3.c: Likewise.
41822         * soft-fp/addtf3.c: Likewise.
41823         * soft-fp/divdf3.c: Likewise.
41824         * soft-fp/divsf3.c: Likewise.
41825         * soft-fp/divtf3.c: Likewise.
41826         * soft-fp/double.h: Likewise.
41827         * soft-fp/eqdf2.c: Likewise.
41828         * soft-fp/eqsf2.c: Likewise.
41829         * soft-fp/eqtf2.c: Likewise.
41830         * soft-fp/extenddftf2.c: Likewise.
41831         * soft-fp/extended.h: Likewise.
41832         * soft-fp/extendsfdf2.c: Likewise.
41833         * soft-fp/extendsftf2.c: Likewise.
41834         * soft-fp/extendxftf2.c: Likewise.
41835         * soft-fp/fixdfdi.c: Likewise.
41836         * soft-fp/fixdfsi.c: Likewise.
41837         * soft-fp/fixdfti.c: Likewise.
41838         * soft-fp/fixsfdi.c: Likewise.
41839         * soft-fp/fixsfsi.c: Likewise.
41840         * soft-fp/fixsfti.c: Likewise.
41841         * soft-fp/fixtfdi.c: Likewise.
41842         * soft-fp/fixtfsi.c: Likewise.
41843         * soft-fp/fixtfti.c: Likewise.
41844         * soft-fp/fixunsdfdi.c: Likewise.
41845         * soft-fp/fixunsdfsi.c: Likewise.
41846         * soft-fp/fixunsdfti.c: Likewise.
41847         * soft-fp/fixunssfdi.c: Likewise.
41848         * soft-fp/fixunssfsi.c: Likewise.
41849         * soft-fp/fixunssfti.c: Likewise.
41850         * soft-fp/fixunstfdi.c: Likewise.
41851         * soft-fp/fixunstfsi.c: Likewise.
41852         * soft-fp/fixunstfti.c: Likewise.
41853         * soft-fp/floatdidf.c: Likewise.
41854         * soft-fp/floatdisf.c: Likewise.
41855         * soft-fp/floatditf.c: Likewise.
41856         * soft-fp/floatsidf.c: Likewise.
41857         * soft-fp/floatsisf.c: Likewise.
41858         * soft-fp/floatsitf.c: Likewise.
41859         * soft-fp/floattidf.c: Likewise.
41860         * soft-fp/floattisf.c: Likewise.
41861         * soft-fp/floattitf.c: Likewise.
41862         * soft-fp/floatundidf.c: Likewise.
41863         * soft-fp/floatundisf.c: Likewise.
41864         * soft-fp/floatunsidf.c: Likewise.
41865         * soft-fp/floatunsisf.c: Likewise.
41866         * soft-fp/floatuntidf.c: Likewise.
41867         * soft-fp/floatuntisf.c: Likewise.
41868         * soft-fp/floatuntitf.c: Likewise.
41869         * soft-fp/fmadf4.c: Likewise.
41870         * soft-fp/fmasf4.c: Likewise.
41871         * soft-fp/fmatf4.c: Likewise.
41872         * soft-fp/gedf2.c: Likewise.
41873         * soft-fp/gesf2.c: Likewise.
41874         * soft-fp/getf2.c: Likewise.
41875         * soft-fp/ledf2.c: Likewise.
41876         * soft-fp/lesf2.c: Likewise.
41877         * soft-fp/letf2.c: Likewise.
41878         * soft-fp/muldf3.c: Likewise.
41879         * soft-fp/mulsf3.c: Likewise.
41880         * soft-fp/multf3.c: Likewise.
41881         * soft-fp/negdf2.c: Likewise.
41882         * soft-fp/negsf2.c: Likewise.
41883         * soft-fp/negtf2.c: Likewise.
41884         * soft-fp/op-1.h: Likewise.
41885         * soft-fp/op-2.h: Likewise.
41886         * soft-fp/op-4.h: Likewise.
41887         * soft-fp/op-8.h: Likewise.
41888         * soft-fp/op-common.h: Likewise.
41889         * soft-fp/quad.h: Likewise.
41890         * soft-fp/single.h: Likewise.
41891         * soft-fp/soft-fp.h: Likewise.
41892         * soft-fp/sqrtdf2.c: Likewise.
41893         * soft-fp/sqrtsf2.c: Likewise.
41894         * soft-fp/sqrttf2.c: Likewise.
41895         * soft-fp/subdf3.c: Likewise.
41896         * soft-fp/subsf3.c: Likewise.
41897         * soft-fp/subtf3.c: Likewise.
41898         * soft-fp/truncdfsf2.c: Likewise.
41899         * soft-fp/trunctfdf2.c: Likewise.
41900         * soft-fp/trunctfsf2.c: Likewise.
41901         * soft-fp/trunctfxf2.c: Likewise.
41902         * soft-fp/unorddf2.c: Likewise.
41903         * soft-fp/unordsf2.c: Likewise.
41904         * soft-fp/unordtf2.c: Likewise.
41906 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
41908         [BZ #15672]
41909         * misc/error.c (error_tail): Fix possible buffer overflow.
41911 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
41913         [BZ #13028]
41914         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
41915         address.
41917 2013-10-14  P. J. McDermott  <pj@pehjota.net>
41919         [BZ #832]
41920         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
41921         testing pipefail option.
41923 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
41925         * soft-fp/double.h: Indent preprocessor directives inside #if.
41926         * soft-fp/extended.h: Likewise.
41927         * soft-fp/op-2.h: Likewise.
41928         * soft-fp/op-4.h: Likewise.
41929         * soft-fp/op-common.h: Likewise.
41930         * soft-fp/quad.h: Likewise.
41931         * soft-fp/single.h: Likewise.
41932         * soft-fp/soft-fp.h: Likewise.
41934 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
41936         * iconv/iconv_prog.c: Fix typos.
41937         * stdio-common/psiginfo-data.h: Likewise.
41939 2013-10-12   Reuben Thomas <rrt@sc3d.org>
41941         [BZ #15764]
41942         * locale/setlocale.c: Fix typo.
41944 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
41946         [BZ #16036]
41947         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
41948         signaling NaN arguments.
41949         * soft-fp/unordsf2.c (__unordsf2): Likewise.
41950         * soft-fp/unordtf2.c (__unordtf2): Likewise.
41952         [BZ #14910]
41953         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
41954         unordered operands.
41955         * soft-fp/gesf2.c (__gesf2): Likewise.
41956         * soft-fp/getf2.c (__getf2): Likewise.
41957         * soft-fp/ledf2.c (__ledf2): Likewise.
41958         * soft-fp/lesf2.c (__lesf2): Likewise.
41959         * soft-fp/letf2.c (__letf2): Likewise.
41961         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
41962         * soft-fp/eqsf2.c (__eqsf2): Likewise.
41963         * soft-fp/eqtf2.c (__eqtf2): Likewise.
41964         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
41965         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
41966         * soft-fp/fixdfti.c (__fixdfti): Likewise.
41967         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
41968         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
41969         * soft-fp/fixsfti.c (__fixsfti): Likewise.
41970         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
41971         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
41972         * soft-fp/fixtfti.c (__fixtfti): Likewise.
41973         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
41974         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
41975         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
41976         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
41977         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
41978         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
41979         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
41980         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
41981         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
41982         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
41983         * soft-fp/floatdisf.c (__floatdisf): Likewise.
41984         * soft-fp/floatsisf.c (__floatsisf): Likewise.
41985         * soft-fp/floattidf.c (__floattidf): Likewise.
41986         * soft-fp/floattisf.c (__floattisf): Likewise.
41987         * soft-fp/floattitf.c (__floattitf): Likewise.
41988         * soft-fp/floatundidf.c (__floatundidf): Likewise.
41989         * soft-fp/floatundisf.c (__floatundisf): Likewise.
41990         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
41991         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
41992         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
41993         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
41994         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
41995         * soft-fp/gesf2.c (__gesf2): Likewise.
41996         * soft-fp/getf2.c (__getf2): Likewise.
41997         * soft-fp/ledf2.c (__ledf2): Likewise.
41998         * soft-fp/lesf2.c (__lesf2): Likewise.
41999         * soft-fp/letf2.c (__letf2): Likewise.
42001         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
42002         Undefine and redefine.
42003         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
42004         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
42005         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
42006         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
42007         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42008         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
42009         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42010         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
42011         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42012         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
42013         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42014         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
42015         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42016         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
42017         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42019         [BZ #16032]
42020         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
42021         without decrementing exponent if mantissa >= that for the
42022         denominator, not >.
42023         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
42024         denominator, not >.  Decrement exponent in < case instead of
42025         incrementing in >= case.
42026         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
42027         without decrementing exponent if mantissa >= that for the
42028         denominator, not >.
42030         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
42031         computing saturated result for unsigned overflow.
42033 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42034             Jeff Law  <law@redhat.com>
42036         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
42037         (atan2Mp): Add systemtap probe marker.
42038         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
42039         (__ieee754_log): Add systemtap probe marker.
42040         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
42041         (atanMp): Add systemtap probe marker.
42042         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
42043         (tanMp): Add systemtap probe marker.
42044         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
42045         (__slowexp): Add systemtap probe marker.
42046         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
42047         (__slowpow): Add systemtap probe marker.
42048         * manual/probes.texi: Document probes.
42050 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
42052         [BZ #15362]
42053         * libio/fileops.c (_IO_new_file_write): Return count of bytes
42054         written.
42055         (_IO_new_file_xsputn): Don't return EOF if nothing has been
42056         written.
42057         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
42058         written to buffer but not flushed.
42059         * libio/iofwrite_u.c:  Likewise.
42060         * libio/iopadn.c:  Return bytes returned even if EOF was
42061         encountered.
42062         * libio/iowpadn.c:  Likewise.
42063         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
42064         if _IO_padn does not write the whole buffer.
42065         [!COMPILE_WPRINTF] (PAD): Likewise.
42067 2013-10-10  David S. Miller  <davem@davemloft.net>
42069         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
42070         directory block.
42072 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
42074         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
42075         instead of FSF address.
42076         * soft-fp/fixdfti.c: Likewise.
42077         * soft-fp/fixsfti.c: Likewise.
42078         * soft-fp/fixtfti.c: Likewise.
42079         * soft-fp/fixunsdfti.c: Likewise.
42080         * soft-fp/fixunssfti.c: Likewise.
42081         * soft-fp/fixunstfti.c: Likewise.
42082         * soft-fp/floattidf.c: Likewise.
42083         * soft-fp/floattisf.c: Likewise.
42084         * soft-fp/floattitf.c: Likewise.
42085         * soft-fp/floatuntidf.c: Likewise.
42086         * soft-fp/floatuntisf.c: Likewise.
42087         * soft-fp/floatuntitf.c: Likewise.
42088         * soft-fp/trunctfxf2.c: Likewise.
42090         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
42091         * soft-fp/fixdfti.c: Likewise.
42092         * soft-fp/fixsfti.c: Likewise.
42093         * soft-fp/fixtfti.c: Likewise.
42094         * soft-fp/fixunsdfti.c: Likewise.
42095         * soft-fp/fixunssfti.c: Likewise.
42096         * soft-fp/fixunstfti.c: Likewise.
42097         * soft-fp/floattidf.c: Likewise.
42098         * soft-fp/floattisf.c: Likewise.
42099         * soft-fp/floattitf.c: Likewise.
42100         * soft-fp/floatuntidf.c: Likewise.
42101         * soft-fp/floatuntisf.c: Likewise.
42102         * soft-fp/floatuntitf.c: Likewise.
42103         * soft-fp/trunctfxf2.c: Likewise.
42105 2013-10-10  David S. Miller  <davem@davemloft.net>
42107         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42109 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
42111         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42112         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
42113         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
42114         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
42115         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
42116         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
42117         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
42119         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
42120         for NaNs before doing comparisons on argument.
42121         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
42122         Likewise.
42124 2013-10-10  Will Newton  <will.newton@linaro.org>
42126         * malloc/hooks.c (memalign_check): Ensure the value of bytes
42127         passed to _int_memalign does not overflow.
42129 2013-10-10  Torvald Riegel  <triegel@redhat.com>
42131         * scripts/bench.pl: Add include-sources directive.
42132         * benchtests/README: Update documentation.
42134 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
42136         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
42137         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
42138         instead of FP_INIT_ROUNDMODE.
42139         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
42140         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
42142         [BZ #16034]
42143         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
42144         copy class of input value.
42145         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
42146         not handle exceptions.
42147         * soft-fp/negsf2.c (__negsf2): Likewise.
42148         * soft-fp/negtf2.c (__negtf2): Likewise.
42149         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
42151 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
42153         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
42154         semicolon.  From Linux kernel.
42156 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
42158         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
42160 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
42162         [BZ #156]
42163         * manual/socket.texi: Added statement about buffer
42164         for gethostbyname2_r.
42166 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
42168         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
42169         Use .p2align directive instead, throughout.
42170         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42171         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
42172         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
42173         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42174         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42175         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
42176         * sysdeps/x86_64/strchr.S: Likewise.
42177         * sysdeps/x86_64/strrchr.S: Likewise.
42179 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42181         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
42183         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
42185         * sysdeps/generic/math_private.h (__mpsin1): Remove
42186         declaration.
42187         (__mpcos1): Likewise.
42188         (__mpsin): New argument __range_reduce.
42189         (__mpcos): Likewise.
42190         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42191         (slow): Use __mpsin and __mpcos.
42192         (slow1): Likewise.
42193         (slow2): Likewise.
42194         (sloww): Likewise.
42195         (sloww1): Likewise.
42196         (sloww2): Likewise.
42197         (bsloww): Likewise.
42198         (bsloww1): Likewise.
42199         (bsloww2): Likewise.
42200         (cslow2): Likewise.
42201         (csloww): Likewise.
42202         (csloww1): Likewise.
42203         (csloww2): Likewise.
42204         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
42205         range_reduce.  Merge in __mpsin1.
42206         (__mpcos): Likewise.
42207         (__mpsin1): Remove.
42208         (__mpcos1): Likewise.
42210 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
42212         * locale/loadlocale.c (_nl_intern_locale_data): Use
42213         LOCFILE_ALIGNED_P.
42214         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
42215         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
42216         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
42217         obstack data is appropriately aligned.
42218         (obstack_int32_grow_fast): Likewise.
42219         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
42220         * locale/programs/locfile.c (add_locale_uint32): Likewise.
42221         (add_locale_uint32_array): Likewise.
42223 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
42225         * benchtests/Makefile: Remove ARGLIST and RET variables.
42226         ($(objpfx)bench-%.c): Pass only function name to the script.
42227         * benchtests/README: Update documentation.
42228         * benchtests/acos-inputs: Add new directives.
42229         * benchtests/acosh-inputs: Likewise.
42230         * benchtests/asin-inputs: Likewise.
42231         * benchtests/asinh-inputs: Likewise.
42232         * benchtests/atan-inputs: Likewise.
42233         * benchtests/atanh-inputs: Likewise.
42234         * benchtests/cos-inputs: Likewise.
42235         * benchtests/cosh-inputs: Likewise.
42236         * benchtests/exp-inputs: Likewise.
42237         * benchtests/log-inputs: Likewise.
42238         * benchtests/pow-inputs: Likewise.
42239         * benchtests/rint-inputs: Likewise.
42240         * benchtests/sin-inputs: Likewise.
42241         * benchtests/sinh-inputs: Likewise.
42242         * benchtests/tan-inputs: Likewise.
42243         * benchtests/tanh-inputs: Likewise.
42244         * scripts/bench.pl: Add support for new directives.
42246 2013-10-07  Alan Modra  <amodra@gmail.com>
42248         * README: Fix careless merge.
42250 2013-10-05  Alan Modra  <amodra@gmail.com>
42252         * NEWS: Mention powerpc64le support and bugs fixed.
42253         * README: Both big-endian and little-endian powerpc64 supported.
42255 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42257         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
42258         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
42259         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
42260         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
42262 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
42264         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
42265         match prototype.
42267 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
42269         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
42270         Move -mhard-float appending from
42271         ports/sysdeps/powerpc/powerpc32/Makefile.
42272         [$(with-fp) = yes] (ASFLAGS): Likewise.
42273         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
42274         * sysdeps/powerpc/nofpu: Move directory from
42275         ports/sysdeps/powerpc/nofpu.
42276         * sysdeps/powerpc/soft-fp: Move directory from
42277         ports/sysdeps/powerpc/soft-fp.
42278         * sysdeps/powerpc/powerpc32/405: Move directory from
42279         ports/sysdeps/powerpc/powerpc32/405.
42280         * sysdeps/powerpc/powerpc32/440: Move directory from
42281         ports/sysdeps/powerpc/powerpc32/440.
42282         * sysdeps/powerpc/powerpc32/464: Move directory from
42283         ports/sysdeps/powerpc/powerpc32/464.
42284         * sysdeps/powerpc/powerpc32/476: Move directory from
42285         ports/sysdeps/powerpc/powerpc32/476.
42286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
42287         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
42288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
42289         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
42290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
42291         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
42292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
42293         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
42294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
42295         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
42296         * README: Update for powerpc-*-linux-gnu software floating point
42297         support in libc.
42299         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
42300         case to powerpc/powerpc32*.
42301         * sysdeps/unix/sysv/linux/configure: Regenerated.
42303         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
42304         (_FPU_MASK_OM): Define as 0x04.
42305         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
42306         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
42307         0x00c10080.
42308         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
42309         0x0000003c.
42310         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
42312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
42313         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
42314         getcontext_e500.
42315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
42316         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
42317         setcontext_e500.
42318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
42319         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
42320         and setcontext_e500.
42322 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
42324         * locale/iso-3166.def: Update iso-1366.def and related occurrences
42326 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42328         * manual/threads.texi (Default Thread Attributes): Fix typo.
42330 2013-10-04  Will Newton  <will.newton@linaro.org>
42332         * malloc/Makefile: Add tst-memalign.
42333         * malloc/tst-memalign.c: New file.
42335         * malloc/tst-posix_memalign.c: Add comments.
42336         (do_test): Add comments and call free on all potentially
42337         allocated pointers. Add space after cast.
42339         * malloc/tst-pvalloc.c: Add comments.
42340         (do_test): Add comments and call free on all potentially
42341         allocated pointers. Remove duplicate check for NULL pointer.
42342         Add space after cast.
42344         * malloc/tst-valloc.c: Add comments.
42345         (do_test): Add comments and call free on all potentially
42346         allocated pointers. Remove duplicate check for NULL pointer.
42347         Add space after cast.
42349 2013-10-04  Alan Modra  <amodra@gmail.com>
42351         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42352         Use stdint types in rather than __attribute__((mode())).
42353         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42355 2013-10-04  Alan Modra  <amodra@gmail.com>
42357         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42358         Correct handling of unaligned relocs for little-endian.
42359         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42361 2013-10-04  Alan Modra  <amodra@gmail.com>
42363         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
42364         * configure: Regenerate.
42365         * nptl/shlib-versions: Powerpc*le starts at 2.18.
42366         * shlib-versions: Likewise.
42368 2013-10-04  Alan Modra  <amodra@gmail.com>
42370         * string/tester.c (test_memrchr): Increment reported test cycle.
42372 2013-10-04  Alan Modra  <amodra@gmail.com>
42374         * string/test-memcpy.c (do_one_test): When reporting errors, print
42375         string address and don't overrun end of string.
42377 2013-10-04  Alan Modra  <amodra@gmail.com>
42379         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
42380         insrdi.  Make better use of reg selection to speed exit slightly.
42381         Schedule entry path a little better.  Remove useless "are we done"
42382         checks on entry to main loop.  Handle wrapping around zero address.
42383         Correct main loop count.  Handle single left-over word from main
42384         loop inline rather than by using loop_small.  Remove extra word
42385         case in loop_small caused by wrong loop count.  Add little-endian
42386         support.
42387         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
42388         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
42389         cache hint.
42390         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
42391         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
42392         support.  Avoid rlwimi.
42393         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
42395 2013-10-04  Alan Modra  <amodra@gmail.com>
42397         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
42398         insrdi.  Formatting.
42399         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
42400         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42401         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
42402         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
42403         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
42404         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
42406 2013-10-04  Alan Modra  <amodra@gmail.com>
42408         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
42409         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42410         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
42411         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
42412         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
42413         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42414         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42415         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42416         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
42417         use of regs.  Use power7 mtocrf.  Tidy function tails.
42419 2013-10-04  Alan Modra  <amodra@gmail.com>
42421         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
42422         Formatting.  Consistently use rXXX register defines or rN defines.
42423         Use early exit labels that avoid restoring unused non-volatile regs.
42424         Make cr field use more consistent with rWORDn compares.  Rename
42425         regs used as shift registers for unaligned loop, using rN defines
42426         for short lifetime/multiple use regs.
42427         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42428         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
42429         addi 1,1,64 to pop stack frame.  Simplify return value code.
42430         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42432 2013-10-04  Alan Modra  <amodra@gmail.com>
42434         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
42435         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
42436         rather than rlwimi.
42437         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
42438         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
42439         little-endian support.  Correct typos.
42440         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
42441         rather than rlwimi.
42442         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
42443         in loop and entry code to keep "and." results.
42444         (strchr): Add little-endian support.  Comment.  Move cntlzd
42445         earlier in tail.
42446         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
42448 2013-10-04  Alan Modra  <amodra@gmail.com>
42450         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
42451         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
42452         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
42453         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
42455 2013-10-04  Alan Modra  <amodra@gmail.com>
42457         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
42458         (rTMP): Define as r11.
42459         (strcmp): Add little-endian support.  Optimise tail.
42460         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
42461         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42462         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
42463         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42464         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
42465         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42466         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42468 2013-10-04  Alan Modra  <amodra@gmail.com>
42470         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
42471         little-endian support.  Remove unnecessary "are we done" tests.
42472         Handle "s" wrapping around zero and extremely large "size".
42473         Correct main loop count.  Handle single left-over word from main
42474         loop inline rather than by using small_loop.  Correct comments.
42475         Delete "zero" tail, use "end_max" instead.
42476         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
42478 2013-10-04  Alan Modra  <amodra@gmail.com>
42480         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
42481         support.  Don't branch over align.
42482         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
42483         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
42484         support.  Rearrange tmp reg use to suit.  Comment.
42485         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
42487 2013-10-04  Alan Modra  <amodra@gmail.com>
42489         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
42491 2013-10-04  Alan Modra  <amodra@gmail.com>
42493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
42494         conditional form of branch and link when obtaining pc.
42495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
42497 2013-10-04  Alan Modra  <amodra@gmail.com>
42499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
42500         HIWORD/LOWORD.
42501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
42502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
42504 2013-10-04  Alan Modra  <amodra@gmail.com>
42506         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
42507         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
42508         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
42509         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
42510         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42511         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
42512         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
42513         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42514         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
42515         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
42517 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42518             Alistair Popple <alistair@ozlabs.au.ibm.com>
42519             Alan Modra <amodra@gmail.com>
42521         [BZ #15723]
42522         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
42523         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
42524         _dl_hwcap access for little-endian.
42525         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
42526         destroy vmx regs when saving unaligned.
42527         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
42528         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
42529         destroy vmx regs when saving unaligned.
42531 2013-10-04  Alan Modra  <amodra@gmail.com>
42533         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
42534         Don't use a union to pack hi/low value.
42536 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42538         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
42539         for little-endian.
42540         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
42541         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
42542         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
42543         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
42544         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
42546 2013-10-04  Alan Modra  <amodra@gmail.com>
42548         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
42549         constants to usual value for .cst8 section, and remove redundant
42550         high address load.
42551         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
42552         constant for 0x1p52.  Load little-endian words of double from
42553         correct stack offsets.
42555 2013-10-04  Alan Modra  <amodra@gmail.com>
42557         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
42558         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
42559         words of double from correct stack offsets.
42560         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
42561         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
42562         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
42563         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
42564         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
42565         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
42566         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
42567         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
42568         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
42569         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
42570         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
42571         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42572         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42573         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42574         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42575         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
42576         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
42578 2013-10-04  Alan Modra  <amodra@gmail.com>
42580         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
42581         64-bit int/double union.
42582         (_FPU_SETCW): Likewise.
42583         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
42584         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
42586 2013-10-04  Alan Modra  <amodra@gmail.com>
42588         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
42589         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
42591 2013-10-04  Alan Modra  <amodra@gmail.com>
42593         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
42594         use vector int constants.
42595         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
42597 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42599         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
42600         array with long long.
42601         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
42602         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
42603         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
42604         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
42605         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
42606         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
42607         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
42608         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
42609         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
42610         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
42611         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
42612         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
42613         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
42615 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42617         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
42618         (__signbit): Likewise.  Correct for little-endian.
42619         (__signbitl): Call __signbit.
42620         (lrint): Correct for little-endian.
42621         (lrintf): Call lrint.
42623 2013-10-04  Alan Modra  <amodra@gmail.com>
42625         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
42626         union 32-bit int array member with 64-bit int array.
42627         (t515, tm256): Double rather than long double.
42628         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
42630 2013-10-04  Alan Modra  <amodra@gmail.com>
42632         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
42633         Delete.
42634         (IEEE854_LONG_DOUBLE_BIAS): Delete.
42635         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
42636         version of math_ldbl.h.
42638 2013-10-04  Alan Modra  <amodra@gmail.com>
42640         [BZ #15734], [BZ #15735]
42641         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
42642         all uses of ieee875 long double macros and unions.  Simplify test
42643         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
42644         ldbl_extract_mantissa value for ix,iy exponents.  Properly
42645         normalize after ldbl_extract_mantissa, and don't add hidden bit
42646         already handled.  Don't treat low word of ieee854 mantissa like
42647         low word of IBM long double and mask off bit when testing for
42648         zero.
42649         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
42650         all uses of ieee875 long double macros and unions.  Simplify tests
42651         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
42652         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
42653         two1022, instead use their values.  Recognise that tests for large
42654         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
42655         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
42656         Rewrite all uses of ieee875 long double macros and unions.  Simplify
42657         test for 0.0L and nan.  Correct negation.
42658         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
42659         ieee875 long double macros and unions.  Correct output for large
42660         magnitude x.  Correct absolute value calculation.
42661         (__erfcl): Likewise.
42662         * math/libm-test.inc: Add tests for errors discovered in IBM long
42663         double versions of fmodl, remainderl, erfl and erfcl.
42665 2013-10-04  Alan Modra  <amodra@gmail.com>
42667         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
42668         all uses of ieee854 long double macros and unions.  Simplify tests
42669         for long doubles that are fully specified by the high double.
42670         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
42671         Likewise.
42672         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
42673         Remove dead code too.
42674         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
42675         (__ieee754_ynl): Likewise.
42676         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
42677         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
42678         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
42679         Remove dead code too.
42680         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
42681         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
42682         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
42683         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
42684         Simplify.
42685         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
42686         Simplify.
42687         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
42688         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
42689         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
42690         Comment on variable precision.
42691         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
42692         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42693         Likewise.
42694         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
42695         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42696         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42697         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
42698         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
42700 2013-10-04  Alan Modra  <amodra@gmail.com>
42702         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
42703         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
42704         all uses of ieee854 long double macros and unions.
42705         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
42706         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42707         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
42708         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
42709         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
42710         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42711         Likewise.
42712         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
42713         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42714         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
42715         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42716         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
42717         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
42718         Simplify sign and nan test too.
42719         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
42720         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
42721         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
42722         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
42723         Likewise.
42724         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42725         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
42726         Likewise.
42727         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42728         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
42729         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
42730         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
42731         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
42732         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
42734 2013-10-04  Alan Modra  <amodra@gmail.com>
42736         * stdio-common/printf_size.c (__printf_size): Don't use
42737         union ieee854_long_double in fpnum union.
42738         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
42739         signbit macro to retrieve sign from long double.
42740         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
42741         retrieve sign from long double.
42742         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
42743         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
42744         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
42745         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42746         * math/test-misc.c (main): Don't use union ieee854_long_double.
42748 2013-10-04  Alan Modra  <amodra@gmail.com>
42750         [BZ #15680]
42751         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
42752         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
42753         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
42754         calculation.  Remove unnecessary test for denormal exponent.
42755         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
42756         Correct handling of denormals.  Avoid undefined shift behaviour.
42757         Correct normalisation of low mantissa when low double is denormal.
42758         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
42759         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
42760         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
42761         Correct normalisation of low mantissa.  Test for overflow of high
42762         mantissa and normalise.
42763         (ldbl_nearbyint): Use more readable constant for two52.
42764         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
42765         (__mpn_construct_long_double): Fix test for overflow of high
42766         mantissa and correct normalisation.  Avoid undefined shift.
42768 2013-10-04  Alan Modra  <amodra@gmail.com>
42770         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
42771         (union ibm_extended_long_double): Define as an array of ieee754_double.
42772         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
42773         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
42774         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
42775         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42776         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42777         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
42778         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42779         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
42780         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42781         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
42782         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42784 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
42786         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
42787         page size instead of calling getpagesize.
42789         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
42790         (LOCFILE_ALIGN_MASK): Likewise.
42791         (LOCFILE_ALIGN_UP): Likewise.
42792         (LOCFILE_ALIGNED_P): Likewise.
42793         * locale/programs/ld-collate.c (collate_output): Use the new
42794         macros instead of __alignof__ (int32_t).
42795         * locale/weight.h (findidx): Likewise.
42797 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
42799         [BZ #431]
42800         * manual/string.texi: Fix strncat and wcsncat.
42802 2013-10-03  Brooks Moses  <bmoses@google.com>
42804         [BZ #15915]
42805         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
42806         * Makerules: ...here, and adjust associated comments.
42808 2013-10-02  Will Newton  <will.newton@linaro.org>
42810         * malloc/Makefile: Add tst-pvalloc.
42811         * malloc/tst-pvalloc.c: New file.
42813 2013-10-02  Will Newton  <will.newton@linaro.org>
42815         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
42816         improve test coverage.
42818 2013-10-02  Will Newton  <will.newton@linaro.org>
42820         * malloc/Makefile: Add tst-posix_memalign.
42821         * malloc/tst-posix_memalign.c: New file.
42823 2013-10-01  Eric Blake  <eblake@redhat.com>
42825         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
42826         Use __THROWNL rather than __THROW on static functions.
42828 2013-09-30  Petr Machata  <pmachata@redhat.com>
42830         * elf/elf.h (R_AARCH64_ABS16): New macro.
42831         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
42832         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
42833         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
42834         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
42835         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
42836         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
42837         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
42838         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
42839         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
42840         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
42841         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
42842         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
42843         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
42844         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
42845         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
42846         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
42847         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
42848         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
42849         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
42850         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
42851         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
42852         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
42853         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
42854         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
42855         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
42856         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
42857         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
42858         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
42859         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
42860         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
42861         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
42862         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
42863         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
42864         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
42865         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
42866         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
42867         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
42868         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
42869         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
42870         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
42871         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
42872         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
42873         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
42874         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
42875         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
42876         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
42877         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
42878         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
42879         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
42880         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
42881         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
42882         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
42883         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
42884         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
42885         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
42886         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
42887         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
42888         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
42889         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
42890         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
42891         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
42892         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
42893         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
42894         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
42895         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
42896         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
42897         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
42898         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
42899         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
42900         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
42901         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
42902         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
42903         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
42904         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
42905         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
42906         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
42907         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
42908         (R_AARCH64_TLSDESC_LDR): Likewise.
42909         (R_AARCH64_TLSDESC_ADD): Likewise.
42910         (R_AARCH64_TLSDESC_CALL): Likewise.
42912 2013-09-30  Andreas Schwab  <schwab@suse.de>
42914         [BZ #15048]
42915         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
42916         the nss database lookup.
42917         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42918         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42920 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
42922         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
42924 2013-09-28  P. J. McDermott  <pj@pehjota.net>
42926         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
42927         ${Bash-specific parameter/pattern/string} parameter expansion.
42928         * sysdeps/unix/make-syscalls.sh: Likewise.
42930 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42932         * sysdeps/sh/stackguard-macros.h: New file.
42934 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
42936         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42937         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
42938         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
42939         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
42940         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42941         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
42943 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42945         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
42946         Fix thread ID register.
42948 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
42950         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
42951         [POSIX || UNIX98]: Require rather than permitting all symbols from
42952         <time.h>.
42953         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
42954         element of struct sched_param.
42955         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
42956         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
42957         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
42958         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
42959         constant.
42961 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
42963         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
42964         argument calculation.
42966 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
42968         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
42969         Expect macro.
42970         [POSIX] (pthread_attr_t): Do not require type.
42971         [POSIX] (pthread_cond_t): Likewise.
42972         [POSIX] (pthread_condattr_t): Likewise.
42973         [POSIX] (pthread_key_t): Likewise.
42974         [POSIX] (pthread_mutex_t): Likewise.
42975         [POSIX] (pthread_mutexattr_t): Likewise.
42976         [POSIX] (pthread_once_t): Likewise.
42977         [POSIX] (pthread_t): Likewise.
42978         [POSIX-based standards] (pthread_atfork): Expect function.
42980 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
42981             Richard Sandiford  <richard@codesourcery.com>
42983         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
42984         (swap_endianness_p): New extern variable.
42985         (set_big_endian): New inline function.
42986         (maybe_swap_uint32): Likewise.
42987         (maybe_swap_uint32_array): Likewise.
42988         (maybe_swap_uint32_obstack): Likewise.
42989         * locale/programs/locfile.c: Include <stdbool.h>.
42990         (swap_endianness_p): New variable.
42991         (add_locale_uint32): Call maybe_swap_uint32.
42992         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
42993         (write_locale_data): Call maybe_swap_uint32_array.
42994         * locale/programs/ld-collate.c (obstack_int32_grow): Call
42995         maybe_swap_uint32.
42996         (obstack_int32_grow_fast): Likewise.
42997         (output_weightwc): Call maybe_swap_uint32_obstack.
42998         (collate_output): Likewise.
42999         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
43000         (OPT_LITTLE_ENDIAN): Likewise.
43001         (options): Add --little-endian and --big-endian options.
43002         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
43003         * locale/programs/locarchive.c: Include "locfile.h".
43004         (GET): New macro.
43005         (SET): Likewise.
43006         (INC): Likewise.
43007         (create_archive): Use the new macros to access fields of
43008         structures directly mapped from or written to locale archives.
43009         (oldlocrecentcmp): Likewise.
43010         (enlarge_archive): Likewise.
43011         (insert_name): Likewise.
43012         (add_alias): Likewise.
43013         (add_locale): Likewise.
43014         (delete_locales_from_archive): Likewise.
43015         (show_archive_content): Likewise.
43016         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
43017         locale data.
43019 2013-09-24  Roland McGrath  <roland@hack.frob.com>
43021         * manual/freemanuals.texi: Updated from (newly) canonical copy at
43022         http://www.gnu.org/doc/freemanuals.texi.
43023         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
43025 2013-09-24  Will Newton  <will.newton@linaro.org>
43027         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
43028         macro.
43030 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
43032         * locale/hashval.h (compute_hashval): Interpret bytes of key as
43033         unsigned char.
43035 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
43037         * manual/threads.texi (POSIX Threads): Fix a typo.
43039 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
43041         [BZ #14547]
43042         * string/tst-strcoll-overflow.c: New test case.
43043         * string/Makefile (xtests): Add tst-strcoll-overflow.
43044         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
43045         cache if string sizes may cause integer overflow.
43047         [BZ #14547]
43048         * string/strcoll_l.c (coll_seq): New members rule, idx,
43049         save_idx and back_us.
43050         (get_next_seq_nocache): New function.
43051         (do_compare_nocache): New function.
43052         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
43053         when malloc fails.
43055 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
43057         [BZ #15754]
43058         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
43059         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
43060         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
43062         [BZ #15754]
43063         * elf/Makefile (tests): Add tst-ptrguard1.
43064         (tests-static): Add tst-ptrguard1-static.
43065         (tst-ptrguard1-ARGS): Define.
43066         (tst-ptrguard1-static-ARGS): Define.
43067         * elf/tst-ptrguard1.c: New file.
43068         * elf/tst-ptrguard1-static.c: New file.
43069         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
43070         * sysdeps/i386/stackguard-macros.h: Likewise.
43071         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43072         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43073         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43074         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43075         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43076         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43078 2013-09-23  Hector Marco  <hecmargi@upv.es>
43079             Ismael Ripoll  <iripoll@disca.upv.es>
43080             Carlos O'Donell  <carlos@redhat.com>
43082         [BZ #15754]
43083         * sysdeps/generic/stackguard-macros.h: Define
43084         __pointer_chk_guard_local and POINTER_CHK_GUARD.
43085         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
43086         Define __pointer_chk_guard_local.
43087         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
43088         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
43090 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
43092         [BZ #15859]
43093         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
43095 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
43097         * include/string.h (__ffs): Declare as hidden.
43098         * string/ffs.c (__ffs): Define as hidden.
43099         * sysdeps/i386/ffs.c (__ffs): Likewise.
43100         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
43101         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
43102         * sysdeps/s390/ffs.c (__ffs): Likewise.
43103         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
43105 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
43107         * NEWS: Mention malloc probes.
43109         * malloc/arena.c (new_heap): New memory_heap_new probe.
43110         (grow_heap): New memory_heap_more probe.
43111         (shrink_heap): New memory_heap_less probe.
43112         (heap_trim): New memory_heap_free probe.
43113         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
43114         (systrim): New memory_sbrk_less probe.
43115         * manual/probes.texi: Document them.
43117         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
43118         * manual/probes.texi: Document it.
43120         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
43121         (__libc_realloc): Add memory_realloc_retry probe.
43122         (__libc_memalign): Add memory_memalign_retry probe.
43123         (__libc_valloc): Add memory_valloc_retry probe.
43124         (__libc_pvalloc): Add memory_pvalloc_retry probe.
43125         (__libc_calloc): Add memory_calloc_retry probe.
43126         * manual/probes.texi: Document them.
43128         * malloc/arena.c (get_free_list): Add probe
43129         memory_arena_reuse_free_list.
43130         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
43131         and memory_arena_reuse.
43132         (arena_get2) [!PER_THREAD]: Likewise.
43133         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
43134         memory_arena_reuse_realloc.
43135         * manual/probes.texi: Document them.
43137         * malloc/malloc.c (__libc_free): Add
43138         memory_mallopt_free_dyn_thresholds probe.
43139         (__libc_mallopt): Add multiple memory_mallopt probes.
43140         * manual/probes.texi: Document them.
43142         * malloc/malloc.c: Include stap-probe.h.
43143         (__libc_mallopt): Add memory_mallopt probe.
43144         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
43145         * manual/probes.texi: New.
43146         * manual/Makefile (chapters): Add probes.
43147         * manual/threads.texi: Set next node.
43149 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
43151         [BZ #15963, #13985]
43152         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
43153         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
43154         Add `Chinese' to `nan' entry name.
43156 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43158         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
43159         (POLYNOMIAL): Likewise.
43160         (TAYLOR_SINCOS): Likewise.
43161         (TAYLOR_SLOW): Likewise.
43162         (__sin): Use TAYLOR_SINCOS.
43163         (__cos): Likewise.
43164         (slow): Use TAYLOR_SLOW.
43165         (sloww): Likewise.
43166         (bsloww): Likewise.
43167         (csloww): Likewise.
43169 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43171         * stdlib/strtod_l.c: Fix buffer overrun.
43173 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43175         * benchtests/Makefile (bench): Add sincos.
43176         * benchtests/bench-sincos.c: New file.
43178         * math/libm-test.inc (cos_test_data): New test inputs.
43179         (sin_test_data): Likewise.
43181         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
43182         macro.
43183         (__sin): Use it.
43184         (__cos): Likewise.
43185         (slow1): Likewise.
43186         (slow2): Likewise.
43187         (sloww1): Likewise.
43188         (sloww2): Likewise.
43189         (bsloww1): Likewise.
43190         (bsloww2): Likewise.
43191         (cslow2): Likewise.
43192         (csloww1): Likewise.
43193         (csloww2): Likewise.
43195         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
43196         function.
43197         (__sin): Use it.
43198         (__cos): Likewise.
43200         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
43201         gotos.
43202         (__cos): Likewise.
43204 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
43206         * config.h.in (HAVE_MIPS_NAN2008): New macro.
43207         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
43208         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
43209         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
43210         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
43211         * elf/cache.c (print_entry): Handle the new cache flags.
43213 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
43214             Aldy Hernandez  <aldyh@redhat.com>
43216         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
43217         Change condition to [_SOFT_FLOAT].
43218         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
43219         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
43220         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
43221         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
43222         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
43223         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
43224         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
43225         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
43226         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
43227         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
43228         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
43229         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
43230         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
43231         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
43232         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
43233         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
43234         declaration.
43236 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
43238         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
43239         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
43240         (__longjmp): Use LOAD_GP to load saved GPRs.
43241         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
43242         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
43243         (__sigsetjmp): Use SAVE_GP to save GPRs.
43245         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
43246         Do not append -msoft-float.
43247         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
43249 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43251         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
43253 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
43255         [BZ #15966]
43256         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
43257         (_FPU_GETCW): Use initial "__" on variable and field names but not
43258         on macro parameter name.
43259         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
43260         parentheses around reference to macro parameter.
43262 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
43264         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
43265         prototype.
43266         (ctype_startup): Use uint32_t in cast and sizeof for
43267         ctype->charnames.
43269 2013-09-11  Jia Liu  <proljc@gmail.com>
43271         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
43272         __daddr_t_defined.
43273         [__FreeBSD__]: Likewise.
43275 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
43277         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
43278         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
43279         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
43280         (strchr): Remove __strchr_sse42 ifunc selection.
43281         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
43282         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
43284 2013-09-11  Will Newton  <will.newton@linaro.org>
43286         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
43287         parameter to RES. Remove hardcoded 1000 value.
43288         * benchtests/bench-skeleton.c (main): Pass RES parameter
43289         to TIMING_INIT and multiply result by 1000.
43291 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43293         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43295 2013-09-11  Andreas Schwab  <schwab@suse.de>
43297         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
43298         if not defined.
43299         (O_TMPFILE) [__USE_GNU]: Define.
43300         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
43301         Define.
43303 2013-09-11  Will Newton  <will.newton@linaro.org>
43305         [BZ #15857]
43306         * malloc/malloc.c (__libc_memalign): Check the value of bytes
43307         does not overflow.
43309 2013-09-11  Will Newton  <will.newton@linaro.org>
43311         [BZ #15856]
43312         * malloc/malloc.c (__libc_valloc): Check the value of bytes
43313         does not overflow.
43315 2013-09-11  Will Newton  <will.newton@linaro.org>
43317         [BZ #15855]
43318         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
43319         does not overflow.
43321 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
43323         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
43324         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43325         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43326         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43327         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43329 2013-09-10  Allan McRae  <allan@archlinux.org>
43331         [BZ #15748]
43332         * manual/arith.texi (Parsing of Floats): Clarify
43333         cross-reference.
43335         [BZ #15849]
43336         * manual/install.texi (Running make install): Mention
43337         --enable-pt-chown.
43338         * INSTALL: Regenerated.
43340 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
43342         * csu/init-first.c (_init): Remove the !SHARED condition around
43343         FPU control word initialization.
43344         * elf/dl-support.c (_dl_fpu_control): New variable.
43345         (_dl_aux_init) <AT_FPUCW>: Initialize it.
43346         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
43347         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
43348         * math/test-fpucw-static.c: New file.
43349         * math/test-fpucw-ieee.c: New file.
43350         * math/test-fpucw-ieee-static.c: New file.
43351         * math/Makefile (tests): Add `test-fpucw-ieee' and
43352         `$(tests-static)'.
43353         (tests-static): New variable.
43354         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
43355         dependency to...
43356         [($(build-shared),yes)]
43357         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
43358         ... this.
43359         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
43360         New dependency.
43362 2013-09-09  Allan McRae  <allan@archlinux.org>
43364         [BZ #15939]
43365         * manual/string.texi (Collation Functions): Fix typo in
43366         strcoll example.
43367         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
43369         [BZ #15893]
43370         * stdlib/isomac.c (get_null_defines): Fix memory leak.
43372         [BZ #15892]
43373         * libio/memstream.c (open_memstream): Fix memory leak.
43374         * libio/wmemstream.c (open_wmemstream): Likewise.
43376         [BZ #15895]
43377         * nscd/netgroupcache.c: Fix nesting of ifdefs.
43379 2013-09-09  Will Newton  <will.newton@linaro.org>
43381         * malloc/Makefile: Add tst-realloc to tests.
43382         * malloc/tst-realloc.c: New file.
43384 2013-09-09  Allan McRae  <allan@archlinux.org>
43386         [BZ #15844]
43387         * COPYING: Update from GNU website to fix FSF address.
43388         * COPYING.LIB: Likewise.
43390 2013-09-06  David S. Miller  <davem@davemloft.net>
43392         * po/zh_TW.po: Update Chinese (traditional) translation from
43393         translation project.
43395 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
43396             Joseph Myers  <joseph@codesourcery.com>
43398         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
43399         "localeinfo.h".
43400         (obstack_chunk_alloc): New macro.
43401         (obstack_chunk_free): Likewise.
43402         (record_offset): New function.
43403         (init_locale_data): Likewise.
43404         (align_locale_data): Likewise.
43405         (add_locale_empty): Likewise.
43406         (add_locale_raw_data): Likewise.
43407         (add_locale_raw_obstack): Likewise.
43408         (add_locale_string): Likewise.
43409         (add_locale_wstring): Likewise.
43410         (add_locale_uint32): Likewise.
43411         (add_locale_uint32_array): Likewise.
43412         (add_locale_char): Likewise.
43413         (start_locale_structure): Likewise.
43414         (end_locale_structure): Likewise.
43415         (start_locale_prelude): Likewise.
43416         (end_locale_prelude): Likewise.
43417         (write_locale_data): Take locale_file structure rather than an
43418         iovec.
43419         * locale/programs/locfile.h: Include "obstack.h".
43420         (struct locale_file): Change to store locale file contents instead
43421         of header.
43422         (init_locale_data): New prototype.
43423         (align_locale_data): Likewise.
43424         (add_locale_empty): Likewise.
43425         (add_locale_raw_data): Likewise.
43426         (add_locale_raw_obstack): Likewise.
43427         (add_locale_string): Likewise.
43428         (add_locale_wstring): Likewise.
43429         (add_locale_uint32): Likewise.
43430         (add_locale_uint32_array): Likewise.
43431         (add_locale_char): Likewise.
43432         (start_locale_structure): Likewise.
43433         (end_locale_structure): Likewise.
43434         (start_locale_prelude): Likewise.
43435         (end_locale_prelude): Likewise.
43436         (write_locale_data): Update prototype.
43437         * locale/programs/3level.h (struct TABLE): Remove result field.
43438         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
43439         Use new locale_file interface.
43440         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
43441         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
43442         * locale/programs/ld-address.c (address_output): Use new
43443         locale_file interface.
43444         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
43445         NO_ADD_LOCALE.
43446         (collate_finish): Don't call collseq_table_finalize.
43447         (collate_output): Use new locale_file interface.
43448         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
43449         in file.
43450         (NO_FINALIZE): Change to NO_ADD_LOCALE.
43451         (TABLE): Move defines earlier in file.
43452         (ELEMENT): Likewise.
43453         (DEFAULT): Likewise.
43454         (wctrans_table_add): Move macro and inline function earlier in
43455         file.
43456         (struct wctype_table): Move type earlier in file.
43457         (add_locale_wctype_table): New static prototype.
43458         (struct locale_ctype_t): Use logical types instead of struct iovec
43459         pointers for members.
43460         (ctype_output): Use new locale_file interface.
43461         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
43462         new locale_file interface.
43463         (allocate_arrays): Update for use of new locale_file interface.
43464         * locale/programs/ld-identification.c (identification_output): Use
43465         new locale_file interface.
43466         * locale/programs/ld-measurement.c (measurement_output): Likewise.
43467         * locale/programs/ld-messages.c (messages_output): Likewise.
43468         * locale/programs/ld-monetary.c (monetary_output): Likewise.
43469         * locale/programs/ld-name.c (name_output): Likewise.
43470         * locale/programs/ld-numeric.c (numeric_output): Likewise.
43471         * locale/programs/ld-paper.c (paper_output): Likewise.
43472         * locale/programs/ld-telephone.c (telephone_output): Likewise.
43473         * locale/programs/ld-time.c (time_output): Likewise.
43475 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43477         * benchtests/Makefile: Add memrchr benchmark.
43478         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
43479         benchmark as memrchr.
43480         * benchtests/bench-memrchr-ifunc.c: New file.
43481         * benchtests/bench-memrchr.c: New file.
43483 2013-09-06   Will Newton  <will.newton@linaro.org>
43485         * benchtests/Makefile (string-bench): Add memcpy.
43487 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
43488             Cong Wang  <amwang@redhat.com>
43490         [BZ #15850]
43491         * sysdeps/unix/sysv/linux/bits/in.h
43492         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
43493         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
43494         before __USE_KERNEL_IPV6_DEFS uses.
43495         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
43496         IPPROTO_BEETPH.
43497         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
43498         sockaddr_in6, or ipv6_mreq.
43500 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43502         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
43503         memory access for final bytes in some large inputs.
43504         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
43506 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43508         * string/test-memrchr.c: New file.
43509         * string/test-memrchr-ifunc.c: New file.
43510         * string/Makefile: Add new memrchr testcase.
43512 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
43514         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
43515         fanotify_init returns EPERM.
43517 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
43519         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
43520         errors.
43521         (top level): Treat second token from macro or constant entries for
43522         allowed headers as allowed.
43523         * include/complex.h: Condition internal declarations on
43524         [!_ISOMAC].
43525         * include/fenv.h: Condition include of <stdbool.h> and internal
43526         declarations on [!_ISOMAC].
43528 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
43530         [BZ #15923]
43531         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
43533 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
43535         * configure.in (--enable-versioning): Remove configure option.
43536         (libc_cv_asm_symver_directive): Remove configure test.
43537         (libc_cv_ld_version_script_option): Likewise.
43538         (VERSIONING): Remove variable and AC_SUBST.
43539         (DO_VERSIONING): Remove AC_DEFINE.
43540         * configure: Regenerated.
43541         * config.h.in (DO_VERSIONING): Remove macro.
43542         * Makerules [$(versioning) = yes]: Change conditionals to
43543         [$(build-shared) = yes].
43544         * config.make.in (versioning): Remove variable.
43545         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
43546         [$(build-shared) = yes].
43547         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
43548         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
43549         * elf/Makefile [$(versioning) = yes]: Change conditionals to
43550         [$(build-shared) = yes].
43551         * extra-lib.mk [$(versioning) = yes]: Likewise.
43552         * hurd/Makefile [$(versioning) = yes]: Likewise.
43553         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
43554         [SHARED].
43555         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
43556         [SHARED].
43557         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43558         [SHARED && !NO_HIDDEN].
43559         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
43560         [SHARED].
43561         [SHARED && DO_VERSIONING]: Likewise..
43562         * libio/Makefile [$(versioning) = yes]: Change conditionals to
43563         [$(build-shared) = yes].
43564         * manual/install.texi (--disable-versioning): Remove
43565         documentation.
43566         * INSTALL: Regenerated.
43567         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
43568         to [SHARED].
43569         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
43570         [$(build-shared) = yes].
43571         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
43572         * sysdeps/i386/i686/multiarch/strstr-c.c
43573         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43574         [SHARED && !NO_HIDDEN].
43575         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
43576         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
43577         * sysdeps/powerpc/powerpc32/dl-machine.c
43578         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
43579         * sysdeps/powerpc/powerpc32/sysdep.h
43580         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
43581         to [SHARED && PIC && !NO_HIDDEN].
43582         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
43583         conditional to [SHARED].
43585 2013-09-04   Will Newton  <will.newton@linaro.org>
43587         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
43588         * benchtests/bench-string.h: Include bench-timing.h instead
43589         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
43590         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
43591         call to HP_TIMING_DIFF_INIT.
43592         * benchtests/bench-memccpy.c: Use bench-timing.h macros
43593         instead of hp-timing.h macros.
43594         * benchtests/bench-memchr.c: Likewise.
43595         * benchtests/bench-memcmp.c: Likewise.
43596         * benchtests/bench-memcpy.c: Likewise.
43597         * benchtests/bench-memmem.c: Likewise.
43598         * benchtests/bench-memmove.c: Likewise.
43599         * benchtests/bench-memset.c: Likewise.
43600         * benchtests/bench-rawmemchr.c: Likewise.
43601         * benchtests/bench-strcasecmp.c: Likewise.
43602         * benchtests/bench-strcasestr.c: Likewise.
43603         * benchtests/bench-strcat.c: Likewise.
43604         * benchtests/bench-strchr.c: Likewise.
43605         * benchtests/bench-strcmp.c: Likewise.
43606         * benchtests/bench-strcpy.c: Likewise.
43607         * benchtests/bench-strcpy_chk.c: Likewise.
43608         * benchtests/bench-strlen.c: Likewise.
43609         * benchtests/bench-strncasecmp.c: Likewise.
43610         * benchtests/bench-strncat.c: Likewise.
43611         * benchtests/bench-strncmp.c: Likewise.
43612         * benchtests/bench-strncpy.c: Likewise.
43613         * benchtests/bench-strnlen.c: Likewise.
43614         * benchtests/bench-strpbrk.c: Likewise.
43615         * benchtests/bench-strrchr.c: Likewise.
43616         * benchtests/bench-strspn.c: Likewise.
43617         * benchtests/bench-strstr.c: Likewise.
43619 2013-09-04  Will Newton  <will.newton@linaro.org>
43621         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
43623 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
43625         [BZ #15427]
43626         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
43627         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
43628         * math/libm-test.inc (lgamma_test_data): Add more tests.
43629         * sysdeps/i386/fpu/libm-test-ulps: Update.
43630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43632 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
43634         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
43635         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43636         Add ifunc.
43637         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43638         Add strcmp-sse2-unaligned
43639         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
43641 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43643         * Versions.def (libc): Add GLIBC_2.19.
43645 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43647         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
43648         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
43650 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
43652         [BZ #14155]
43653         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
43654         intermediate calculations in recurrence.
43655         (__ieee754_ynf): Likewise.
43656         * math/libm-test.inc (jn_test_data): Do not allow spurious
43657         underflow exception.  Add more tests.
43658         (yn_test_data): Add more tests.
43659         * sysdeps/i386/fpu/libm-test-ulps: Update.
43660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43662 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
43664         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
43666 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43668         * csu/init-first.c: Fix then/than typos.
43669         * locale/programs/ld-collate.c: Likewise.
43670         * locale/programs/linereader.h: Likewise.
43671         * manual/charset.texi: Likewise.
43672         * manual/filesys.texi: Likewise.
43673         * manual/stdio.texi: Likewise.
43674         * manual/string.texi: Likewise.
43675         * stdlib/fmtmsg.c: Likewise.
43676         * sysdeps/i386/stpncpy.S: Likewise.
43677         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43678         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43679         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43680         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43682 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43684         * elf/dl-open.c: Fix typos.
43685         * iconvdata/gbbig5.c: Likewise.
43686         * iconvdata/iso-2022-jp.c: Likewise.
43687         * iconv/gconv_int.h: Likewise.
43688         * iconv/loop.c: Likewise.
43689         * nis/rpcsvc/nis.h: Likewise.
43690         * resolv/ns_name.c: Likewise.
43691         * stdio-common/vfscanf.c: Likewise.
43692         * streams/stropts.h: Likewise.
43693         * sunrpc/rpc_thread.c: Likewise.
43694         * sysdeps/i386/strpbrk.S: Likewise.
43695         * sysdeps/ieee754/k_standard.c: Likewise.
43696         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43697         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43698         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
43699         * sysdeps/mach/hurd/profil.c: Likewise.
43700         * sysdeps/s390/dl-procinfo.h: Likewise.
43701         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
43702         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
43703         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
43704         * sysdeps/x86_64/dl-trampoline.S: Likewise.
43705         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43707 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
43709         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
43710         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
43712 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
43714         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
43715         aix specific files.
43716         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
43717         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
43718         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
43719         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
43720         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
43721         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
43722         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
43723         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
43725 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
43726             Roland McGrath  <roland@hack.frob.com>
43728         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
43729         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
43731 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43733         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
43734         __executable_start symbol instead of _start.
43736 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
43738         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
43739         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
43740         Move macros to...
43741         * sysdeps/gnu/ldsodefs.h: ... this new file.
43743         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
43744         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
43745         instead of ELFOSABI_LINUX.
43747         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
43748         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
43749         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
43750         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
43751         Likewise.
43752         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
43753         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
43754         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
43755         Likewise.
43756         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43757         (ibm_extended_long_double): Add ieee_nan member.
43758         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
43759         (do_test): New function.
43761         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
43762         TEST_TRUNC.
43763         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
43764         functions, renamed from truncdfsf_test, trunctfsf_test,
43765         trunctfdf_test.
43766         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
43767         functions.
43768         (do_test): Run all these.
43770 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
43772         * argp/argp-help.c: Fix typos.
43773         * argp/argp-parse.c: Likewise.
43774         * debug/backtracesyms.c: Likewise.
43775         * elf/elf.h: Likewise.
43776         * malloc/malloc.c: Likewise.
43777         * nis/nis_print.c: Likewise.
43778         * resolv/res_comp.c: Likewise.
43779         * stdlib/stdlib.h: Likewise.
43780         * sunrpc/clnt_tcp.c: Likewise.
43781         * sunrpc/clnt_udp.c: Likewise.
43782         * sunrpc/clnt_unix.c: Likewise.
43783         * sysdeps/unix/bsd/ptsname.c: Likewise.
43784         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
43785         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
43786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
43787         Likewise.
43788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
43789         Likewise.
43790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
43791         Likewise.
43792         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43794 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43796         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
43797         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43799 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
43801         [BZ #15897]
43802         * dlfcn/Makefile (tests): Add bug-dl-leaf.
43803         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
43804         ($(objpfx)bug-dl-leaf): New rule.
43805         ($(objpfx)bug-dl-leaf.so): Likewise.
43806         ($(objpfx)bug-dl-leaf.out): Likewise.
43807         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
43808         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
43809         * dlfcn/bug-dl-leaf.c: New test.
43810         * dlfcn/bug-dl-leaf-lib.c: Likewise.
43811         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
43812         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
43813         (dlclose): Likewise.
43814         (dlmopen): Likewise.
43816 2013-08-27  Roland McGrath  <roland@hack.frob.com>
43818         * include/netdb.h [!_ISOMAC]:
43819         Don't include <tls.h>.
43820         (h_errno, __libc_h_errno): Move declaration and macros out of
43821         [_LIBC_REENTRANT].
43823         * include/resolv.h [_RESOLV_H_]:
43824         Don't include <tls.h>.
43825         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
43826         * resolv/res_libc.c: Don't include <tls.h>.
43827         (_res): Use __attribute__ ((nocommon)) in place of
43828         __attribute__ ((section (".bss"))).
43830         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
43831         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
43833         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
43835         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
43836         only under [SIOCGIFCONF && SIOCGIFNETMASK].
43838         * resolv/res_mkquery.c: Include <sys/time.h>.
43840         * inet/ifreq.c: Moved to ...
43841         * sysdeps/unix/ifreq.c: ... here.
43842         * inet/ifreq.c: New file, true stub version.
43844         * socket/sa_len.c: New file.
43845         * socket/Makefile (aux): Add it.
43846         * sysdeps/unix/sysv/linux/Makefile
43847         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
43848         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
43849         and #include <socket/sa_len.c>.
43850         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
43851         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
43853         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
43854         * bits/socket.h: ... here.
43856         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
43857         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
43858         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
43860 2013-08-27  Andreas Schwab  <schwab@suse.de>
43862         [BZ #15736]
43863         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
43864         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
43865         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
43866         * string/test-strcasecmp.c (test_main): Run tests in several
43867         locales.
43868         * string/test-strncasecmp.c (test_main): Likewise.
43870         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
43871         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
43872         to __strcasecmp_nonascii and __strncasecmp_nonascii.
43873         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
43874         (__strncasecmp_ssse3) [PIC]: Likewise.
43876 2013-08-26  Roland McGrath  <roland@hack.frob.com>
43878         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
43880         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
43881         instead of explicitly declaring xdecrypt.
43882         * nis/nss_nis/nis-publickey.c: Likewise.
43884 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43886         [BZ #15890]
43887         * nscd/aicache.c: Include res_hconf.h.
43888         (addhstaiX): Initialize res_hconf.
43890 2013-08-26  Andreas Schwab  <schwab@suse.de>
43892         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
43893         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
43895 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43897         * nscd/aicache.c (addhstaiX): Fix indentation.
43899 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
43901         * configure.ac: Quote $build_pt_chown test.
43902         * configure: Regenerated.
43904 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
43906         [BZ #15532]
43907         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
43908         * math/s_cexpf.c (__cexpf): Likewise.
43909         * math/s_cexpl.c (__cexpl): Likewise.
43910         * math/libm-test.inc (cexp_test_data): Correct expected return
43911         value for NaN + i0.  Add another test.
43913 2013-08-22  David S. Miller  <davem@davemloft.net>
43915         * po/ca.po: Update Catalan translation from translation project.
43916         * po/uk.po: Add Ukrainian translations from translation project.
43918 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
43920         [BZ #15797]
43921         * math/s_fdim.c (__fdim): Check for infinite arguments if result
43922         is infinite, not alongside NaN test.
43923         * math/s_fdimf.c (__fdimf): Likewise.
43924         * math/s_fdiml.c (__fdiml): Likewise.
43925         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
43926         errno is unchanged.
43928 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
43930         * argp/argp-help.c: Fix typos.
43931         * crypt/speeds.c: Likewise.
43932         * csu/check_fds.c: Likewise.
43933         * elf/dl-load.c: Likewise.
43934         * elf/dl-open.c: Likewise.
43935         * elf/reldep3.c: Likewise.
43936         * elf/reldep.c: Likewise.
43937         * elf/sprof.c: Likewise.
43938         * iconv/iconv_charmap.c: Likewise.
43939         * iconv/skeleton.c: Likewise.
43940         * iconv/strtab.c: Likewise.
43941         * io/lockf64.c: Likewise.
43942         * libio/libioP.h: Likewise.
43943         * resolv/gai_notify.c: Likewise.
43944         * resolv/ns_name.c: Likewise.
43945         * resolv/ns_samedomain.c: Likewise.
43946         * resolv/res_send.c: Likewise.
43947         * stdlib/random.c: Likewise.
43948         * sunrpc/rpc/xdr.h: Likewise.
43949         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
43950         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43951         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43952         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43953         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43954         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43955         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43956         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43957         * sysdeps/mach/hurd/check_fds.c: Likewise.
43958         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
43959         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43960         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43961         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
43962         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43963         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
43964         * sysdeps/pthread/aio_notify.c: Likewise.
43965         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
43966         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
43967         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
43968         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43969         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
43971 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43973         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
43974         version if bit_Slow_SSE4_2 is set.
43975         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43976         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43978 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43980         [BZ #15867]
43981         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
43982         trampoline stack frame information.
43983         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
43984         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
43985         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
43986         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
43987         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
43988         * sysdeps/unix/sysv/linux/powerpc/init-first.c
43989         (_libc_vdso_platform_setup): Initialize the signal trampolines.
43990         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
43991         sa_flags value.
43992         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
43993         interrupting a syscall and set with option SA_SIGINFO.
43995 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
43997         [BZ #15531]
43998         * math/s_cproj.c (__cproj): Only return an infinity if one part of
43999         argument is infinite.
44000         * math/s_cprojf.c (__cprojf): Likewise.
44001         * math/s_cprojl.c (__cprojl): Likewise.
44002         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
44003         * math/libm-test.inc (cproj_test_data): Add more tests.
44005         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
44007         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
44008         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
44009         size.  Use __ffs to determine corresponding shift.
44011 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
44012             Roland McGrath  <roland@hack.frob.com>
44014         * Makefile (INSTALL): Remove trailing blank lines from output of
44015         makeinfo.
44017 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44019         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
44020         Align 32 bit compat elf_greg to 8 bytes.
44022 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
44024         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
44026 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44028         * string/strcoll_l.c (coll_seq): New structure.
44029         (get_next_seq_cached): New function.
44030         (get_next_seq): New function.
44031         (do_compare): New function.
44032         (STRCOLL): Use GNU style definition.  Simplify implementation
44033         by using get_next_seq, get_next_seq_cached and do_compare.
44035 2013-08-16  Florian Weimer  <fweimer@redhat.com>
44037         [BZ #14699]
44038         CVE-2013-4237
44039         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
44040         member.
44041         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
44042         member.
44043         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
44044         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
44045         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
44046         conditional.
44047         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
44048         GETDENTS_64BIT_ALIGNED.
44049         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44050         * manual/filesys.texi (Reading/Closing Directory): Document
44051         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
44052         strongly.
44053         * manual/conf.texi (Limits for Files): Add portability note to
44054         NAME_MAX, PATH_MAX.
44055         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
44057 2013-08-13  Andreas Schwab  <schwab@suse.de>
44059         [BZ #15749]
44060         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
44061         of fabs.
44062         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
44063         LDBL_MAX_EXP >= 16384]: Add tests for it.
44065 2013-08-12  David S. Miller  <davem@davemloft.net>
44067         * version.h (RELEASE): Set to "development".
44068         (VERSION): Set to "2.18.90".
44069         * NEWS: Add 2.19 section.
44071 2013-08-03  David S. Miller  <davem@davemloft.net>
44073         * po/ko.po: Update Korean translation from translation project.
44075 2013-08-01  David S. Miller  <davem@davemloft.net>
44077         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
44078         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
44079         Bilka.
44081 2013-07-30  David S. Miller  <davem@davemloft.net>
44083         * po/fr.po: Update French translation from translation project.
44085 2013-07-28  David S. Miller  <davem@davemloft.net>
44087         * po/cs.po: Update Czech translation from translation project.
44089         * po/sv.po: Update Swedish translation from translation project.
44091 2013-07-27  David S. Miller  <davem@davemloft.net>
44093         * po/eo.po: Update Esperanto translation from translation project.
44095         * po/vi.po: Update Vietnamese translation from translation project.
44097         * po/de.po: Update German translation from translation project.
44099 2013-07-26  David S. Miller  <davem@davemloft.net>
44101         * po/bg.po: Update Bulgarian translation from translation project.
44103         * po/nl.po: Update Dutch translation from translation project.
44104         * po/pl.po: Update Polish translation from translation project.
44105         * po/ru.po: Update Russian translation from translation project.
44107 2013-07-24  David S. Miller  <davem@davemloft.net>
44109         * po/libc.pot: Update.
44111 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44113         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
44114         variable page size.
44115         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
44116         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
44117         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
44119 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44121         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
44123 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44124             Andreas Schwab  <schwab@suse.de>
44125             Roland McGrath  <roland@hack.frob.com>
44126             Joseph Myers  <joseph@codesourcery.com>
44127             Carlos O'Donell  <carlos@redhat.com>
44129         [BZ #15755]
44130         * config.h.in: Define HAVE_PT_CHOWN.
44131         * config.make.in (build-pt-chown): New variable.
44132         * configure.in (--enable-pt_chown): New configure option.
44133         * configure: Regenerate.
44134         * login/Makefile: Include Makeconfig.  Build pt_chown only if
44135         build-pt-chown is enabled.
44136         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
44137         pt_chown to fix pty ownership.
44138         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
44139         CLOSE_ALL_FDS.
44140         * manual/install.texi (Configuring and compiling): Mention
44141         --enable-pt_chown. Add @findex for grantpt.
44142         * INSTALL: Regenerate.
44144 2013-07-20  David S. Miller  <davem@davemloft.net>
44146         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
44147         difference between 32-bit and 64-bit.
44149 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
44151         [BZ #15711]
44152         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
44153         Avoid system header dependency with -ffreestanding.
44154         ($(objpfx)bits/syscall%d): Likewise.
44156 2013-07-13  David S. Miller  <davem@davemloft.net>
44158         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
44159         underflows from atanl/atan2l due to bug 15319.
44160         (casinh_test_data): Likewise.
44162 2013-07-07  David S. Miller  <davem@davemloft.net>
44164         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
44166 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
44168         * sysdeps/i386/fpu/libm-test-ulps: Update.
44169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44171 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44173         * configure.in (--enable-lock-elision): Fix message text.
44174         * INSTALL: Regenerate.
44175         * configure: Regenerate.
44177 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44179         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44181 2013-07-03  Andreas Jaeger  <aj@suse.de>
44183         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
44184         define.
44185         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
44186         (ptrace_peeksiginfo_args): Add.
44187         (__ptrace_peeksiginfo_flags): Add.
44188         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44189         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44190         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44192 2013-07-03  Allan McRae  <allan@archlinux.org>
44194         * sysdeps/i386/fpu/libm-test-ulps: Update.
44196 2013-07-02  David S. Miller  <davem@davemloft.net>
44198         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44200 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
44202         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44204 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
44206         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
44207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44209 2013-07-02  Andi Kleen <ak@linux.intel.com>
44211         * config.h.in (ENABLE_LOCK_ELISION): Add.
44212         * configure.in (--enable-lock-elision): Add option.
44213         * manual/install.texi: Document --enable lock elision.
44214         * configure: Regenerate
44215         * INSTALL: Regenerate.
44217 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
44219         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
44220         SSE4.2 strcasecmp for libc.a.
44221         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
44223 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
44225         [BZ #13304]
44226         * soft-fp/op-common.h (_FP_FMA): New macro.
44227         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
44228         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
44229         (_FP_MUL_MEAT_1_imm): ... here.
44230         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
44231         (_FP_MUL_MEAT_1_wide): ... here.
44232         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
44233         (_FP_MUL_MEAT_1_hard): ... here.
44234         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
44235         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
44236         (_FP_MUL_MEAT_2_wide): ... here.
44237         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
44238         (_FP_MUL_MEAT_2_wide_3mul): ... here.
44239         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
44240         (_FP_MUL_MEAT_2_gmp): ... here.
44241         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
44242         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
44243         (_FP_MUL_MEAT_4_wide): ... here.
44244         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
44245         (_FP_MUL_MEAT_4_gmp): ... here.
44246         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
44247         (_FP_WFRACBITS_DW_S): Likewise.
44248         (_FP_WFRACXBITS_DW_S): Likewise.
44249         (_FP_HIGHBIT_DW_S): Likewise.
44250         (FP_FMA_S): Likewise.
44251         (_FP_FRAC_HIGH_DW_S): Likewise.
44252         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
44253         (_FP_WFRACBITS_DW_D): Likewise.
44254         (_FP_WFRACXBITS_DW_D): Likewise.
44255         (_FP_HIGHBIT_DW_D): Likewise.
44256         (FP_FMA_D): Likewise.
44257         (_FP_FRAC_HIGH_DW_D): Likewise.
44258         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
44259         (_FP_WFRACBITS_DW_E): Likewise.
44260         (_FP_WFRACXBITS_DW_E): Likewise.
44261         (_FP_HIGHBIT_DW_E): Likewise.
44262         (FP_FMA_E): Likewise.
44263         (_FP_FRAC_HIGH_DW_E): Likewise.
44264         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
44265         (_FP_WFRACBITS_DW_Q): Likewise.
44266         (_FP_WFRACXBITS_DW_Q): Likewise.
44267         (_FP_HIGHBIT_DW_Q): Likewise.
44268         (FP_FMA_Q): Likewise.
44269         (_FP_FRAC_HIGH_DW_Q): Likewise.
44270         * soft-fp/fmasf4.c: New file.
44271         * soft-fp/fmadf4.c: Likewise.
44272         * soft-fp/fmatf4.c: Likewise.
44274 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44276         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44277         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
44278         Silvermont.
44279         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
44280         macro.
44281         (index_Slow_SSE4_2): Likewise.
44282         (index_Prefer_PMINUB_for_stringop): Likewise.
44283         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
44284         bit_Slow_SSE4_2 is set.
44285         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44286         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44288 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44290         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
44291         rtld_global._dl_hwcap2.
44292         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
44293         POWER8.
44294         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
44295         POWER8 feature descriptions defined in _dl_hwcap2.
44296         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
44297         string handling for POWER8 feature bits.
44298         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
44299         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
44300         _dl_powerpc_cap_flags.
44301         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
44302         * sysdeps/powerpc/rtld-global-offsets.sym
44303         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
44304         _dl_hwcap2 in the rtld_global_ro structure.
44306 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44308         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
44309         hardware capabilities in support of AT_HWCAP2.
44310         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
44311         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
44312         GLRO(dl_hwcap2).
44313         (_dl_show_auxv): Add support for calling _dl_procinfo to display
44314         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
44315         explicitly the unknown a_type display mechanism is used.
44316         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
44317         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
44318         struct member.
44319         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
44320         to macro prototype for AT_HWCAP2 support.
44321         * sysdeps/i386/dl-procinfo.h: Likewise.
44322         * sysdeps/s390/dl-procinfo.h: Likewise.
44323         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
44324         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
44325         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
44326         return -1 for unknown a_type display fallback.
44327         * sysdeps/sparc/dl-procinfo.h: Likewise.
44328         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
44329         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
44331 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
44333         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
44334         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
44336 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
44338         [BZ #12492]
44339         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
44340         mprotect making __stack_prot writable.
44342 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
44343             Joseph Myers  <joseph@codesourcery.com>
44345         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
44346         as being properly aligned.
44348 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
44350         * dlfcn/modstatic5.c: New file.
44351         * dlfcn/tststatic5.c: New file.
44352         * dlfcn/Makefile (tests): Add tststatic5.
44353         (tests-static): Likewise.
44354         (modules-names): Add modstatic5.
44355         (tststatic5-ENV): New variable.
44356         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
44358         [BZ #15022]
44359         * elf/dl-support.c (_dl_main_map): New variable.
44360         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
44361         (_dl_nns, _dl_load_adds): Set to 1.
44362         (_dl_initial_searchlist): Refer to _dl_main_map.
44363         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
44364         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
44365         call to _dl_get_origin.
44366         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
44367         around call_map.
44368         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
44369         * dlfcn/modstatic3.c: New file.
44370         * dlfcn/tststatic3.c: New file.
44371         * dlfcn/tststatic4.c: New file.
44372         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
44373         (tests-static): Likewise.
44374         (modules-names): Add modstatic3.
44375         (tststatic3-ENV, tststatic4-ENV): New variables.
44376         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
44377         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
44379 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
44381         * configure.in (CC): Require GCC version 4.4 or later.
44382         * configure: Regenerated.
44383         * manual/install.texi (Tools for Compilation): Update GCC version
44384         requirement.
44385         * INSTALL: Regenerated.
44387 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44389         [BZ #15674]
44390         * string/test-memcmp.c (check2): New.
44391         (main): Call check2.
44393         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
44395 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
44397         [BZ #15022]
44398         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
44399         over to...
44400         (dl_open_worker) [!SHARED]: ... here.
44402 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44404         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
44406 2013-06-25  Richard Henderson  <rth@redhat.com>
44408         * locale/programs/locarchive.c: Include <libc-internal.h>
44410 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
44412         * manual/texinfo.tex: Update to version 2013-06-21.17, with
44413         trailing whitespace removed.
44415 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
44417         [BZ #10283]
44418         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
44419         * locale/programs/locarchive.c: Include libc-mmap.h.
44420         (prepare_address_space): Take two new outputs (the mmap base and len).
44421         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
44422         values.
44423         (create_archive): Declare new mmap base and len values for
44424         prepare_address_space, and store the result in ah.
44425         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
44426         (enlarge_archive): If ah->mmap_base is not NULL, use that and
44427         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
44428         Declare new mmap base and len values for
44429         prepare_address_space, and store the result in new_ah.
44430         (open_archive): Declare new mmap base and len values for
44431         prepare_address_space, and store the result in ah.
44432         (close_archive): If ah->mmap_base is not NULL, use that and
44433         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
44434         * sysdeps/generic/libc-mmap.h: New file.
44436 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
44438         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
44439         (ALIGN_UP): Likewise.
44440         (PTR_ALIGN_DOWN): Likewise.
44441         (PTR_ALIGN_UP): Likewise.
44443 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44445         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
44446         entry mapped to PPC_PLATFORM_POWER8.
44447         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
44448         POWER8.
44449         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
44450         (_dl_string_platform): Add case for exporting platform position for
44451         POWER8.
44452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
44453         search path to sysdeps/powerpc/powerpc32/power8 directory.
44454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
44455         search path to sysdeps/powerpc/powerpc64/power8 directory.
44456         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
44457         power7 directories.
44458         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
44459         power7 directories.
44461 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44463         * INSTALL: Regenerate.
44465         * nscd/connections.c (nscd_init): Fix comment.
44467 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
44469         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
44471         [BZ #15667]
44472         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
44473         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
44475 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
44477         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
44478         DL_DST_REQ_STATIC.
44479         (DL_DST_REQ_STATIC): Remove macro.
44481 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
44483         [BZ #7006]
44484         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
44485         with a shift of 0 bits.
44487 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
44489         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
44490         $(tststatic-ENV).
44492 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44494         [BZ #15655]
44495         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
44497 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44499         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
44500         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
44501         accepts -fno-tree-loop-distribute-patterns.
44502         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
44503         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
44504         recursive call.
44505         * string/memset.c (memset): Likewise.
44506         * string/test-memmove.c (simple_memmove): Disable loop transformation
44507         to library calls.
44508         * string/test-memset.c (simple_memset): Likewise.
44509         * benchtests/bench-memmove.c (simple_memmove): Likewise.
44510         * benchtests/bench-memset.c (simple_memset): Likewise.
44511         * configure: Regenerated.
44513 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
44515         * math/test-misc.c (main): Ignore fesetround failure when failures
44516         of subsequent rounding tests would be ignored.
44518         [BZ #15654]
44519         * math/fedisblxcpt.c (fedisableexcept): Return 0.
44520         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
44521         * math/fegetenv.c (__fegetenv): Return 0.
44522         * math/fegetexcept.c (fegetexcept): Return 0.
44523         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
44524         FE_TONEAREST.
44525         * math/feholdexcpt.c (feholdexcept): Return 0.
44526         * math/fesetenv.c (__fesetenv): Return 0.
44527         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
44528         argument FE_TONEAREST.
44529         * math/feupdateenv.c (__feupdateenv): Return 0.
44530         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
44532 2013-06-18  Roland McGrath  <roland@hack.frob.com>
44534         * elf/rtld-Rules (rtld-compile-command.S): New variable.
44535         (rtld-compile-command.s, rtld-compile-command.c): New variables.
44536         ($(objpfx)rtld-%.os rules): Use them.
44538 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44540         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
44541         fields.
44543 2013-06-17  Roland McGrath  <roland@hack.frob.com>
44545         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
44546         length of target pattern, then descending length of dependency pattern.
44547         * configure.in (AWK): Require gawk 3.1.2 or newer.
44548         * manual/install.texi (Tools for Compilation): Say that we do.
44549         * configure: Regenerated.
44551         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
44552         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
44553         * scripts/sysd-rules.awk: ... this new script.
44554         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
44555         than a glob-style pattern.
44557 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
44559         * math/test-misc.c (main): Do not treat incorrectly rounded
44560         conversions as failure unless ROUNDING_TESTS passes.
44562 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
44564         [BZ #15631]
44565         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
44566         restore exception state around main square root computation, then
44567         check for inexactness explicitly.
44569         * math/libm-test.inc (fma_test_data): Add another test.
44571 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44573         * manual/threads.texi (Non-POSIX Extensions): New document
44574         node.  Document pthread_getattr_default_np and
44575         pthread_setattr_default_np.
44577         * Versions.def (libpthread): Add GLIBC_2.18.
44578         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
44579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44580         Likewise.
44581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44582         Likewise.
44583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44584         Likewise.
44585         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44586         Likewise.
44587         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
44588         Likewise.
44589         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44590         Likewise.
44591         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44592         Likewise.
44593         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44594         Likewise.
44595         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44596         Likewise.
44598 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44600         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44601         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
44603 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44604             H.J. Lu  <hjl.tools@gmail.com>
44606         [BZ #15627]
44607         * sysdeps/x86_64/rtld-memset.c: Remove file.
44608         * sysdeps/x86_64/rtld-memset.S: New file.
44610 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
44612         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
44613         (test_in_one_mode): Take arguments for whether the rounding mode
44614         is supported for each floating-point type.
44615         (do_test): Pass new arguments to test_in_one_mode using
44616         ROUNDING_TESTS.
44618 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44620         * posix/tst-waitid.c (do_test): Distinguish different instances of
44621         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
44622         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
44623         before entering the kernel for waitpid.
44625 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44627         * NEWS: Fix note on clock function precision.  Text by Roland
44628         McGrath.
44630 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44632         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
44633         it into place only when and if the sanity check passes.
44635 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
44637         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
44638         output for whether conversion result is exact.  Take argument
44639         indicating whether type is IBM long double.
44640         (round_for_all): Change need_exact field to ibm_ld.
44641         * stdlib/tst-strtod-round.c (struct exactness): New type.
44642         (struct test): Change bool ld_ok field to struct exactness exact.
44643         (TEST): Update all definitions for change to field.
44644         (tests): Regenerate array contents.
44645         (test_in_one_mode): Take pointer to new field instead of old ld_ok
44646         field value.  Check for IBM long double here.
44647         (do_test): Update calls to test_in_one_mode.
44649 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44651         [BZ #12515]
44652         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
44653         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
44655 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44657         [BZ #15605]
44658         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
44659         generated by the compiler on loop optimizations.
44660         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
44661         general definitions.
44663 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
44665         * math/bug-nextafter.c: Include <math-tests.h>.
44666         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44667         the relevant type.
44668         * math/bug-nexttoward.c: Include <math-tests.h>.
44669         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44670         the relevant type.
44671         * math/test-misc.c: Include <math-tests.h>.
44672         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44673         the relevant type.
44675 2013-06-12  Andreas Jaeger  <aj@suse.de>
44677         * po/ia.po: Update Interlingua translation from translation
44678         project.
44680 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44682         * include/fenv.h: Include stdbool.h.
44683         (struct rm_ctx): New structure.
44684         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
44685         Define macro.
44686         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
44687         (SET_RESTORE_ROUNDF): Likewise.
44688         (SET_RESTORE_ROUNDL): Likewise.
44689         (SET_RESTORE_ROUND_NOEX): Likewise.
44690         (SET_RESTORE_ROUND_NOEXF): Likewise.
44691         (SET_RESTORE_ROUND_NOEXL): Likewise.
44692         (SET_RESTORE_ROUND_53BIT): Likewise.
44693         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
44694         (libc_feresetround_noexf_ctx): Likewise.
44695         (libc_feresetround_noexl_ctx): Likewise.
44696         (libc_feholdsetround_53bit_ctx): Likewise.
44697         (libc_feresetround_53bit_ctx): Likewise.
44698         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
44699         (libc_feholdexcept_setround_sse_ctx): New function.
44700         (libc_fesetenv_sse_ctx): Likewise.
44701         (libc_feupdateenv_sse_ctx): Likewise.
44702         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
44703         (libc_feholdexcept_setround_387_ctx): Likewise.
44704         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
44705         (libc_feholdsetround_387_prec_ctx): Likewise.
44706         (libc_feholdsetround_387_ctx): Likewise.
44707         (libc_feholdsetround_387_53bit_ctx): Likewise.
44708         (libc_feholdsetround_sse_ctx): Likewise.
44709         (libc_feresetround_sse_ctx): Likewise.
44710         (libc_feresetround_387_ctx): Likewise.
44711         (libc_feupdateenv_387_ctx): Likewise.
44712         (libc_feholdexcept_setroundf_ctx): Define macro.
44713         (libc_fesetenvf_ctx): Likewise.
44714         (libc_feupdateenvf_ctx): Likewise.
44715         (libc_feholdsetroundf_ctx): Likewise.
44716         (libc_feresetroundf_ctx): Likewise.
44717         (libc_feholdexcept_setround_ctx): Likewise.
44718         (libc_fesetenv_ctx): Likewise.
44719         (libc_feupdateenv_ctx): Likewise.
44720         (libc_feholdsetround_ctx): Likewise.
44721         (libc_feresetround_ctx): Likewise.
44722         (libc_feholdexcept_setroundl_ctx): Likewise.
44723         (libc_feupdateenvl_ctx): Likewise.
44724         (libc_feholdsetroundl_ctx): Likewise.
44725         (libc_feresetroundl_ctx): Likewise.
44726         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
44727         (libc_feresetround_53bit_ctx): Likewise.
44729 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44731         * locale/iso-639.def: Convert to UTF-8.
44733 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
44735         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
44736         (EXCEPTION_TESTS_double): Likewise.
44737         (EXCEPTION_TESTS_long_double): Likewise.
44738         (EXCEPTION_TESTS): Likewise.
44739         * math/libm-test.inc (test_exceptions): Only test exceptions if
44740         EXCEPTION_TESTS (FLOAT).
44742 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44744         * benchtests/Makefile (string-bench): Add strcpy_chk and
44745         stpcpy_chk.
44746         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
44747         * benchtests/bench-stpcpy_chk.c: New file.
44748         * benchtests/bench-strcpy_chk-ifunc.c: New file.
44749         * benchtests/bench-strcpy_chk.c: New file.
44750         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
44751         code.
44752         (do_test): Likewise.
44754 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44756         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
44757         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
44758         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
44759         with tabs where appropriate.
44760         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
44761         dl-procinfo.h.
44762         [PPC_PLATFORM_PPC440]: Likewise.
44763         [PPC_PLATFORM_PPC464]: Likewise.
44764         [PPC_PLATFORM_PPC476]: Likewise.
44765         (_dl_string_platform): Add support for detecting ppc405, ppc440,
44766         ppc464, and ppc476 platform strings merging from ports/
44767         dl-procinfo.h.
44769 2013-06-11  Andreas Schwab  <schwab@suse.de>
44771         [BZ #14991]
44772         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
44773         (from_ucs4_idx): Regenerate.
44774         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
44775         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
44776         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
44777         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
44778         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
44779         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
44780         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
44781         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
44782         from FROM_LOOP and TO_LOOP specific macros.
44783         (BODY): Handle combining characters.
44784         * iconvdata/BIG5HKSCS.irreversible: Update.
44785         * iconvdata/BIG5HKSCS.precomposed: New file.
44786         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
44787         characters.
44788         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
44790 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44792         * include/sys/time.h: Fix indentation and add copyright header.
44794         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
44795         (do_test): Likewise.
44796         * string/test-memchr.c (do_one_test): Likewise.
44797         (do_test): Likewise.
44798         * string/test-memcmp.c (do_one_test): Likewise.
44799         (do_test): Likewise.
44800         * string/test-memcpy.c (do_one_test): Likewise.
44801         (do_test): Likewise.
44802         * string/test-memmem.c (do_one_test): Likewise.
44803         (do_test): Likewise.
44804         (do_random_tests): Likewise.
44805         * string/test-memmove.c (do_one_test): Likewise.
44806         (do_test): Likewise.
44807         * string/test-memset.c (do_one_test): Likewise.
44808         (do_test): Likewise.
44809         * string/test-rawmemchr.c (do_one_test): Likewise.
44810         (do_test): Likewise.
44811         * string/test-strcasecmp.c (do_one_test): Likewise.
44812         (do_test): Likewise.
44813         * string/test-strcasestr.c (do_one_test): Likewise.
44814         (do_test): Likewise.
44815         * string/test-strcat.c (do_one_test): Likewise.
44816         (do_test): Likewise.
44817         * string/test-strchr.c (do_one_test): Likewise.
44818         (do_test): Likewise.
44819         * string/test-strcmp.c (do_one_test): Likewise.
44820         (do_test): Likewise.
44821         * string/test-strcpy.c (do_one_test): Likewise.
44822         (do_test): Likewise.
44823         * string/test-string.h: Likewise.
44824         (test_init): Likewise.
44825         * string/test-strlen.c (do_one_test): Likewise.
44826         (do_test): Likewise.
44827         * string/test-strncasecmp.c (do_one_test): Likewise.
44828         (do_test): Likewise.
44829         * string/test-strncat.c (do_one_test): Likewise.
44830         (do_test): Likewise.
44831         * string/test-strncmp.c (do_one_test): Likewise.
44832         (do_test_limit): Likewise.
44833         (do_test): Likewise.
44834         * string/test-strncpy.c (do_one_test): Likewise.
44835         (do_test): Likewise.
44836         * string/test-strnlen.c (do_one_test): Likewise.
44837         (do_test): Likewise.
44838         * string/test-strpbrk.c (do_one_test): Likewise.
44839         (do_test): Likewise.
44840         * string/test-strrchr.c (do_one_test): Likewise.
44841         (do_test): Likewise.
44842         * string/test-strspn.c (do_one_test): Likewise.
44843         (do_test): Likewise.
44844         * string/test-strstr.c (do_one_test): Likewise.
44845         (do_test): Likewise.
44847         * benchtests/Makefile (string-bench): Add string benchmarks.
44848         * benchtests/bench-bcopy-ifunc.c: New file.
44849         * benchtests/bench-bcopy.c: New file.
44850         * benchtests/bench-bzero-ifunc.c: New file.
44851         * benchtests/bench-bzero.c: New file.
44852         * benchtests/bench-memccpy-ifunc.c: New file.
44853         * benchtests/bench-memccpy.c: New file.
44854         * benchtests/bench-memchr-ifunc.c: New file.
44855         * benchtests/bench-memchr.c: New file.
44856         * benchtests/bench-memcmp-ifunc.c: New file.
44857         * benchtests/bench-memcmp.c: New file.
44858         * benchtests/bench-memmem-ifunc.c: New file.
44859         * benchtests/bench-memmem.c: New file.
44860         * benchtests/bench-memmove-ifunc.c: New file.
44861         * benchtests/bench-memmove.c: New file.
44862         * benchtests/bench-mempcpy-ifunc.c: New file.
44863         * benchtests/bench-mempcpy.c: New file.
44864         * benchtests/bench-memset-ifunc.c: New file.
44865         * benchtests/bench-memset.c: New file.
44866         * benchtests/bench-rawmemchr-ifunc.c: New file.
44867         * benchtests/bench-rawmemchr.c: New file.
44868         * benchtests/bench-stpcpy-ifunc.c: New file.
44869         * benchtests/bench-stpcpy.c: New file.
44870         * benchtests/bench-stpncpy-ifunc.c: New file.
44871         * benchtests/bench-stpncpy.c: New file.
44872         * benchtests/bench-strcasecmp-ifunc.c: New file.
44873         * benchtests/bench-strcasecmp.c: New file.
44874         * benchtests/bench-strcasestr-ifunc.c: New file.
44875         * benchtests/bench-strcasestr.c: New file.
44876         * benchtests/bench-strcat-ifunc.c: New file.
44877         * benchtests/bench-strcat.c: New file.
44878         * benchtests/bench-strchr-ifunc.c: New file.
44879         * benchtests/bench-strchr.c: New file.
44880         * benchtests/bench-strchrnul-ifunc.c: New file.
44881         * benchtests/bench-strchrnul.c: New file.
44882         * benchtests/bench-strcmp-ifunc.c: New file.
44883         * benchtests/bench-strcmp.c: New file.
44884         * benchtests/bench-strcpy-ifunc.c: New file.
44885         * benchtests/bench-strcpy.c: New file.
44886         * benchtests/bench-strcspn-ifunc.c: New file.
44887         * benchtests/bench-strcspn.c: New file.
44888         * benchtests/bench-strlen-ifunc.c: New file.
44889         * benchtests/bench-strlen.c: New file.
44890         * benchtests/bench-strncasecmp-ifunc.c: New file.
44891         * benchtests/bench-strncasecmp.c: New file.
44892         * benchtests/bench-strncat-ifunc.c: New file.
44893         * benchtests/bench-strncat.c: New file.
44894         * benchtests/bench-strncmp-ifunc.c: New file.
44895         * benchtests/bench-strncmp.c: New file.
44896         * benchtests/bench-strncpy-ifunc.c: New file.
44897         * benchtests/bench-strncpy.c: New file.
44898         * benchtests/bench-strnlen-ifunc.c: New file.
44899         * benchtests/bench-strnlen.c: New file.
44900         * benchtests/bench-strpbrk-ifunc.c: New file.
44901         * benchtests/bench-strpbrk.c: New file.
44902         * benchtests/bench-strrchr-ifunc.c: New file.
44903         * benchtests/bench-strrchr.c: New file.
44904         * benchtests/bench-strspn-ifunc.c: New file.
44905         * benchtests/bench-strspn.c: New file.
44906         * benchtests/bench-strstr-ifunc.c: New file.
44907         * benchtests/bench-strstr.c: New file.
44909         * benchtests/Makefile: Disable parallel execution of targets.
44910         (string-bench): Add memcpy.
44911         (benchset): New variable to store a list of benchmark sets.
44912         (bench-func): Renamed from bench.
44913         (bench-set): New target.
44914         (bench): Depend on bench-func and bench-set.
44915         * benchtests/README: Add section on benchmark sets.
44916         * benchtests/bench-memcpy-ifunc.c: New file.
44917         * benchtests/bench-memcpy.c: New file.
44918         * benchtests/bench-string.h: New file.
44920 2013-06-11  Andreas Schwab  <schwab@suse.de>
44922         [BZ #15577]
44923         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
44924         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
44925         values in the triple.
44926         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
44927         terminator in the group key.
44929 2013-06-11  Andreas Jaeger  <aj@suse.de>
44931         * po/zh_TW.po: Update Chinese (traditional) translation from
44932         translation project.
44934 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44936         * include/time.h (__clock_gettime): Add libc_hidden_proto.
44937         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
44938         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
44939         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44940         (clock_getcpuclockid): Likewise.
44941         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
44942         Add weak_alias and libc_hidden_def.
44943         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
44944         * rt/clock_gettime.c (clock_gettime): Rename to
44945         __clock_gettime.  Add weak_alias and libc_hidden_def.
44946         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
44947         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
44948         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
44949         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
44950         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
44951         Likewise.
44952         * rt/clock_settime.c (clock_settime): Rename to
44953         __clock_settime.  Add weak_alias and libc_hidden_def.
44954         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
44956 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
44958         * mach/err_boot.sub: Remove trailing whitespace.
44959         * mach/err_ipc.sub: Likewise.
44960         * mach/err_mach.sub: Likewise.
44962         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
44963         (ROUNDING_TESTS_double): Likewise.
44964         (ROUNDING_TESTS_long_double): Likewise.
44965         (ROUNDING_TESTS): Likewise.
44966         * math/libm-test.inc: Include <math-tests.h>.
44967         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
44968         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
44969         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
44970         (IF_ROUND_INIT_FE_UPWARD): Likewise.
44972 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44974         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
44975         of assigning.
44977 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
44979         * sysdeps/gnu/errlist.awk: Do not generate space at end of
44980         otherwise empty TRANS lines.
44981         * sysdeps/gnu/errlist.c: Regenerated.
44983         * catgets/gencat.c (error_print): Use (void) in function
44984         definition.
44985         * crypt/crypt_util.c (__init_des): Likewise.
44986         * crypt/speeds.c (Stop): Likewise.
44987         (main): Likewise.
44988         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
44989         * inet/ruserpass.c (token): Likewise.
44990         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
44991         * intl/localealias.c (extend_alias_table): Likewise.
44992         * intl/plural-exp.c (init_germanic_plural): Likewise.
44993         * libio/fcloseall.c (__fcloseall): Likewise.
44994         * libio/genops.c (_IO_flush_all): Likewise.
44995         (_IO_flush_all_linebuffered): Likewise.
44996         (_IO_cleanup): Likewise.
44997         (_IO_iter_begin): Likewise.
44998         (_IO_iter_end): Likewise.
44999         (_IO_list_lock): Likewise.
45000         (_IO_list_unlock): Likewise.
45001         (_IO_list_resetlock): Likewise.
45002         * libio/getchar.c (getchar): Likewise.
45003         * libio/getchar_u.c (getchar_unlocked): Likewise.
45004         * libio/getwchar.c (getwchar): Likewise.
45005         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
45006         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
45007         * login/getpt.c (__getpt): Likewise.
45008         * login/tst-utmp.c (main): Likewise.
45009         * malloc/hooks.c (__malloc_check_init): Likewise.
45010         * malloc/malloc.c (__malloc_stats): Likewise.
45011         * malloc/mtrace.c (tr_break): Likewise.
45012         (mtrace): Likewise.
45013         (muntrace): Likewise.
45014         * misc/fstab.c (endfsent): Likewise.
45015         * misc/getclktck.c (__getclktck): Likewise.
45016         * misc/getdtsz.c (__getdtablesize): Likewise.
45017         * misc/gethostid.c (gethostid): Likewise.
45018         * misc/getpagesize.c (__getpagesize): Likewise.
45019         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
45020         (__get_nprocs): Likewise.
45021         (__get_phys_pages): Likewise.
45022         (__get_avphys_pages): Likewise.
45023         * misc/getttyent.c (getttyent): Likewise.
45024         (setttyent): Likewise.
45025         (endttyent): Likewise.
45026         * misc/getusershell.c (getusershell): Likewise.
45027         (endusershell): Likewise.
45028         (setusershell): Likewise.
45029         (initshells): Likewise.
45030         * misc/hsearch.c (__hdestroy): Likewise.
45031         * misc/sync.c (sync): Likewise.
45032         * misc/syslog.c (closelog_internal): Likewise.
45033         (closelog): Likewise.
45034         * misc/ttyslot.c (ttyslot): Likewise.
45035         * misc/vhangup.c (vhangup): Likewise.
45036         * posix/fork.c (__fork): Likewise.
45037         * posix/getegid.c (__getegid): Likewise.
45038         * posix/geteuid.c (__geteuid): Likewise.
45039         * posix/getgid.c (__getgid): Likewise.
45040         * posix/getpid.c (__getpid): Likewise.
45041         * posix/getppid.c (__getppid): Likewise.
45042         * posix/getuid.c (__getuid): Likewise.
45043         * posix/pause.c (pause): Likewise.
45044         * posix/setpgrp.c (setpgrp): Likewise.
45045         * posix/setsid.c (__setsid): Likewise.
45046         * posix/test-vfork.c (noop): Likewise.
45047         * resolv/gethnamaddr.c (_endhtent): Likewise.
45048         (_gethtent): Likewise.
45049         (ht_endhostent): Likewise.
45050         (gethostent): Likewise.
45051         (dns_service): Likewise.
45052         * stdlib/drand48.c (drand48): Likewise.
45053         * stdlib/lrand48.c (lrand48): Likewise.
45054         * stdlib/mrand48.c (mrand48): Likewise.
45055         * stdlib/rand.c (rand): Likewise.
45056         * stdlib/random.c (__random): Likewise.
45057         * stdlib/setenv.c (clearenv): Likewise.
45058         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
45059         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
45060         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
45061         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
45062         (__get_nprocs): Likewise.
45063         (__get_phys_pages): Likewise.
45064         (__get_avphys_pages): Likewise.
45065         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
45066         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
45067         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
45068         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
45069         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
45070         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
45071         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
45072         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
45073         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
45074         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
45075         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
45076         * sysdeps/mach/hurd/sync.c (sync): Likewise.
45077         * sysdeps/posix/clock.c (clock): Likewise.
45078         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
45079         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
45080         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
45081         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
45082         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
45083         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
45084         (__get_nprocs_conf): Likewise.
45085         (__get_phys_pages): Likewise.
45086         (__get_avphys_pages): Likewise.
45087         * time/clock.c (clock): Likewise.
45088         * time/tzset.c (__tzname_max): Likewise.
45090 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
45092         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
45093         (__bswap_32): Do not use "register".
45094         * crypt/crypt.c (_ufc_doit_r): Likewise.
45095         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
45096         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
45097         * gmon/gmon.c (__monstartup): Likewise.
45098         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
45099         * hurd/hurdmalloc.c (more_memory): Likewise.
45100         (malloc): Likewise.
45101         (free): Likewise.
45102         (realloc): Likewise.
45103         (malloc_fork_prepare): Likewise.
45104         (malloc_fork_parent): Likewise.
45105         (malloc_fork_child): Likewise.
45106         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
45107         (_svcauth_des): Likewise.
45108         * inet/inet_lnaof.c (inet_lnaof): Likewise.
45109         * inet/inet_net.c (inet_network): Likewise.
45110         * inet/inet_netof.c (inet_netof): Likewise.
45111         * inet/rcmd.c (__validuser2_sa): Likewise.
45112         * io/fts.c (fts_open): Likewise.
45113         (fts_load): Likewise.
45114         (fts_close): Likewise.
45115         (fts_read): Likewise.
45116         (fts_children): Likewise.
45117         (fts_build): Likewise.
45118         (fts_stat): Likewise.
45119         (fts_sort): Likewise.
45120         (fts_alloc): Likewise.
45121         (fts_lfree): Likewise.
45122         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
45123         (_IO_file_xsgetn): Likewise.
45124         (_IO_file_xsgetn_mmap): Likewise.
45125         * libio/iofopncook.c (_IO_cookie_read): Likewise.
45126         (_IO_cookie_write): Likewise.
45127         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
45128         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
45129         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
45130         * malloc/obstack.c (_obstack_begin): Likewise.
45131         (_obstack_begin_1): Likewise.
45132         (_obstack_newchunk): Likewise.
45133         (_obstack_allocated_p): Likewise.
45134         (obstack_free): Likewise.
45135         (_obstack_memory_used): Likewise.
45136         * misc/getttyent.c (getttynam): Likewise.
45137         (getttyent): Likewise.
45138         (skip): Likewise.
45139         (value): Likewise.
45140         * misc/getusershell.c (initshells): Likewise.
45141         * misc/syslog.c (__vsyslog_chk): Likewise.
45142         * misc/ttyslot.c (ttyslot): Likewise.
45143         * nis/nis_hash.c (__nis_hash): Likewise.
45144         * posix/fnmatch_loop.c (FCT): Likewise.
45145         * posix/getconf.c (print_all): Likewise.
45146         (main): Likewise.
45147         * posix/getopt.c (exchange): Likewise.
45148         * posix/glob.c (globfree): Likewise.
45149         (prefix_array): Likewise.
45150         (__glob_pattern_type): Likewise.
45151         * resolv/arpa/nameser.h (NS_GET16): Likewise.
45152         (NS_GET32): Likewise.
45153         (NS_PUT16): Likewise.
45154         (NS_PUT32): Likewise.
45155         * resolv/gethnamaddr.c (getanswer): Likewise.
45156         (gethostbyname2): Likewise.
45157         (gethostbyaddr): Likewise.
45158         (_gethtent): Likewise.
45159         (_gethtbyname2): Likewise.
45160         (_gethtbyaddr): Likewise.
45161         * resolv/ns_print.c (dst_s_get_int16): Likewise.
45162         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
45163         * resolv/res_init.c (__res_vinit): Likewise.
45164         (net_mask): Likewise.
45165         * resolv/res_mkquery.c (outchar): Likewise.
45166         (PRINT): Likewise.
45167         * stdio-common/printf_fp.c (outchar): Likewise.
45168         (PRINT): Likewise.
45169         * stdio-common/printf_fphex.c (outchar): Likewise.
45170         (PRINT): Likewise.
45171         * stdio-common/printf_size.c (outchar): Likewise.
45172         (PRINT): Likewise.
45173         * stdio-common/test_rdwr.c (main): Likewise.
45174         * stdio-common/tfformat.c (matches): Likewise.
45175         * stdio-common/vfprintf.c (outchar): Likewise.
45176         (printf_unknown): Likewise.
45177         (buffered_vfprintf): Likewise.
45178         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
45179         * stdio-common/xbug.c (AppendToBuffer): Likewise.
45180         (ReadFile): Likewise.
45181         * stdlib/qsort.c (SWAP): Likewise.
45182         (_quicksort): Likewise.
45183         * stdlib/setenv.c (__add_to_environ): Likewise.
45184         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
45185         * stdlib/strtol_l.c (__strtol_l): Likewise.
45186         * stdlib/tst-strtod.c (main): Likewise.
45187         * stdlib/tst-strtol.c (main): Likewise.
45188         * stdlib/tst-strtoll.c (main): Likewise.
45189         * string/bits/string2.h (__strcmp_cc): Likewise.
45190         (__strcmp_cg): Likewise.
45191         (__strcspn_c1): Likewise.
45192         (__strcspn_c2): Likewise.
45193         (__strcspn_c3): Likewise.
45194         (__strspn_c1): Likewise.
45195         (__strspn_c2): Likewise.
45196         (__strspn_c3): Likewise.
45197         (__strsep_1c): Likewise.
45198         (__strsep_2c): Likewise.
45199         (__strsep_3c): Likewise.
45200         * string/memccpy.c (__memccpy): Likewise.
45201         * string/stpcpy.c (__stpcpy): Likewise.
45202         * string/strcmp.c (strcmp): Likewise.
45203         * string/strrchr.c (strrchr): Likewise.
45204         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
45205         Likewise.
45206         * sysdeps/mach/hurd/getcwd.c
45207         (_hurd_canonicalize_directory_name_internal): Likewise.
45208         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
45209         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
45210         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
45211         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
45212         Likewise, in both definitions.
45213         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
45214         definitions.
45215         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
45216         64] (__bswap_64): Likewise.
45217         * time/test_time.c (main): Likewise.
45218         * time/tzfile.c (__tzfile_read): Likewise.
45219         (__tzfile_compute): Likewise.
45220         * time/tzset.c (__tzset_parse_tz): Likewise.
45221         (tzset_internal): Likewise.
45222         (compute_change): Likewise.
45223         * wcsmbs/wcscat.c (__wcscat): Likewise.
45224         * wcsmbs/wcschr.c (wcschr): Likewise.
45225         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
45226         * wcsmbs/wcscspn.c (wcscspn): Likewise.
45227         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
45228         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
45229         * wcsmbs/wcsspn.c (wcsspn): Likewise.
45230         * wcsmbs/wcsstr.c (wcsstr): Likewise.
45231         * wcsmbs/wmemchr.c (wmemchr): Likewise.
45232         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45233         * wcsmbs/wmemset.c (wmemset): Likewise.
45235 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
45237         * scripts/config.guess: Update to version 2013-05-16.
45238         * scripts/config.sub: Update to version 2013-04-24.
45239         * scripts/install-sh: Update to version 2011-11-20.07.
45240         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
45241         * scripts/move-if-change: Update to version 2012-01-06 07:23.
45243 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
45245         * debug/fgetws_u_chk.c: Fix leading whitespaces.
45246         * elf/sln.c: Likewise.
45247         * hurd/hurd/ioctl.h: Likewise.
45248         * hurd/hurdmalloc.c: Likewise.
45249         * hurd/xattr.c: Likewise.
45250         * include/shlib-compat.h: Likewise.
45251         * inet/ruserpass.c: Likewise.
45252         * libio/iofgets_u.c: Likewise.
45253         * libio/iofgetws_u.c: Likewise.
45254         * locale/programs/ld-identification.c: Likewise.
45255         * locale/programs/ld-time.c: Likewise.
45256         * mach/msg-destroy.c: Likewise.
45257         * nss/nss_files/files-netgrp.c: Likewise.
45258         * resolv/res_data.c: Likewise.
45259         * soft-fp/op-1.h: Likewise.
45260         * soft-fp/op-2.h: Likewise.
45261         * soft-fp/op-4.h: Likewise.
45262         * soft-fp/op-common.h: Likewise.
45263         * stdio-common/printf_fphex.c: Likewise.
45264         * stdlib/strtod_l.c: Likewise.
45265         * sunrpc/rpc/clnt.h: Likewise.
45266         * sysdeps/generic/framestate.c: Likewise.
45267         * sysdeps/i386/bsd-_setjmp.S: Likewise.
45268         * sysdeps/i386/bsd-setjmp.S: Likewise.
45269         * sysdeps/i386/__longjmp.S: Likewise.
45270         * sysdeps/i386/setjmp.S: Likewise.
45271         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45272         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45273         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45274         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45275         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45276         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45277         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45278         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45279         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45280         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
45281         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45282         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45283         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45284         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45285         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45286         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45287         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45288         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
45289         * sysdeps/ieee754/support.c: Likewise.
45290         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45291         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
45292         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
45293         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
45294         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
45295         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
45296         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
45297         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
45298         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
45299         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
45300         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
45301         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
45302         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
45303         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
45304         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
45305         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
45306         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
45309 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
45311         * posix/transbug.c: Remove executable mode.
45313 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
45315         * crypt/speeds.c: Remove trailing whitespace.
45316         * dlfcn/default.c: Likewise.
45317         * elf/ifuncdep2.c: Likewise.
45318         * elf/ifuncmain1.c: Likewise.
45319         * elf/ifuncmain1vis.c: Likewise.
45320         * elf/testobj.h: Likewise.
45321         * elf/tst-stackguard1.c: Likewise.
45322         * gmon/sys/gmon.h: Likewise.
45323         * hurd/hurdmsg.c: Likewise.
45324         * hurd/new-fd.c: Likewise.
45325         * hurd/ports-get.c: Likewise.
45326         * iconvdata/ibm1008_420.c: Likewise.
45327         * inet/tst-getni1.c: Likewise.
45328         * inet/tst-getni2.c: Likewise.
45329         * libio/ioungetc.c: Likewise.
45330         * libio/wfiledoalloc.c: Likewise.
45331         * manual/libm-err-tab.pl: Likewise.
45332         * math/w_dremf.c: Likewise.
45333         * misc/ftruncate.c: Likewise.
45334         * posix/bug-glob2.c: Likewise.
45335         * posix/tst-pcre.c: Likewise.
45336         * posix/wait4.c: Likewise.
45337         * resolv/README: Likewise.
45338         * resolv/res_debug.h: Likewise.
45339         * resolv/tst-inet_ntop.c: Likewise.
45340         * setjmp/bug269-setjmp.c: Likewise.
45341         * soft-fp/extended.h: Likewise.
45342         * soft-fp/op-1.h: Likewise.
45343         * soft-fp/op-2.h: Likewise.
45344         * soft-fp/op-4.h: Likewise.
45345         * soft-fp/op-8.h: Likewise.
45346         * soft-fp/testit.c: Likewise.
45347         * stdio-common/bug16.c: Likewise.
45348         * stdlib/random.c: Likewise.
45349         * sunrpc/rpcsvc/rquota.x: Likewise.
45350         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
45351         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45352         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45353         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45354         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45355         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45356         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45357         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45358         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45359         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45360         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45361         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45362         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45363         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45364         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45365         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45366         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45367         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45368         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45369         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45370         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45371         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45372         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
45373         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45374         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45375         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45376         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45377         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45378         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45379         * sysdeps/ieee754/s_lib_version.c: Likewise.
45380         * sysdeps/mach/hurd/check_fds.c: Likewise.
45381         * sysdeps/mach/hurd/getsockname.c: Likewise.
45382         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
45383         * sysdeps/mach/hurd/recvfrom.c: Likewise.
45384         * sysdeps/powerpc/bits/link.h: Likewise.
45385         * sysdeps/powerpc/dl-procinfo.c: Likewise.
45386         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
45387         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
45388         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
45389         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
45390         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45391         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
45392         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
45393         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
45394         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45395         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
45396         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
45397         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
45398         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45399         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45400         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45401         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
45402         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
45403         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45404         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45405         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45406         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
45407         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45408         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
45409         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
45410         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
45411         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
45412         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45413         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45414         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
45415         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
45416         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
45417         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45418         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45419         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
45420         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
45421         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
45422         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
45423         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
45424         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
45425         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
45426         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
45427         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
45428         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
45429         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
45430         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
45431         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
45432         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
45433         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
45434         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
45435         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45436         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45437         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45438         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45439         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
45440         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
45441         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
45442         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45443         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
45444         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
45445         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
45446         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
45447         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
45448         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45449         * sysdeps/powerpc/sysdep.h: Likewise.
45450         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45451         * sysdeps/s390/s390-64/sub_n.S: Likewise.
45452         * sysdeps/sh/dl-trampoline.S: Likewise.
45453         * sysdeps/sh/memset.S: Likewise.
45454         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
45455         * sysdeps/sh/strlen.S: Likewise.
45456         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
45457         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
45458         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
45459         * sysdeps/sparc/sparc32/rem.S: Likewise.
45460         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
45461         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
45462         * sysdeps/sparc/sparc32/strchr.S: Likewise.
45463         * sysdeps/sparc/sparc32/udiv.S: Likewise.
45464         * sysdeps/sparc/sparc32/urem.S: Likewise.
45465         * sysdeps/sparc/sparc64/add_n.S: Likewise.
45466         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45467         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
45468         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
45469         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
45470         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
45471         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
45472         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
45473         * sysdeps/unix/bsd/times.c: Likewise.
45474         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
45475         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
45476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
45477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
45478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
45479         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
45480         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45481         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
45482         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
45483         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
45484         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
45485         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
45486         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
45487         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45488         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
45489         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
45490         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
45491         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
45492         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
45493         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
45494         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
45495         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
45496         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45497         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
45498         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
45499         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
45500         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
45501         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45502         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
45503         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
45504         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
45505         * sysdeps/x86_64/strcspn.S: Likewise.
45507 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45509         * locale/C-translit.h: Revert #include <stdint.h> because this is a
45510         generated file.  Regenerate properly from gen-translit.pl.
45511         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
45512         locale/C-translit.h.
45514 2013-06-05  Andreas Schwab  <schwab@suse.de>
45516         [BZ #15100]
45517         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
45518         week as 6 instead of -1.
45519         * time/tst-strptime.c (day_tests): Add test case.
45521 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45523         * sysdeps/generic/math_private.h
45524         (libc_feholdexcept_setround_53bit): Replace with
45525         libc_feholdsetround_53bit.
45526         (libc_feupdateenv_53bit): Replace with
45527         libc_feresetround_53bit.
45528         (SET_RESTORE_ROUND_53BIT): Adjust.
45530 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45532         * string/test-strchrnul.c: Add copyright header.
45534         * posix/tst-getaddrinfo4.c: Increase test timeout.
45536 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
45538         [BZ #15536]
45539         * math/libm-test.inc (MAX_EXP): Remove
45540         (MIN_EXP): Define.
45541         (ulp): Use MIN_EXP - MANT_DIG.
45542         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
45544 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
45546         * po/be.po: Revert last change.
45547         * po/zh_CN.po: Likewise.
45548         * po/header.pot: Likewise.
45550 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
45552         * Makefile ($(common-objpfx)linkobj/libc.so): Define
45553         link-libc-deps to empty as target-specific variable.
45554         * Makerules (link-libc-args): New variable.
45555         (libc-for-link): Likewise.
45556         (link-libc-deps): Likewise.
45557         (lib%.so): Depend on $(link-libc-deps).  Link with
45558         $(link-libc-args).
45559         (build-module): Link with $(link-libc-args).
45560         (build-module-asneeded): Likewise.
45561         (build-module-helper-objlist): Filter out $(link-libc-deps) from
45562         list of objects.
45563         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
45564         target-specific variable.
45565         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
45566         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
45567         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
45568         libc.
45569         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
45570         libc and ld.so.
45571         ($(objpfx)libpcprofile.so): Likewise.
45572         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
45573         libc_nonshared.a.
45574         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
45575         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
45576         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
45577         $(link-libc-deps).
45578         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
45579         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
45580         * login/Makefile ($(objpfx)libutil.so): Likewise.
45581         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
45582         * math/Makefile ($(objpfx)libm.so): Likewise.
45583         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
45584         $(objpfx)libnsl.so): Define libc-for-link as target-specific
45585         variable instead of depending directly on libc.
45586         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
45587         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
45588         $(link-libc-deps).
45589         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
45590         libc.
45591         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
45592         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
45593         ($(objpfx)libanl.so): Likewise.
45594         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
45595         ld.so.
45596         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
45597         $(link-libc-deps).
45598         * sysdeps/i386/fpu/Makefile: Remove file.
45599         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
45600         ($(objpfx)libm.so): Remove dependency on ld.so.
45602 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
45604         [BZ # 15553]
45605         * nis/yp_xdr.c (XDRMAXNAME): Define.
45606         (XDRMAXRECORD): Define.
45607         (xdr_domainname): Use XDRMAXNAME.
45608         (xdr_mapname): Likewise.
45609         (xdr_peername): Likewise.
45610         (xdr_keydat): Use XDRMAXRECORD.
45611         (xdr_valdat): Likewise.
45613 2013-05-30  Jeff Law  <law@redhat.com>
45615         [BZ #14256]
45616         * manual/errno.texi (ESTALE): Update to account for more than
45617         just NFS file systems.
45618         * sysdeps/gnu/errlist.c: Regenerated.
45620 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45622         [BZ #15465]
45623         * elf/Makefile (tests): Add tst-null-argv.
45624         (modules-names):  Add tst-null-argv-lib.
45625         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
45626         (tst-null-argv-ENV): Set environment for tst-null-argv.
45627         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
45628         (RTLD_PROGNAME): New macro.
45629         * elf/tst-null-argv.c: New test case.
45630         * elf/tst-null-argv-lib.c: Library for test case.
45631         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
45632         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
45633         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
45634         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
45635         * elf/dl-init.c (call_init): Likewise.
45636         (_dl_init): Likewise.
45637         * elf/dl-load.c (print_search_path): Likewise.
45638         (_dl_map_object): Likewise.
45639         * elf/dl-lookup.c (do_lookup_x): Likewise.
45640         (add_dependency): Likewise.
45641         (_dl_lookup_symbol_x): Likewise.
45642         (_dl_debug_bindings): Likewise.
45643         * elf/dl-open.c (_dl_show_scope): Likewise.
45644         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
45645         * elf/dl-version.c (match_symbol): Likewise.
45646         (_dl_check_map_versions): Likewise.
45647         * elf/rtld.c (dl_main): Likewise.
45648         (print_unresolved): Use RTLD_PROGNAME.
45649         (print_missing_version): Likewise.
45650         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
45651         (elf_machine_rela): Likewise.
45652         * sysdeps/powerpc/powerpc32/dl-machine.c
45653         (__process_machine_rela): Likewise.
45654         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45655         Likewise.
45656         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45657         Likewise.
45658         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
45659         Likewise.
45660         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45661         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
45662         Likewise.
45663         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
45664         Likewise.
45665         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45667 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
45669         * po/be.po: Add descriptive title.
45670         * po/zh_CN.po: Likewise.
45671         * po/header.pot: Likewise.
45673 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
45675         * locale/programs/locarchive.c (create_archive): Inlucde fname in
45676         error message.
45677         (enlarge_archive): Likewise.
45679 2013-05-28  Ben North  <ben@redfrontdoor.org>
45681         * manual/arith.texi (frexp): It is the magnitude of the return
45682         value which lies in [0.5, 1), not the return value itself.
45684 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45686         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45688 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
45690         * stdio-common/bug26.c (main): Correct fscanf template.
45692         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
45693         declare _dl_skip_args.
45695         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
45696         Don't declare.
45698         * manual/platform.texi: Add missing @end deftypefun.
45700 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
45702         [BZ #15529]
45703         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
45704         bit of mantissa of 2^16382.
45705         * math/libm-test.inc (hypot_test_data): Add more tests.
45707         * math/libm-test.inc: Add drem and pow10 to list of tested
45708         functions.
45709         (pow10_test): New function.
45710         (drem_test): Likewise.
45711         (drem_test_tonearest): Likewise.
45712         (drem_test_towardzero): Likewise.
45713         (drem_test_downward): Likewise.
45714         (drem_test_upward): Likewise.
45715         (main): Call the new functions.
45717         * math/libm-test.inc (finite_test_data): Remove.
45718         (finite_test): Run tests from isfinite_test_data.
45719         (gamma_test_data): Remove.
45720         (gamma_test): Run tests from lgamma_test_data.
45721         * sysdeps/i386/fpu/libm-test-ulps: Update.
45722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45724 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45726         * manual/platform.texi: Add PowerPC PPR function set documentation.
45727         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
45728         implementation.
45730 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
45732         * math/libm-test.inc (MAX_EXP): Define.
45733         (ULPDIFF): Define.
45734         (ulp): New function.
45735         (check_float_internal): Use ULPDIFF.
45736         (cpow_test): Disable failing test.
45737         (check_ulp): Test ulp() implemetnation.
45738         (main): Call check_ulp before starting tests.
45740 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
45742         * math/gen-libm-test.pl (generate_testfile): Do not handle
45743         START_DATA and END_DATA.
45744         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
45745         END_DATA.
45746         (acos_tonearest_test_data): Likewise.
45747         (acos_towardzero_test_data): Likewise.
45748         (acos_downward_test_data): Likewise.
45749         (acos_upward_test_data): Likewise.
45750         (acosh_test_data): Likewise.
45751         (asin_test_data): Likewise.
45752         (asin_tonearest_test_data): Likewise.
45753         (asin_towardzero_test_data): Likewise.
45754         (asin_downward_test_data): Likewise.
45755         (asin_upward_test_data): Likewise.
45756         (asinh_test_data): Likewise.
45757         (atan_test_data): Likewise.
45758         (atanh_test_data): Likewise.
45759         (atan2_test_data): Likewise.
45760         (cabs_test_data): Likewise.
45761         (cacos_test_data): Likewise.
45762         (cacosh_test_data): Likewise.
45763         (carg_test_data): Likewise.
45764         (casin_test_data): Likewise.
45765         (casinh_test_data): Likewise.
45766         (catan_test_data): Likewise.
45767         (catanh_test_data): Likewise.
45768         (cbrt_test_data): Likewise.
45769         (ccos_test_data): Likewise.
45770         (ccosh_test_data): Likewise.
45771         (ceil_test_data): Likewise.
45772         (cexp_test_data): Likewise.
45773         (cimag_test_data): Likewise.
45774         (clog_test_data): Likewise.
45775         (clog10_test_data): Likewise.
45776         (conj_test_data): Likewise.
45777         (copysign_test_data): Likewise.
45778         (cos_test_data): Likewise.
45779         (cos_tonearest_test_data): Likewise.
45780         (cos_towardzero_test_data): Likewise.
45781         (cos_downward_test_data): Likewise.
45782         (cos_upward_test_data): Likewise.
45783         (cosh_test_data): Likewise.
45784         (cosh_tonearest_test_data): Likewise.
45785         (cosh_towardzero_test_data): Likewise.
45786         (cosh_downward_test_data): Likewise.
45787         (cosh_upward_test_data): Likewise.
45788         (cpow_test_data): Likewise.
45789         (cproj_test_data): Likewise.
45790         (creal_test_data): Likewise.
45791         (csin_test_data): Likewise.
45792         (csinh_test_data): Likewise.
45793         (csqrt_test_data): Likewise.
45794         (ctan_test_data): Likewise.
45795         (ctan_tonearest_test_data): Likewise.
45796         (ctan_towardzero_test_data): Likewise.
45797         (ctan_downward_test_data): Likewise.
45798         (ctan_upward_test_data): Likewise.
45799         (ctanh_test_data): Likewise.
45800         (ctanh_tonearest_test_data): Likewise.
45801         (ctanh_towardzero_test_data): Likewise.
45802         (ctanh_downward_test_data): Likewise.
45803         (ctanh_upward_test_data): Likewise.
45804         (erf_test_data): Likewise.
45805         (erfc_test_data): Likewise.
45806         (exp_test_data): Likewise.
45807         (exp_tonearest_test_data): Likewise.
45808         (exp_towardzero_test_data): Likewise.
45809         (exp_downward_test_data): Likewise.
45810         (exp_upward_test_data): Likewise.
45811         (exp10_test_data): Likewise.
45812         (exp2_test_data): Likewise.
45813         (expm1_test_data): Likewise.
45814         (fabs_test_data): Likewise.
45815         (fdim_test_data): Likewise.
45816         (finite_test_data): Likewise.
45817         (floor_test_data): Likewise.
45818         (fma_test_data): Likewise.
45819         (fma_towardzero_test_data): Likewise.
45820         (fma_downward_test_data): Likewise.
45821         (fma_upward_test_data): Likewise.
45822         (fmax_test_data): Likewise.
45823         (fmin_test_data): Likewise.
45824         (fmod_test_data): Likewise.
45825         (fpclassify_test_data): Likewise.
45826         (frexp_test_data): Likewise.
45827         (gamma_test_data): Likewise.
45828         (hypot_test_data): Likewise.
45829         (ilogb_test_data): Likewise.
45830         (isfinite_test_data): Likewise.
45831         (isgreater_test_data): Likewise.
45832         (isgreaterequal_test_data): Likewise.
45833         (isinf_test_data): Likewise.
45834         (isless_test_data): Likewise.
45835         (islessequal_test_data): Likewise.
45836         (islessgreater_test_data): Likewise.
45837         (isnan_test_data): Likewise.
45838         (isnormal_test_data): Likewise.
45839         (issignaling_test_data): Likewise.
45840         (isunordered_test_data): Likewise.
45841         (j0_test_data): Likewise.
45842         (j1_test_data): Likewise.
45843         (jn_test_data): Likewise.
45844         (ldexp_test_data): Likewise.
45845         (lgamma_test_data): Likewise.
45846         (lrint_test_data): Likewise.
45847         (lrint_tonearest_test_data): Likewise.
45848         (lrint_towardzero_test_data): Likewise.
45849         (lrint_downward_test_data): Likewise.
45850         (lrint_upward_test_data): Likewise.
45851         (llrint_test_data): Likewise.
45852         (llrint_tonearest_test_data): Likewise.
45853         (llrint_towardzero_test_data): Likewise.
45854         (llrint_downward_test_data): Likewise.
45855         (llrint_upward_test_data): Likewise.
45856         (log_test_data): Likewise.
45857         (log10_test_data): Likewise.
45858         (log1p_test_data): Likewise.
45859         (log2_test_data): Likewise.
45860         (logb_test_data): Likewise.
45861         (logb_downward_test_data): Likewise.
45862         (lround_test_data): Likewise.
45863         (llround_test_data): Likewise.
45864         (modf_test_data): Likewise.
45865         (nearbyint_test_data): Likewise.
45866         (nextafter_test_data): Likewise.
45867         (nexttoward_test_data): Likewise.
45868         (pow_test_data): Likewise.
45869         (pow_tonearest_test_data): Likewise.
45870         (pow_towardzero_test_data): Likewise.
45871         (pow_downward_test_data): Likewise.
45872         (pow_upward_test_data): Likewise.
45873         (remainder_test_data): Likewise.
45874         (remainder_tonearest_test_data): Likewise.
45875         (remainder_towardzero_test_data): Likewise.
45876         (remainder_downward_test_data): Likewise.
45877         (remainder_upward_test_data): Likewise.
45878         (remquo_test_data): Likewise.
45879         (rint_test_data): Likewise.
45880         (rint_tonearest_test_data): Likewise.
45881         (rint_towardzero_test_data): Likewise.
45882         (rint_downward_test_data): Likewise.
45883         (rint_upward_test_data): Likewise.
45884         (round_test_data): Likewise.
45885         (scalb_test_data): Likewise.
45886         (scalbn_test_data): Likewise.
45887         (scalbln_test_data): Likewise.
45888         (signbit_test_data): Likewise.
45889         (sin_test_data): Likewise.
45890         (sin_tonearest_test_data): Likewise.
45891         (sin_towardzero_test_data): Likewise.
45892         (sin_downward_test_data): Likewise.
45893         (sin_upward_test_data): Likewise.
45894         (sincos_test_data): Likewise.
45895         (sinh_test_data): Likewise.
45896         (sinh_tonearest_test_data): Likewise.
45897         (sinh_towardzero_test_data): Likewise.
45898         (sinh_downward_test_data): Likewise.
45899         (sinh_upward_test_data): Likewise.
45900         (sqrt_test_data): Likewise.
45901         (tan_test_data): Likewise.
45902         (tan_tonearest_test_data): Likewise.
45903         (tan_towardzero_test_data): Likewise.
45904         (tan_downward_test_data): Likewise.
45905         (tan_upward_test_data): Likewise.
45906         (tanh_test_data): Likewise.
45907         (tgamma_test_data): Likewise.
45908         (trunc_test_data): Likewise.
45909         (y0_test_data): Likewise.
45910         (y1_test_data): Likewise.
45911         (yn_test_data): Likewise.
45912         (significand_test_data): Likewise.
45914         * math/gen-libm-test.pl (@functions): Remove variable.
45915         (generate_testfile): Don't handle START and END lines.
45916         * math/libm-test.inc (START): New macro.
45917         (END): Likewise.
45918         (END_COMPLEX): Likewise.
45919         (acos_test): Use END macro without arguments.
45920         (acos_test_tonearest): Likewise.
45921         (acos_test_towardzero): Likewise.
45922         (acos_test_downward): Likewise.
45923         (acos_test_upward): Likewise.
45924         (acosh_test): Likewise.
45925         (asin_test): Likewise.
45926         (asin_test_tonearest): Likewise.
45927         (asin_test_towardzero): Likewise.
45928         (asin_test_downward): Likewise.
45929         (asin_test_upward): Likewise.
45930         (asinh_test): Likewise.
45931         (atan_test): Likewise.
45932         (atanh_test): Likewise.
45933         (atan2_test): Likewise.
45934         (cabs_test): Likewise.
45935         (cacos_test): Use END_COMPLEX macro without arguments.
45936         (cacosh_test): Likewise.
45937         (carg_test): Use END macro without arguments.
45938         (casin_test): Use END_COMPLEX macro without arguments.
45939         (casinh_test): Likewise.
45940         (catan_test): Likewise.
45941         (catanh_test): Likewise.
45942         (cbrt_test): Use END macro without arguments.
45943         (ccos_test): Use END_COMPLEX macro without arguments.
45944         (ccosh_test): Likewise.
45945         (ceil_test): Use END macro without arguments.
45946         (cexp_test): Use END_COMPLEX macro without arguments.
45947         (cimag_test): Use END macro without arguments.
45948         (clog_test): Use END_COMPLEX macro without arguments.
45949         (clog10_test): Likewise.
45950         (conj_test): Likewise.
45951         (copysign_test): Use END macro without arguments.
45952         (cos_test): Likewise.
45953         (cos_test_tonearest): Likewise.
45954         (cos_test_towardzero): Likewise.
45955         (cos_test_downward): Likewise.
45956         (cos_test_upward): Likewise.
45957         (cosh_test): Likewise.
45958         (cosh_test_tonearest): Likewise.
45959         (cosh_test_towardzero): Likewise.
45960         (cosh_test_downward): Likewise.
45961         (cosh_test_upward): Likewise.
45962         (cpow_test): Use END_COMPLEX macro without arguments.
45963         (cproj_test): Likewise.
45964         (creal_test): Use END macro without arguments.
45965         (csin_test): Use END_COMPLEX macro without arguments.
45966         (csinh_test): Likewise.
45967         (csqrt_test): Likewise.
45968         (ctan_test): Likewise.
45969         (ctan_test_tonearest): Likewise.
45970         (ctan_test_towardzero): Likewise.
45971         (ctan_test_downward): Likewise.
45972         (ctan_test_upward): Likewise.
45973         (ctanh_test): Likewise.
45974         (ctanh_test_tonearest): Likewise.
45975         (ctanh_test_towardzero): Likewise.
45976         (ctanh_test_downward): Likewise.
45977         (ctanh_test_upward): Likewise.
45978         (erf_test): Use END macro without arguments.
45979         (erfc_test): Likewise.
45980         (exp_test): Likewise.
45981         (exp_test_tonearest): Likewise.
45982         (exp_test_towardzero): Likewise.
45983         (exp_test_downward): Likewise.
45984         (exp_test_upward): Likewise.
45985         (exp10_test): Likewise.
45986         (exp2_test): Likewise.
45987         (expm1_test): Likewise.
45988         (fabs_test): Likewise.
45989         (fdim_test): Likewise.
45990         (finite_test): Likewise.
45991         (floor_test): Likewise.
45992         (fma_test): Likewise.
45993         (fma_test_towardzero): Likewise.
45994         (fma_test_downward): Likewise.
45995         (fma_test_upward): Likewise.
45996         (fmax_test): Likewise.
45997         (fmin_test): Likewise.
45998         (fmod_test): Likewise.
45999         (fpclassify_test): Likewise.
46000         (frexp_test): Likewise.
46001         (gamma_test): Likewise.
46002         (hypot_test): Likewise.
46003         (ilogb_test): Likewise.
46004         (isfinite_test): Likewise.
46005         (isgreater_test): Likewise.
46006         (isgreaterequal_test): Likewise.
46007         (isinf_test): Likewise.
46008         (isless_test): Likewise.
46009         (islessequal_test): Likewise.
46010         (islessgreater_test): Likewise.
46011         (isnan_test): Likewise.
46012         (isnormal_test): Likewise.
46013         (issignaling_test): Likewise.
46014         (isunordered_test): Likewise.
46015         (j0_test): Likewise.
46016         (j1_test): Likewise.
46017         (jn_test): Likewise.
46018         (ldexp_test): Likewise.
46019         (lgamma_test): Likewise.
46020         (lrint_test): Likewise.
46021         (lrint_test_tonearest): Likewise.
46022         (lrint_test_towardzero): Likewise.
46023         (lrint_test_downward): Likewise.
46024         (lrint_test_upward): Likewise.
46025         (llrint_test): Likewise.
46026         (llrint_test_tonearest): Likewise.
46027         (llrint_test_towardzero): Likewise.
46028         (llrint_test_downward): Likewise.
46029         (llrint_test_upward): Likewise.
46030         (log_test): Likewise.
46031         (log10_test): Likewise.
46032         (log1p_test): Likewise.
46033         (log2_test): Likewise.
46034         (logb_test): Likewise.
46035         (logb_test_downward): Likewise.
46036         (lround_test): Likewise.
46037         (llround_test): Likewise.
46038         (modf_test): Likewise.
46039         (nearbyint_test): Likewise.
46040         (nextafter_test): Likewise.
46041         (nexttoward_test): Likewise.
46042         (pow_test): Likewise.
46043         (pow_test_tonearest): Likewise.
46044         (pow_test_towardzero): Likewise.
46045         (pow_test_downward): Likewise.
46046         (pow_test_upward): Likewise.
46047         (remainder_test): Likewise.
46048         (remainder_test_tonearest): Likewise.
46049         (remainder_test_towardzero): Likewise.
46050         (remainder_test_downward): Likewise.
46051         (remainder_test_upward): Likewise.
46052         (remquo_test): Likewise.
46053         (rint_test): Likewise.
46054         (rint_test_tonearest): Likewise.
46055         (rint_test_towardzero): Likewise.
46056         (rint_test_downward): Likewise.
46057         (rint_test_upward): Likewise.
46058         (round_test): Likewise.
46059         (scalb_test): Likewise.
46060         (scalbn_test): Likewise.
46061         (scalbln_test): Likewise.
46062         (signbit_test): Likewise.
46063         (sin_test): Likewise.
46064         (sin_test_tonearest): Likewise.
46065         (sin_test_towardzero): Likewise.
46066         (sin_test_downward): Likewise.
46067         (sin_test_upward): Likewise.
46068         (sincos_test): Likewise.
46069         (sinh_test): Likewise.
46070         (sinh_test_tonearest): Likewise.
46071         (sinh_test_towardzero): Likewise.
46072         (sinh_test_downward): Likewise.
46073         (sinh_test_upward): Likewise.
46074         (sqrt_test): Likewise.
46075         (tan_test): Likewise.
46076         (tan_test_tonearest): Likewise.
46077         (tan_test_towardzero): Likewise.
46078         (tan_test_downward): Likewise.
46079         (tan_test_upward): Likewise.
46080         (tanh_test): Likewise.
46081         (tgamma_test): Likewise.
46082         (trunc_test): Likewise.
46083         (y0_test): Likewise.
46084         (y1_test): Likewise.
46085         (yn_test): Likewise.
46086         (significand_test): Likewise.
46088 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
46090         [BZ #15381]
46091         * libio/genops.c (_IO_no_init): Initialize wide struct info.
46093 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
46095         [BZ #14894]
46096         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
46097         __ppc_mdoio and __ppc_mdoom.
46098         * manual/platform.texi: Document new functions __ppc_yield,
46099         __ppc_mdoio and __ppc_mdoom.
46101 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
46103         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
46104         (main): Mention "tls" pseudo-hwcap is legacy.
46105         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
46107 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
46109         * math/gen-libm-test.pl (parse_args): Output only string of
46110         arguments as text for test name, not full call or descriptions of
46111         tests for extra outputs.
46112         (generate_testfile): Do not pass function name to parse_args.
46113         Generate this_func variable from START.
46114         * math/libm-test.inc (struct test_f_f_data): Rename test_name
46115         field to arg_str.
46116         (struct test_ff_f_data): Likewise.
46117         (test_ff_f_data_nexttoward): Likewise.
46118         (struct test_fi_f_data): Likewise.
46119         (struct test_fl_f_data): Likewise.
46120         (struct test_if_f_data): Likewise.
46121         (struct test_fff_f_data): Likewise.
46122         (struct test_c_f_data): Likewise.
46123         (struct test_f_f1_data): Likewise.  Remove field extra_name.
46124         (struct test_fF_f1_data): Likewise.
46125         (struct test_ffI_f1_data): Likewise.
46126         (struct test_c_c_data): Rename test_name field to arg_str.
46127         (struct test_cc_c_data): Likewise.
46128         (struct test_f_i_data): Likewise.
46129         (struct test_ff_i_data): Likewise.
46130         (struct test_f_l_data): Likewise.
46131         (struct test_f_L_data): Likewise.
46132         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
46133         and extra2_name.
46134         (COMMON_TEST_SETUP): New macro.
46135         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
46136         (COMMON_TEST_CLEANUP): Likewise.
46137         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
46138         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
46139         macros.
46140         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
46141         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
46142         macros.
46143         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
46144         (RUN_TEST_fff_f): Take argument string.  Call new setup and
46145         cleanup macros.
46146         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
46147         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
46148         macros.
46149         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
46150         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
46151         macros.
46152         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
46153         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
46154         cleanup macros.
46155         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
46156         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
46157         cleanup macros.
46158         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
46159         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
46160         cleanup macros.
46161         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
46162         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
46163         macros.
46164         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
46165         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
46166         macros.
46167         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
46168         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
46169         macros.
46170         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
46171         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
46172         cleanup macros.
46173         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
46174         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
46175         cleanup macros.
46176         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
46177         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
46178         macros.
46179         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
46180         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
46181         cleanup macros.
46182         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
46183         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
46184         macros.
46185         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
46186         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
46187         macros.
46188         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
46189         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
46190         cleanup macros.
46191         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
46193 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
46195         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
46196         to _sifields.sigfault.
46197         (si_addr_lsb): Define new macro.
46198         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
46199         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46200         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
46202 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
46204         [BZ #15441]
46205         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
46206         returns -1.
46207         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
46208         null return -1.
46209         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
46210         loading the domain.
46212 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
46214         * math/gen-libm-test.pl (parse_args): Do not include expected
46215         result in test name.
46216         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
46217         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46218         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46219         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46220         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46223 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46225         * benchtests/Makefile: Sort function entries.
46227         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
46228         tanh, asinh, acosh, atanh.
46229         * benchtests/acos-inputs: New file.
46230         * benchtests/acosh-inputs: New file.
46231         * benchtests/asin-inputs: New file.
46232         * benchtests/asinh-inputs: New file.
46233         * benchtests/atanh-inputs: New file.
46234         * benchtests/cosh-inputs: New file.
46235         * benchtests/log-inputs: New file.
46236         * benchtests/sinh-inputs: New file.
46237         * benchtests/tanh-inputs: New file.
46239 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
46241         [BZ #15339]
46242         * posix/tst-getaddrinfo4.c: New test.
46243         * posix/Makefile (tests): Add it.
46245 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46247         [BZ #15339]
46248         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
46249         when no services were used.
46250         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
46251         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
46253 2013-05-21  Andreas Schwab  <schwab@suse.de>
46255         [BZ #15014]
46256         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
46257         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
46258         successful.
46259         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
46260         redundant variable declarations and reallocation of buffer when
46261         parsing as IPv6 address.  Always set NSS status when called from
46262         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
46263         buffer too small.  Correct computation of needed size.
46264         * nss/Makefile (tests): Add test-digits-dots.
46265         * nss/test-digits-dots.c: New test.
46267 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46269         * benchtests/Makefile: Remove instructions for adding
46270         benchmark tests.
46271         * benchtests/README: New file to explain how to execute and
46272         enhance the benchmark tests.
46274 2013-05-21  Andreas Schwab  <schwab@suse.de>
46276         [BZ #15493]
46277         * setjmp/Makefile (tests): Add tst-sigsetjmp.
46278         * setjmp/tst-sigsetjmp.c: New test.
46280 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
46282         * sysdeps/x86_64/memset.S (memset): New implementation.
46283         (__bzero): Likewise.
46284         (__memset_tail): New function.
46286 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
46288         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
46289         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
46290         __memcpy_sse2_unaligned ifunc selection.
46291         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46292         Add memcpy-sse2-unaligned.S.
46293         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46294         Add: __memcpy_sse2_unaligned.
46296 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
46298         [BZ #15490]
46299         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
46300         math_force_eval before restoring floating-point envrionment.
46301         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
46302         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
46303         Likewise.
46304         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
46305         <math_private.h>.
46306         (__nearbyintl): Use math_force_eval before restoring
46307         floating-point environment.
46308         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
46310         * math/gen-libm-test.pl (special_functions): Remove.
46311         (parse_args): Don't handle TEST_extra.  Handle functions with no
46312         return value.
46313         * math/libm-test.inc (struct test_sincos_data): Replace with
46314         struct test_fFF_11_data.
46315         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
46316         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
46317         (sincos_test_data): Change element type to struct
46318         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
46319         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
46320         RUN_TEST_LOOP_sincos.
46321         * math/README.libm-test: Don't mention special handling of
46322         individual functions.
46323         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
46324         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46325         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46326         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46327         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46330         * math/gen-libm-test.pl (get_variable): Remove function.
46331         (parse_args): Don't show pointer parameters to call in test
46332         names.  Use "extra output N" in test names for extra outputs
46333         rather than naming variables.
46335 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
46337         [BZ #15488]
46338         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
46339         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
46340         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
46341         double tests.
46342         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
46343         disable.
46344         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
46345         check_long_double.
46347         * math/gen-libm-test.pl (@tests): Remove variable.
46348         ($count): Likewise.
46349         (new_test): Remove function.
46350         (show_exceptions): New function.
46351         (special_functions): Use show_exceptions instead of new_test.
46352         (parse_args): Likewise.
46353         (generate_testfile): Pass only function name in generated call to
46354         print_max_error or print_complex_max_error.
46355         (get_ulps): Do not handle complex tests specially.
46356         (output_test): Rename to ...
46357         (get_all_ulps_for_test): ... this.  Return a string rather than
46358         printing to a file.  Require ulps to be present.
46359         (output_ulps): Generate arrays rather than #defines.
46360         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
46361         (struct ulp_data): New type.
46362         (BUILD_COMPLEX_ULP): Remove macro.
46363         (compare_ulp_data): New function.
46364         (find_ulps): Likewise.
46365         (find_test_ulps): Likewise.
46366         (find_function_ulps): Likewise.
46367         (find_complex_function_ulps): Likewise.
46368         (print_max_error): Determine allowed ulps using
46369         find_function_ulps.
46370         (print_complex_max_error): Determine allowed ulps using
46371         find_complex_function_ulps.
46372         (check_float_internal): Determine max ulps using find_test_ulps.
46373         (check_float): Do not take max_ulp parameter.  Update call to
46374         check_float_internal.
46375         (check_complex): Likewise.
46376         (check_int): Do not take max_ulp parameter.
46377         (check_long): Likewise.
46378         (check_bool): Likewise.
46379         (check_longlong): Likewise.
46380         (struct test_f_f_data): Remove max_ulp field.
46381         (struct test_ff_f_data): Likewise.
46382         (struct test_ff_f_data_nexttoward): Likewise.
46383         (struct test_fi_f_data): Likewise.
46384         (struct test_fl_f_data): Likewise.
46385         (struct test_if_f_data): Likewise.
46386         (struct test_fff_f_data): Likewise.
46387         (struct test_c_f_data): Likewise.
46388         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
46389         (struct test_fF_f1_data): Likewise.
46390         (struct test_ffI_f1_data): Likewise.
46391         (struct test_c_c_data): Remove max_ulp field.
46392         (struct test_cc_c_data): Likewise.
46393         (struct test_f_i_data): Likewise.
46394         (struct test_ff_i_data): Likewise.
46395         (struct test_f_l_data): Likewise.
46396         (struct test_f_L_data): Likewise.
46397         (struct test_sincos_data): Likewise.
46398         (RUN_TEST_f_f): Do not handle ulps.
46399         (RUN_TEST_LOOP_f_f): Likewise.
46400         (RUN_TEST_2_f): Likewise.
46401         (RUN_TEST_LOOP_2_f): Likewise.
46402         (RUN_TEST_fff_f): Likewise.
46403         (RUN_TEST_LOOP_fff_f): Likewise.
46404         (RUN_TEST_c_f): Likewise.
46405         (RUN_TEST_LOOP_c_f): Likewise.
46406         (RUN_TEST_f_f1): Likewise.
46407         (RUN_TEST_LOOP_f_f1): Likewise.
46408         (RUN_TEST_fF_f1): Likewise.
46409         (RUN_TEST_LOOP_fF_f1): Likewise.
46410         (RUN_TEST_fI_f1): Likewise.
46411         (RUN_TEST_LOOP_fI_f1): Likewise.
46412         (RUN_TEST_ffI_f1): Likewise.
46413         (RUN_TEST_LOOP_ffI_f1): Likewise.
46414         (RUN_TEST_c_c): Likewise.
46415         (RUN_TEST_LOOP_c_c): Likewise.
46416         (RUN_TEST_cc_c): Likewise.
46417         (RUN_TEST_LOOP_cc_c): Likewise.
46418         (RUN_TEST_f_i): Likewise.
46419         (RUN_TEST_LOOP_f_i): Likewise.
46420         (RUN_TEST_f_i_tg): Likewise.
46421         (RUN_TEST_LOOP_f_i_tg): Likewise.
46422         (RUN_TEST_ff_i_tg): Likewise.
46423         (RUN_TEST_LOOP_ff_i_tg): Likewise.
46424         (RUN_TEST_f_b): Likewise.
46425         (RUN_TEST_LOOP_f_b): Likewise.
46426         (RUN_TEST_f_b_tg): Likewise.
46427         (RUN_TEST_LOOP_f_b_tg): Likewise.
46428         (RUN_TEST_f_l): Likewise.
46429         (RUN_TEST_LOOP_f_l): Likewise.
46430         (RUN_TEST_f_L): Likewise.
46431         (RUN_TEST_LOOP_f_L): Likewise.
46432         (RUN_TEST_sincos): Likewise.
46433         (RUN_TEST_LOOP_sincos): Likewise.
46435 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
46437         [BZ #15480]
46438         [BZ #15485]
46439         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
46440         main case of finite arguments, set rounding mode to FE_TONEAREST
46441         and discard exceptions.
46442         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
46443         exceptions.
46444         (remainder_tonearest_test_data): New variable.
46445         (remainder_test_tonearest): New function.
46446         (remainder_towardzero_test_data): New variable.
46447         (remainder_test_towardzero): New function.
46448         (remainder_downward_test_data): New variable.
46449         (remainder_test_downward): New function.
46450         (remainder_upward_test_data): New variable.
46451         (remainder_test_upward): New function.
46452         (main): Call the new test functions.
46454         * math/libm-test.inc (struct test_f_f1_data): Remove field
46455         extra_init.
46456         (struct test_fF_f1_data): Likewise.
46457         (struct test_ffI_f1_data): Likewise.
46458         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
46459         based on value of EXTRA_EXPECTED.
46460         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
46461         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
46462         EXTRA_VAR based on value of EXTRA_EXPECTED.
46463         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
46464         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
46465         EXTRA_VAR based on value of EXTRA_EXPECTED.
46466         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
46467         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
46468         EXTRA_VAR based on value of EXTRA_EXPECTED.
46469         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
46470         * math/gen-libm-test.pl (parse_args): Don't output initializers
46471         for extra output values.
46473         * math/libm-test.inc (check_int): Expect result to be exactly
46474         equal to expected value and do not handle ulps.
46475         (check_long): Likewise.
46476         (check_longlong): Likewise.
46478         * math/libm-test.inc (ceil_test_data): Test for "inexact"
46479         exceptions.
46480         (cimag_test_data): Likewise.
46481         (conj_test_data): Likewise.
46482         (copysign_test_data): Likewise.
46483         (cproj_test_data): Likewise.
46484         (creal_test_data): Likewise.
46485         (fabs_test_data): Likewise.
46486         (fdim_test_data): Likewise.
46487         (finite_test_data): Likewise.
46488         (floor_test_data): Likewise.
46489         (fmax_test_data): Likewise.
46490         (fmin_test_data): Likewise.
46491         (fmod_test_data): Likewise.
46492         (fpclassify_test_data): Likewise.
46493         (frexp_test_data): Likewise.
46494         (ilogb_test_data): Likewise.
46495         (isfinite_test_data): Likewise.
46496         (isgreater_test_data): Likewise.
46497         (isgreaterequal_test_data): Likewise.
46498         (isinf_test_data): Likewise.
46499         (isless_test_data): Likewise.
46500         (islessequal_test_data): Likewise.
46501         (islessgreater_test_data): Likewise.
46502         (isnan_test_data): Likewise.
46503         (isnormal_test_data): Likewise.
46504         (issignaling_test_data): Likewise.
46505         (isunordered_test_data): Likewise.
46506         (ldexp_test_data): Likewise.
46507         (lrint_test_data): Likewise.
46508         (lrint_test_data) [TEST_FLOAT]: Disable one test.
46509         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
46510         (lrint_tonearest_test_data): Test for "inexact" exceptions.
46511         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
46512         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
46513         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
46514         test input.
46515         (lrint_towardzero_test_data): Test for "inexact" exceptions.
46516         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
46517         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
46518         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
46519         that test input.
46520         (lrint_downward_test_data): Test for "inexact" exceptions.
46521         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
46522         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
46523         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
46524         test input.
46525         (lrint_upward_test_data): Test for "inexact" exceptions.
46526         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
46527         test input.
46528         (llrint_test_data): Test for "inexact" exceptions.
46529         (llrint_test_data) [TEST_FLOAT]: Disable one test.
46530         (llrint_tonearest_test_data): Test for "inexact" exceptions.
46531         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
46532         (llrint_towardzero_test_data): Test for "inexact" exceptions.
46533         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
46534         (llrint_downward_test_data): Test for "inexact" exceptions.
46535         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
46536         (llrint_upward_test_data): Test for "inexact" exceptions.
46537         (logb_test_data): Likewise.
46538         (logb_downward_test_data): Likewise.
46539         (nextafter_test_data): Likewise.
46540         (nexttoward_test_data): Likewise.
46541         (remainder_test_data): Likewise.
46542         (remquo_test_data): Likewise.
46543         (scalbn_test_data): Likewise.
46544         (scalbln_test_data): Likewise.
46545         (signbit_test_data): Likewise.
46546         (sqrt_test_data): Likewise.
46547         (significand_test_data): Likewise.
46549 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46551         [BZ #15424]
46552         * benchtests/bench-modf.c (struct args): Mark arg0 as
46553         volatile.
46554         * scripts/bench.pl: Mark members of struct args as volatile.
46556 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46558         [BZ # 15497]
46559         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
46560         negative infinity on POWER6 or lower.
46561         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
46563 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
46565         [BZ #15442]
46566         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
46567         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
46568         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
46569         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
46570         (_FP_SETQNAN): New macro.
46571         (_FP_SETQNAN_SEMIRAW): Likewise.
46572         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
46573         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
46574         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
46575         (FP_EXTEND): Use _FP_FRAC_SNANP.
46576         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
46577         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
46578         into account.
46579         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46580         New macro.
46581         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46582         Likewise.
46584 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46586         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
46587         with DIVIDE_BY_ZERO_EXCEPTION.
46588         (gamma_test_data): Likewise.
46589         (lgamma_test_data): Likewise.
46590         (log_test_data): Likewise.
46591         (log10_test_data): Likewise.
46592         (log2_test_data): Likewise.
46593         (tgamma_test_data): Likewise.
46595         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
46596         (acos_test_tonearest): Likewise.
46597         (acos_test_towardzero): Likewise.
46598         (acos_test_downward): Likewise.
46599         (acos_test_upward): Likewise.
46600         (acosh_test): Likewise.
46601         (asin_test): Likewise.
46602         (asin_test_tonearest): Likewise.
46603         (asin_test_towardzero): Likewise.
46604         (asin_test_downward): Likewise.
46605         (asin_test_upward): Likewise.
46606         (asinh_test): Likewise.
46607         (atan_test): Likewise.
46608         (atanh_test): Likewise.
46609         (atan2_test): Likewise.
46610         (cabs_test): Likewise.
46611         (cacos_test): Likewise.
46612         (cacosh_test): Likewise.
46613         (casin_test): Likewise.
46614         (casinh_test): Likewise.
46615         (catan_test): Likewise.
46616         (catanh_test): Likewise.
46617         (cbrt_test): Likewise.
46618         (ccos_test): Likewise.
46619         (ccosh_test): Likewise.
46620         (cexp_test): Likewise.
46621         (clog_test): Likewise.
46622         (clog10_test): Likewise.
46623         (cos_test): Likewise.
46624         (cos_test_tonearest): Likewise.
46625         (cos_test_towardzero): Likewise.
46626         (cos_test_downward): Likewise.
46627         (cos_test_upward): Likewise.
46628         (cosh_test): Likewise.
46629         (cosh_test_tonearest): Likewise.
46630         (cosh_test_towardzero): Likewise.
46631         (cosh_test_downward): Likewise.
46632         (cosh_test_upward): Likewise.
46633         (cpow_test): Likewise.
46634         (csin_test): Likewise.
46635         (csinh_test): Likewise.
46636         (csqrt_test): Likewise.
46637         (ctan_test): Likewise.
46638         (ctan_test_tonearest): Likewise.
46639         (ctan_test_towardzero): Likewise.
46640         (ctan_test_downward): Likewise.
46641         (ctan_test_upward): Likewise.
46642         (ctanh_test): Likewise.
46643         (ctanh_test_tonearest): Likewise.
46644         (ctanh_test_towardzero): Likewise.
46645         (ctanh_test_downward): Likewise.
46646         (ctanh_test_upward): Likewise.
46647         (erf_test): Likewise.
46648         (erfc_test): Likewise.
46649         (exp_test): Likewise.
46650         (exp_test_tonearest): Likewise.
46651         (exp_test_towardzero): Likewise.
46652         (exp_test_downward): Likewise.
46653         (exp_test_upward): Likewise.
46654         (exp10_test): Likewise.
46655         (exp2_test): Likewise.
46656         (expm1_test): Likewise.
46657         (fmod_test): Likewise.
46658         (gamma_test): Likewise.
46659         (hypot_test): Likewise.
46660         (j0_test): Likewise.
46661         (j1_test): Likewise.
46662         (jn_test): Likewise.
46663         (lgamma_test): Likewise.
46664         (log_test): Likewise.
46665         (log10_test): Likewise.
46666         (log1p_test): Likewise.
46667         (log2_test): Likewise.
46668         (logb_test_downward): Likewise.
46669         (pow_test): Likewise.
46670         (pow_test_tonearest): Likewise.
46671         (pow_test_towardzero): Likewise.
46672         (pow_test_downward): Likewise.
46673         (pow_test_upward): Likewise.
46674         (remainder_test): Likewise.
46675         (remquo_test): Likewise.
46676         (sin_test): Likewise.
46677         (sin_test_tonearest): Likewise.
46678         (sin_test_towardzero): Likewise.
46679         (sin_test_downward): Likewise.
46680         (sin_test_upward): Likewise.
46681         (sincos_test): Likewise.
46682         (sinh_test): Likewise.
46683         (sinh_test_tonearest): Likewise.
46684         (sinh_test_towardzero): Likewise.
46685         (sinh_test_downward): Likewise.
46686         (sinh_test_upward): Likewise.
46687         (sqrt_test): Likewise.
46688         (tan_test): Likewise.
46689         (tan_test_tonearest): Likewise.
46690         (tan_test_towardzero): Likewise.
46691         (tan_test_downward): Likewise.
46692         (tan_test_upward): Likewise.
46693         (tanh_test): Likewise.
46694         (tgamma_test): Likewise.
46695         (y0_test): Likewise.
46696         (y1_test): Likewise.
46697         (yn_test): Likewise.
46699         * math/gen-libm-test.pl (adjust_arg): Remove function.
46700         (special_function): Remove argument $in_func.  Only handle
46701         generating output for tables of tests, not inside functions.
46702         (parse_args): Likewise.
46703         (generate_testfile): Remove variable $in_func.  Update call to
46704         parse_args.
46705         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
46706         (MINUS_ZERO_INIT): Rename macro to minus_zero.
46707         (PLUS_INFTY_INIT): Rename macro to plus_infty.
46708         (MINUS_INFTY_INIT): Rename macro to minus_infty.
46709         (QNAN_VALUE_INIT): Rename macro to qnan_value.
46710         (MAX_VALUE_INIT): Rename macro to max_value.
46711         (MIN_VALUE_INIT): Rename macro to min_value.
46712         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
46713         (plus_zero): Remove variable.
46714         (minus_zero): Likewise.
46715         (plus_infty): Likewise.
46716         (minus_infty): Likewise.
46717         (qnan_value): Likewise.
46718         (max_value): Likewise.
46719         (min_value): Likewise.
46720         (min_subnorm_value): Likewise.
46722 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46724         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
46725         uint64_t or uint32_t usage.
46726         * crypt/sha256-block.c: Likewise.
46727         * crypt/sha256-crypt.c: Likewise.
46728         * crypt/sha256.c: Likewise.
46729         * crypt/sha512-block.c: Likewise.
46730         * crypt/sha512-crypt.c: Likewise.
46731         * crypt/sha512.c: Likewise.
46732         * debug/backtrace-tst.c: Likewise.
46733         * debug/pcprofiledump.c: Likewise.
46734         * elf/cache.c: Likewise.
46735         * elf/dl-cache.c: Likewise.
46736         * elf/dl-misc.c: Likewise.
46737         * elf/dl-profile.c: Likewise.
46738         * elf/dl-support.c: Likewise.
46739         * elf/ldconfig.c: Likewise.
46740         * elf/sprof.c: Likewise.
46741         * iconv/dummy-repertoire.c: Likewise.
46742         * iconv/iconv_charmap.c: Likewise.
46743         * iconv/skeleton.c: Likewise.
46744         * iconvdata/8bit-generic.c: Likewise.
46745         * iconvdata/cp737.h: Likewise.
46746         * iconvdata/cp775.h: Likewise.
46747         * iconvdata/ibm1008.h: Likewise.
46748         * iconvdata/ibm1025.h: Likewise.
46749         * iconvdata/ibm1046.h: Likewise.
46750         * iconvdata/ibm1097.h: Likewise.
46751         * iconvdata/ibm1112.h: Likewise.
46752         * iconvdata/ibm1122.h: Likewise.
46753         * iconvdata/ibm1123.h: Likewise.
46754         * iconvdata/ibm1124.h: Likewise.
46755         * iconvdata/ibm1129.h: Likewise.
46756         * iconvdata/ibm1130.h: Likewise.
46757         * iconvdata/ibm1132.h: Likewise.
46758         * iconvdata/ibm1133.h: Likewise.
46759         * iconvdata/ibm1137.h: Likewise.
46760         * iconvdata/ibm1140.h: Likewise.
46761         * iconvdata/ibm1141.h: Likewise.
46762         * iconvdata/ibm1142.h: Likewise.
46763         * iconvdata/ibm1143.h: Likewise.
46764         * iconvdata/ibm1144.h: Likewise.
46765         * iconvdata/ibm1145.h: Likewise.
46766         * iconvdata/ibm1146.h: Likewise.
46767         * iconvdata/ibm1147.h: Likewise.
46768         * iconvdata/ibm1148.h: Likewise.
46769         * iconvdata/ibm1149.h: Likewise.
46770         * iconvdata/ibm1153.h: Likewise.
46771         * iconvdata/ibm1154.h: Likewise.
46772         * iconvdata/ibm1155.h: Likewise.
46773         * iconvdata/ibm1156.h: Likewise.
46774         * iconvdata/ibm1157.h: Likewise.
46775         * iconvdata/ibm1158.h: Likewise.
46776         * iconvdata/ibm1160.h: Likewise.
46777         * iconvdata/ibm1161.h: Likewise.
46778         * iconvdata/ibm1162.h: Likewise.
46779         * iconvdata/ibm1163.h: Likewise.
46780         * iconvdata/ibm1164.h: Likewise.
46781         * iconvdata/ibm1166.h: Likewise.
46782         * iconvdata/ibm1167.h: Likewise.
46783         * iconvdata/ibm12712.h: Likewise.
46784         * iconvdata/ibm1390.h: Likewise.
46785         * iconvdata/ibm1399.h: Likewise.
46786         * iconvdata/ibm16804.h: Likewise.
46787         * iconvdata/ibm4517.h: Likewise.
46788         * iconvdata/ibm4899.h: Likewise.
46789         * iconvdata/ibm4909.h: Likewise.
46790         * iconvdata/ibm4971.h: Likewise.
46791         * iconvdata/ibm5347.h: Likewise.
46792         * iconvdata/ibm803.h: Likewise.
46793         * iconvdata/ibm856.h: Likewise.
46794         * iconvdata/ibm901.h: Likewise.
46795         * iconvdata/ibm902.h: Likewise.
46796         * iconvdata/ibm9030.h: Likewise.
46797         * iconvdata/ibm9066.h: Likewise.
46798         * iconvdata/ibm921.h: Likewise.
46799         * iconvdata/ibm922.h: Likewise.
46800         * iconvdata/ibm9448.h: Likewise.
46801         * iconvdata/isiri-3342.h: Likewise.
46802         * iconvdata/jis0201.h: Likewise.
46803         * include/link.h: Likewise.
46804         * include/netdb.h: Likewise.
46805         * inet/check_native.c: Likewise.
46806         * inet/check_pf.c: Likewise.
46807         * inet/getipv4sourcefilter.c: Likewise.
46808         * inet/getnameinfo.c: Likewise.
46809         * inet/getsourcefilter.c: Likewise.
46810         * inet/htonl.c: Likewise.
46811         * inet/setipv4sourcefilter.c: Likewise.
46812         * inet/setsourcefilter.c: Likewise.
46813         * inet/test-inet6_opt.c: Likewise.
46814         * inet/tst-network.c: Likewise.
46815         * locale/C-collate.c: Likewise.
46816         * locale/C-ctype.c: Likewise.
46817         * locale/C-time.c: Likewise.
46818         * locale/C-translit.h: Likewise.
46819         * locale/loadarchive.c: Likewise.
46820         * locale/programs/3level.h: Likewise.
46821         * locale/programs/charmap.c: Likewise.
46822         * locale/programs/charmap.h: Likewise.
46823         * locale/programs/ld-address.c: Likewise.
46824         * locale/programs/ld-collate.c: Likewise.
46825         * locale/programs/ld-ctype.c: Likewise.
46826         * locale/programs/ld-identification.c: Likewise.
46827         * locale/programs/ld-measurement.c: Likewise.
46828         * locale/programs/ld-messages.c: Likewise.
46829         * locale/programs/ld-monetary.c: Likewise.
46830         * locale/programs/ld-name.c: Likewise.
46831         * locale/programs/ld-numeric.c: Likewise.
46832         * locale/programs/ld-paper.c: Likewise.
46833         * locale/programs/ld-telephone.c: Likewise.
46834         * locale/programs/ld-time.c: Likewise.
46835         * locale/programs/linereader.c: Likewise.
46836         * locale/programs/locale.c: Likewise.
46837         * locale/programs/locarchive.c: Likewise.
46838         * locale/programs/locfile.h: Likewise.
46839         * locale/programs/repertoire.c: Likewise.
46840         * locale/programs/simple-hash.c: Likewise.
46841         * locale/programs/simple-hash.h: Likewise.
46842         * malloc/memusage.c: Likewise.
46843         * malloc/memusagestat.c: Likewise.
46844         * nis/nis_defaults.c: Likewise.
46845         * nis/nis_hash.c: Likewise.
46846         * nis/nis_print.c: Likewise.
46847         * nis/nis_xdr.c: Likewise.
46848         * nscd/connections.c: Likewise.
46849         * nscd/hstcache.c: Likewise.
46850         * nscd/nscd_gethst_r.c: Likewise.
46851         * nscd/nscd_getserv_r.c: Likewise.
46852         * nscd/nscd_helper.c: Likewise.
46853         * nscd/servicescache.c: Likewise.
46854         * nss/makedb.c: Likewise.
46855         * nss/nss_db/db-XXX.c: Likewise.
46856         * nss/nss_db/db-initgroups.c: Likewise.
46857         * nss/nss_db/db-netgrp.c: Likewise.
46858         * nss/nss_files/files-network.c: Likewise.
46859         * nss/nss_files/files-parse.c: Likewise.
46860         * posix/bug-regex5.c: Likewise.
46861         * posix/fnmatch_loop.c: Likewise.
46862         * posix/regcomp.c: Likewise.
46863         * posix/regexec.c: Likewise.
46864         * posix/tst-rfc3484-2.c: Likewise.
46865         * posix/tst-rfc3484-3.c: Likewise.
46866         * posix/tst-rfc3484.c: Likewise.
46867         * resolv/nss_dns/dns-canon.c: Likewise.
46868         * resolv/nss_dns/dns-network.c: Likewise.
46869         * resolv/res_init.c: Likewise.
46870         * resolv/res_mkquery.c: Likewise.
46871         * resolv/tst-aton.c: Likewise.
46872         * stdlib/cxa_atexit.c: Likewise.
46873         * stdlib/cxa_finalize.c: Likewise.
46874         * stdlib/gen-fpioconst.c: Likewise.
46875         * stdlib/strtol_l.c: Likewise.
46876         * string/tst-endian.c: Likewise.
46877         * sunrpc/auth_des.c: Likewise.
46878         * sunrpc/clnt_udp.c: Likewise.
46879         * sunrpc/rtime.c: Likewise.
46880         * sunrpc/svcauth_des.c: Likewise.
46881         * sunrpc/xdr.c: Likewise.
46882         * sunrpc/xdr_intXX_t.c: Likewise.
46883         * sunrpc/xdr_rec.c: Likewise.
46884         * sysdeps/generic/ldconfig.h: Likewise.
46885         * sysdeps/generic/ldsodefs.h: Likewise.
46886         * sysdeps/generic/memusage.h: Likewise.
46887         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46888         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
46889         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
46890         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46891         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46892         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46893         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46894         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46895         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46896         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46897         * sysdeps/posix/getaddrinfo.c: Likewise.
46898         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46899         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46900         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46901         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46902         * sysdeps/powerpc/test-gettimebase.c: Likewise.
46903         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
46904         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
46905         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
46906         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
46907         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
46908         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46909         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46910         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
46911         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
46912         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
46913         * sysdeps/x86_64/dl-tls.h: Likewise.
46914         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
46915         * time/alt_digit.c: Likewise.
46916         * time/era.c: Likewise.
46917         * wcsmbs/tst-c16c32-1.c: Likewise.
46919 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46921         * math/libm-test.inc (struct test_sincos_data): New type.
46922         (RUN_TEST_LOOP_sincos): New macro.
46923         (sincos_test_data): New variable.
46924         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
46926 2013-05-16  Richard Henderson  <rth@redhat.com>
46928         * math/atest-exp2.c (LIMB64): New macro.
46929         (CONSTSZ): New macro.
46930         (mp_exp1, mp_exp_m1, mp_log2): New variables.
46931         (hexdig): Move ...
46932         (print_mpn_fp): ... to function scope.
46933         (read_mpn_hex): Remove.
46934         (get_log2): Remove.
46935         (exp2_mpn): Use mp_log2.
46936         (main): Use mp_exp1.
46938 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46940         * math/libm-test.inc: Remove comment about not testing "inexact"
46941         exceptions.
46942         (INEXACT_EXCEPTION): New macro.
46943         (NO_INEXACT_EXCEPTION): Likewise.
46944         (INVALID_EXCEPTION_OK): Update value.
46945         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46946         (OVERFLOW_EXCEPTION_OK): Likewise.
46947         (UNDERFLOW_EXCEPTION_OK): Likewise.
46948         (IGNORE_ZERO_INF_SIGN): Likewise.
46949         (ERRNO_UNCHANGED): Likewise.
46950         (ERRNO_EDOM): Likewise.
46951         (ERRNO_ERANGE): Likewise.
46952         (test_exceptions): Handle testing "inexact" exceptions.
46953         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
46954         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
46955         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
46956         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
46957         INEXACT_EXCEPTION.
46958         (rint_towardzero_test_data): Likewise.
46959         (rint_downward_test_data): Likewise.
46960         (rint_upward_test_data): Likewise.
46962         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
46963         with OVERFLOW_EXCEPTION.
46964         (exp10_test_data): Likewise.
46965         (exp2_test_data): Likewise.
46966         (expm1_test_data): Likewise.
46967         (lgamma_test_data): Likewise.
46968         (pow_test_data): Likewise.
46969         (tgamma_test_data): Likewise.
46970         (yn_test_data): Remove duplicate test of overflow.
46972         * math/libm-test.inc (struct test_cc_c_data): New type.
46973         (RUN_TEST_LOOP_cc_c): New macro.
46974         (cpow_test_data): New variable.
46975         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
46977         * math/libm-test.inc (struct test_f_L_data): New type.
46978         (RUN_TEST_LOOP_f_L): New macro.
46979         (llrint_test_data): New variable.
46980         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
46981         (llrint_tonearest_test_data): New variable.
46982         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
46983         (llrint_towardzero_test_data): New variable.
46984         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
46985         (llrint_downward_test_data): New variable.
46986         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
46987         (llrint_upward_test_data): New variable.
46988         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
46989         (llround_test_data): New variable.
46990         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
46992 2013-05-13  Peter Collingbourne  <pcc@google.com>
46994         * math/atest-exp2.c (get_log2): Remove const attribute.
46996 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
46998         * math/libm-test.inc (struct test_f_l_data): New type.
46999         (RUN_TEST_LOOP_f_l): New macro.
47000         (lrint_test_data): New variable.
47001         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
47002         (lrint_tonearest_test_data): New variable.
47003         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
47004         (lrint_towardzero_test_data): New variable.
47005         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
47006         (lrint_downward_test_data): New variable.
47007         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
47008         (lrint_upward_test_data): New variable.
47009         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
47010         (lround_test_data): New variable.
47011         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
47013 2013-05-15  Peter Collingbourne  <pcc@google.com>
47015         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
47016         (EXTRACT_WORDS64) Use where appropriate.
47017         (INSERT_WORDS64) Likewise.
47019         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
47020         constraints with x constraints.
47021         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
47023         * malloc/obstack.c (_obstack_compat): Add initializer.
47025 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47027         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
47028         si_trapno and add si_addr_lsb to _sifields.sigfault.
47029         (si_trapno): Remove macro.
47030         (si_addr_lsb): Define new macro.
47031         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47033 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
47035         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
47036         instead of TEST_f_l.
47037         (llrint_test_tonearest): Likewise.
47038         (llrint_test_towardzero): Likewise.
47039         (llrint_test_downward): Likewise.
47040         (llrint_test_upward): Likewise.
47041         (llround_test): Likewise.
47043         * math/libm-test.inc (struct test_f_i_data): Add comment.
47044         (RUN_TEST_LOOP_f_b): New macro.
47045         (RUN_TEST_LOOP_f_b_tg): Likewise.
47046         (finite_test_data): New variable.
47047         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
47048         (isfinite_test_data): New variable.
47049         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47050         (isinf_test_data): New variable.
47051         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47052         (isnan_test_data): New variable.
47053         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47054         (isnormal_test_data): New variable.
47055         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47056         (issignaling_test_data): New variable.
47057         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47058         (signbit_test_data): New variable.
47059         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47061         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
47062         with INVALID_EXCEPTION.
47063         (acosh_test_data): Likewise.
47064         (asin_test_data): Likewise.
47065         (atanh_test_data): Likewise.
47066         (fmod_test_data): Likewise.
47067         (log_test_data): Likewise.
47068         (log10_test_data): Likewise.
47069         (log2_test_data): Likewise.
47070         (pow_test_data): Likewise.
47071         (sqrt_test_data): Likewise.
47072         (y0_test_data): Likewise.
47073         (y1_test_data): Likewise.
47074         (yn_test_data): Likewise.
47076         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
47077         function contents.
47079         * math/libm-test.inc (struct test_ff_i_data): New type.
47080         (RUN_TEST_LOOP_ff_i_tg): New macro.
47081         (isgreater_test_data): New variable.
47082         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47083         (isgreaterequal_test_data): New variable.
47084         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47085         (isless_test_data): New variable.
47086         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47087         (islessequal_test_data): New variable.
47088         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47089         (islessgreater_test_data): New variable.
47090         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47091         (isunordered_test_data): New variable.
47092         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47094 2013-05-14  David S. Miller  <davem@davemloft.net>
47096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47098 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
47100         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
47102         * math/libm-test.inc (struct test_fF_f1_data): Change type of
47103         extra_test to int.
47104         (struct test_f_i_data): Change type of max_ulp to int.
47106         * math/libm-test.inc (test_ffI_f1_data): New type.
47107         (RUN_TEST_LOOP_ffI_f1): New macro.
47108         (remquo_test_data): New variable.
47109         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
47111         * setjmp/tst-setjmp-fp.c: New file.
47112         * setjmp/Makefile (tests): Add tst-setjmp-fp.
47113         (link-libm): New variable.
47114         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
47116         * math/libm-test.inc (struct test_f_i_data): New type.
47117         (RUN_TEST_LOOP_f_i): New macro.
47118         (RUN_TEST_LOOP_f_i_tg): Likewise.
47119         (fpclassify_test_data): New variable.
47120         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
47121         (ilogb_test_data): New variable.
47122         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
47124         * math/libm-test.inc (scalbln_test): Correct function name in END
47125         call.
47127         * math/libm-test.inc (struct test_f_f1_data): Add comment.
47128         (RUN_TEST_LOOP_fI_f1): New macro.
47129         (frexp_test_data): New variable.
47130         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
47132         * math/libm-test.inc (struct test_fF_f1_data): New type.
47133         (RUN_TEST_LOOP_fF_f1): New macro.
47134         (modf_test_data): New variable.
47135         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
47137         * math/libm-test.inc (struct test_f_f1_data): New type.
47138         (RUN_TEST_LOOP_f_f1): New macro.
47139         (gamma_test_data): New variable.
47140         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
47141         (lgamma_test_data): New variable.
47142         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
47144 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
47146         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
47147         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
47148         (main): Comment "tls" pseudo-hwcap.
47150 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
47152         * math/libm-test.inc (struct test_fl_f_data): New type.
47153         (RUN_TEST_LOOP_fl_f): New variable.
47154         (scalbln_test_data): New variable.
47155         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
47157         * math/libm-test.inc (struct test_fi_f_data): New type.
47158         (RUN_TEST_LOOP_fi_f): New macro.
47159         (ldexp_test_data): New variable.
47160         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
47161         (scalbn_test_data): New variable.
47162         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
47164         * math/libm-test.inc (struct test_c_f_data): New type.
47165         (RUN_TEST_LOOP_c_f): New macro.
47166         (cabs_test_data): New variable.
47167         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
47168         (carg_test_data): New variable.
47169         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
47170         (cimag_test_data): New variable.
47171         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
47172         (creal_test_data): New variable.
47173         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
47175         * math/libm-test.inc (struct test_if_f_data): New type.
47176         (RUN_TEST_LOOP_if_f): New macro.
47177         (jn_test_data): New variable.
47178         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
47179         (yn_test_data): New variable.
47180         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
47182         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
47184 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47186         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
47187         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
47189 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47191         * benchtests/Makefile (CPPFLAGS-nonlib): Add
47192         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
47193         (bench-deps): Add bench-timing.h.
47194         * benchtests-bench-skeleton.c: Include bench-timing.h.
47195         (main): Use TIMING_* macros instead of clock_gettime.
47196         * benchtests/bench-timing.h: New file.
47198         [BZ #14582]
47199         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
47200         Renamed from _LIB_VERSION.
47201         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
47203 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
47205         * math/libm-test.inc (struct test_fff_f_data): New type.
47206         (RUN_TEST_LOOP_fff_f): New macro.
47207         (fma_test_data): New variable.
47208         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
47209         (fma_towardzero_test_data): New variable.
47210         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
47211         (fma_downward_test_data): New variable.
47212         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
47213         (fma_upward_test_data): New variable.
47214         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
47216         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
47217         (struct test_c_c_data): New type.
47218         (RUN_TEST_LOOP_c_c): New macro.
47219         (cacos_test_data): New variable.
47220         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
47221         (cacosh_test_data): New variable.
47222         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
47223         (casin_test_data): New variable.
47224         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
47225         (casinh_test_data): New variable.
47226         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
47227         (catan_test_data): New variable.
47228         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
47229         (catanh_test_data): New variable.
47230         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
47231         (ccos_test_data): New variable.
47232         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
47233         (ccosh_test_data): New variable.
47234         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
47235         (cexp_test_data): New variable.
47236         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
47237         (clog_test_data): New variable.
47238         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
47239         (clog10_test_data): New variable.
47240         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
47241         (conj_test_data): New variable.
47242         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
47243         (cproj_test_data): New variable.
47244         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
47245         (csin_test_data): New variable.
47246         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
47247         (csinh_test_data): New variable.
47248         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
47249         (csqrt_test_data): New variable.
47250         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
47251         (ctan_test_data): New variable.
47252         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
47253         (ctan_tonearest_test_data): New variable.
47254         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
47255         (ctan_towardzero_test_data): New variable.
47256         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
47257         (ctan_downward_test_data): New variable.
47258         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
47259         (ctan_upward_test_data): New variable.
47260         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
47261         (ctanh_test_data): New variable.
47262         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
47263         (ctanh_tonearest_test_data): New variable.
47264         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
47265         (ctanh_towardzero_test_data): New variable.
47266         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
47267         (ctanh_downward_test_data): New variable.
47268         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
47269         (ctanh_upward_test_data): New variable.
47270         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
47271         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
47272         of BUILD_COMPLEX.
47274         * math/libm-test.inc (struct test_ff_f_data): New type.
47275         (struct test_ff_f_data_nexttoward): Likewise.
47276         (RUN_TEST_LOOP_2_f): New macro.
47277         (RUN_TEST_LOOP_ff_f): Likewise.
47278         (atan2_test_data): New variable.
47279         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
47280         (copysign_test_data): New variable.
47281         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
47282         (fdim_test_data): New variable.
47283         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
47284         (fmax_test_data): New variable.
47285         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
47286         (fmin_test_data): New variable.
47287         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
47288         (fmod_test_data): New variable.
47289         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
47290         (hypot_test_data): New variable.
47291         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
47292         (nextafter_test_data): New variable.
47293         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
47294         (nexttoward_test_data): New variable.
47295         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
47296         (pow_test_data): New variable.
47297         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
47298         (pow_tonearest_test_data): New variable.
47299         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
47300         (pow_towardzero_test_data): New variable.
47301         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
47302         (pow_downward_test_data): New variable.
47303         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
47304         (pow_upward_test_data): New variable.
47305         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
47306         (remainder_test_data): New variable.
47307         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
47308         (scalb_test_data): New variable.
47309         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
47310         * sysdeps/i386/fpu/libm-test-ulps: Update.
47312 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
47314         * math/libm-test.inc (fma_test): Use max_value instead of local
47315         variable fltmax.
47316         (nextafter_test): Likewise.
47318         * math/libm-test.inc (acos_towardzero_test_data): New variable.
47319         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47320         (acos_downward_test_data): New variable.
47321         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47322         (acos_upward_test_data): New variable.
47323         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47324         (acosh_test_data): New variable.
47325         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
47326         (asin_test_data): New variable.
47327         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
47328         (asin_tonearest_test_data): New variable.
47329         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47330         (asin_towardzero_test_data): New variable.
47331         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47332         (asin_downward_test_data): New variable.
47333         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47334         (asin_upward_test_data): New variable.
47335         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47336         (asinh_test_data): New variable.
47337         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
47338         (atan_test_data): New variable.
47339         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
47340         (atanh_test_data): New variable.
47341         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
47342         (cbrt_test_data): New variable.
47343         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
47344         (ceil_test_data): New variable.
47345         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
47346         (cos_test_data): New variable.
47347         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
47348         (cos_tonearest_test_data): New variable.
47349         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47350         (cos_towardzero_test_data): New variable.
47351         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47352         (cos_downward_test_data): New variable.
47353         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47354         (cos_upward_test_data): New variable.
47355         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47356         (cosh_test_data): New variable.
47357         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
47358         (cosh_tonearest_test_data): New variable.
47359         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47360         (cosh_towardzero_test_data): New variable.
47361         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47362         (cosh_downward_test_data): New variable.
47363         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47364         (cosh_upward_test_data): New variable.
47365         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47366         (erf_test_data): New variable.
47367         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
47368         (erfc_test_data): New variable.
47369         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
47370         (exp_test_data): New variable.
47371         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
47372         (exp_tonearest_test_data): New variable.
47373         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47374         (exp_towardzero_test_data): New variable.
47375         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47376         (exp_downward_test_data): New variable.
47377         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47378         (exp_upward_test_data): New variable.
47379         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47380         (exp10_test_data): New variable.
47381         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
47382         (exp2_test_data): New variable.
47383         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
47384         (expm1_test_data): New variable.
47385         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
47386         (fabs_test_data): New variable.
47387         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
47388         (floor_test_data): New variable.
47389         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
47390         (j0_test_data): New variable.
47391         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
47392         (j1_test_data): New variable.
47393         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
47394         (log_test_data): New variable.
47395         (log_test): Run tests with RUN_TEST_LOOP_f_f.
47396         (log10_test_data): New variable.
47397         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
47398         (log1p_test_data): New variable.
47399         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
47400         (log2_test_data): New variable.
47401         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
47402         (logb_test_data): New variable.
47403         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
47404         (logb_downward_test_data): New variable.
47405         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47406         (nearbyint_test_data): New variable.
47407         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
47408         (rint_test_data): New variable.
47409         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
47410         (rint_tonearest_test_data): New variable.
47411         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47412         (rint_towardzero_test_data): New variable.
47413         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47414         (rint_downward_test_data): New variable.
47415         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47416         (rint_upward_test_data): New variable.
47417         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47418         (round_test_data): New variable.
47419         (round_test): Run tests with RUN_TEST_LOOP_f_f.
47420         (sin_test_data): New variable.
47421         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
47422         (sin_tonearest_test_data): New variable.
47423         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47424         (sin_towardzero_test_data): New variable.
47425         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47426         (sin_downward_test_data): New variable.
47427         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47428         (sin_upward_test_data): New variable.
47429         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47430         (sinh_test_data): New variable.
47431         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
47432         (sinh_tonearest_test_data): New variable.
47433         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47434         (sinh_towardzero_test_data): New variable.
47435         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47436         (sinh_downward_test_data): New variable.
47437         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47438         (sinh_upward_test_data): New variable.
47439         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47440         (sqrt_test_data): New variable.
47441         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
47442         (tan_test_data): New variable.
47443         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
47444         (tan_tonearest_test_data): New variable.
47445         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47446         (tan_towardzero_test_data): New variable.
47447         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47448         (tan_downward_test_data): New variable.
47449         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47450         (tan_upward_test_data): New variable.
47451         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47452         (tanh_test_data): New variable.
47453         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
47454         (tgamma_test_data): New variable.
47455         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
47456         (trunc_test_data): New variable.
47457         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
47458         (y0_test_data): New variable.
47459         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
47460         (y1_test_data): New variable.
47461         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
47462         (significand_test_data): New variable.
47463         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
47465 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
47467         [BZ #12387]
47468         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
47470 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47472         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
47474 2013-05-10  Andreas Jaeger  <aj@suse.de>
47476         [BZ #15448]
47477         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
47478         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
47480 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
47482         * math/gen-libm-test.pl (adjust_arg): New function.
47483         (special_functions): Handle generating output in both functions
47484         and arrays.
47485         (parse_args): Likewise.
47486         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
47487         $in_func argument to parse_args.
47488         * math/libm-test.inc (struct test_f_f_data): New type.
47489         (IF_ROUND_INIT_): New macro.
47490         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
47491         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
47492         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
47493         (IF_ROUND_INIT_FE_UPWARD): Likewise.
47494         (ROUND_RESTORE_): Likewise.
47495         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
47496         (ROUND_RESTORE_FE_TONEAREST): Likewise.
47497         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
47498         (ROUND_RESTORE_FE_UPWARD): Likewise.
47499         (RUN_TEST_LOOP_f_f): New macro.
47500         (acos_test_data): New variable.
47501         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
47502         (acos_tonearest_test_data): New variable.
47503         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47505 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47507         * benchtests/bench-skeleton.c (startup): Fix coding style.
47509 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
47511         [BZ #6809]
47512         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
47513         negative infinity argument.
47514         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
47515         negative infinity argument.
47516         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
47517         negative infinity argument.
47518         * math/libm-test.inc (tgamma_test): Expect errno to be set for
47519         domain errors.
47521 2013-05-10  Florian Weimer  <fweimer@redhat.com>
47523         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
47524         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
47525         * iconv/iconv_prog.c (main): Likewise.
47526         * locale/programs/charmap-dir.c (charmap_readdir)
47527         (fopen_uncompressed): Likewise.
47528         * locale/programs/locfile.c (siblings_uncached)
47529         (write_locale_data): Use lstat64 instead of lstat.
47530         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
47531         stat.
47533 2013-05-10  Andreas Jaeger  <aj@suse.de>
47535         [BZ #15395]
47536         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
47537         localization.
47538         Include <locale.h>.
47540 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
47542         * elf/dl-close.c (_dl_close_worker): Add comments.
47544 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
47546         [BZ #15359]
47547         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
47548         high part of pi/2.
47549         (__ieee754_rem_pio2l): Update comments.
47551         [BZ #15429]
47552         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
47553         high part of pi/2.
47554         (__ieee754_rem_pio2l): Update comments.
47556         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
47557         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
47559         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
47560         M_PI_4l.
47562         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
47563         (M_PI_34_LOG10El): Likewise.
47564         (M_PI2_LOG10El): Likewise.
47565         (M_PI4_LOG10El): Likewise.
47566         (M_PI_LOG10El): Likewise.
47568 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47570         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47572 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
47574         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
47575         (MINUS_ZERO_INIT): Likewise.
47576         (PLUS_INFTY_INIT): Likewise.
47577         (MINUS_INFTY_INIT): Likewise.
47578         (QNAN_VALUE_INIT): Likewise.
47579         (MAX_VALUE_INIT): Likewise.
47580         (MIN_VALUE_INIT): Likewise.
47581         (MIN_SUBNORM_VALUE_INIT): Likewise.
47582         (plus_zero): Initialize with PLUS_ZERO_INIT.
47583         (minus_zero): Initialize with MINUS_ZERO_INIT.
47584         (plus_infty): Initialize with PLUS_INFTY_INIT.
47585         (minus_infty): Initialize with MINUS_INFTY_INIT.
47586         (qnan_value): Initialize with QNAN_VALUE_INIT.
47587         (max_value): Initialize with MAX_VALUE_INIT.
47588         (min_value): Initialize with MIN_VALUE_INIT.
47589         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
47591         * math/libm-test.inc (RUN_TEST_if_f): New macro.
47592         (jn_test): Use TEST_if_f instead of TEST_ff_f.
47593         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
47594         (yn_test): Use TEST_if_f instead of TEST_ff_f.
47596         * math/libm-test.inc (RUN_TEST_f_f): New macro.
47597         (RUN_TEST_2_f): Likewise.
47598         (RUN_TEST_ff_f): Likewise.
47599         (RUN_TEST_fi_f): Likewise.
47600         (RUN_TEST_fl_f): Likewise.
47601         (RUN_TEST_fff_f): Likewise.
47602         (RUN_TEST_c_f): Likewise.
47603         (RUN_TEST_f_f1): Likewise.
47604         (RUN_TEST_fF_f1): Likewise.
47605         (RUN_TEST_fI_f1): Likewise.
47606         (RUN_TEST_ffI_f1): Likewise.
47607         (RUN_TEST_c_c): Likewise.
47608         (RUN_TEST_cc_c): Likewise.
47609         (RUN_TEST_f_i): Likewise.
47610         (RUN_TEST_f_i_tg): Likewise.
47611         (RUN_TEST_ff_i_tg): Likewise.
47612         (RUN_TEST_f_b): Likewise.
47613         (RUN_TEST_f_b_tg): Likewise.
47614         (RUN_TEST_f_l): Likewise.
47615         (RUN_TEST_f_L): Likewise.
47616         (RUN_TEST_sincos): Likewise.
47617         * math/gen-libm-test.pl (new_test): Take new argument to indicate
47618         whether to show exceptions.  Do not include ");\n" in return
47619         value.
47620         (special_functions): Output call to RUN_TEST_sincos instead of
47621         check_float calls.  Update calls to new_test.
47622         (parse_args): Output call to single RUN_TEST_* macro instead of
47623         check_* calls and other assignments.  Update calls to new_test.
47625         [BZ #2546]
47626         [BZ #2560]
47627         [BZ #5159]
47628         [BZ #15426]
47629         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
47630         input to result for tgamma overflow.
47631         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
47632         (gamma_coeff): New variable.
47633         (NCOEFF): New macro.
47634         (gamma_positive): New function.
47635         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
47636         underflow here.  Use gamma_positive instead of exp (lgamma) for
47637         other arguments.
47638         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
47639         (gamma_coeff): New variable.
47640         (NCOEFF): New macro.
47641         (gammaf_positive): New function.
47642         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
47643         underflow here.  Use gamma_positive instead of exp (lgamma) for
47644         other arguments.
47645         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
47646         (gamma_coeff): New variable.
47647         (NCOEFF): New macro.
47648         (gammal_positive): New function.
47649         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
47650         underflow here.  Use gamma_positive instead of exp (lgamma) for
47651         other arguments.
47652         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
47653         (gamma_coeff): New variable.
47654         (NCOEFF): New macro.
47655         (gammal_positive): New function.
47656         (__ieee754_gammal_r): Handle positive infinity, overflow and
47657         underflow here.  Handle NaN the same as positive infinity.  Remove
47658         check x < 0xffffffff for negative integers.  Use gamma_positive
47659         instead of exp (lgamma) for other arguments.
47660         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
47661         (gamma_coeff): New variable.
47662         (NCOEFF): New macro.
47663         (gammal_positive): New function.
47664         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
47665         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
47666         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
47667         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
47668         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
47669         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
47670         * sysdeps/generic/math_private.h (__gamma_productf): New
47671         prototype.
47672         (__gamma_product): Likewise.
47673         (__gamma_productl): Likewise.
47674         * math/Makefile (libm-calls): Add gamma_product.
47675         * math/libm-test.inc (tgamma_test): Add more tests.
47676         * sysdeps/i386/fpu/libm-test-ulps: Update.
47677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47679 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
47681         * benchtests/bench-skeleton.c (main): Preheat CPU.
47683 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
47685         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
47687 2013-05-07  Roland McGrath  <roland@hack.frob.com>
47689         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
47690         and _dl_skip_args_internal.
47692 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
47694         * manual/message.texi (Message Translation): Talk about users.
47695         Message to key mapping impacts design.
47697 2013-05-06  Roland McGrath  <roland@hack.frob.com>
47699         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
47701         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
47703         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
47704         * sysdeps/wordsize-64/glob64.c: ... here.
47706         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
47707         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
47708         New macros.
47710         * debug/getlogin_r_chk.c: Moved to ...
47711         * login/getlogin_r_chk.c: ... here.
47712         * debug/Makefile (routines): Move getlogin_r_chk to ...
47713         * login/Makefile (routines): ... here.
47714         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
47715         * login/Versions (libc: GLIBC_2.4): ... here.
47717         * io/poll.c (__poll): Renamed from poll.
47718         Add libc_hidden_def.
47719         (poll): Define as weak alias.
47721         * debug/ptsname_r_chk.c: Moved to ...
47722         * login/ptsname_r_chk.c: ... here.
47723         * debug/Makefile (routines): Move ptsname_r_chk to ...
47724         * login/Makefile (routines): ... here.
47725         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
47726         * login/Versions (libc: GLIBC_2.4): ... here.
47728         * posix/getlogin.c: Moved to ...
47729         * login/getlogin.c: ... here.
47730         * posix/getlogin_r.c: Moved to ...
47731         * login/getlogin_r.c: ... here.
47732         * posix/getlogin_r.c: Moved to ...
47733         * login/getlogin_r.c: ... here.
47734         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
47735         * login/Makefile (routines): ... here.
47736         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
47737         * login/Versions (libc: GLIBC_2.0): ... here.
47739         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
47740         (setrlimit): Define as weak alias.
47742         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
47743         Call __ names for open, ftruncate, and close.
47744         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
47745         (truncate): Define as weak alias.
47747 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
47749         * math/gen-libm-test.pl (parse_args): Initialize x before each
47750         test of frexp, modf and remquo.
47752         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
47753         test signgam value.
47755 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47757         [BZ #15418]
47758         [BZ #15419]
47759         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
47760         internal tests.
47761         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47763 2013-05-06  Roland McGrath  <roland@hack.frob.com>
47765         * elf/dl-writev.h: New file.
47766         * elf/dl-misc.c: Include it.
47767         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
47768         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
47770 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
47772         * math/libm-test.inc (noXFails): Remove variable.
47773         (noXPasses): Likewise.
47774         (BUILD_COMPLEX_INT): Remove macro.
47775         (print_screen): Remove xfail argument.
47776         (print_screen_max_error): Likewise.
47777         (update_stats): Likewise.
47778         (print_max_error): Likewise.  Update calls to other affected
47779         functions.
47780         (print_complex_max_error): Likewise.
47781         (test_single_exception): Update calls to print_screen.
47782         (test_single_errno): Likewise.
47783         (check_float_internal): Remove xfail argument.  Update calls to
47784         other affected functions.
47785         (check_float): Likewise.
47786         (check_complex): Likewise.
47787         (check_int): Likewise.
47788         (check_long): Likewise.
47789         (check_bool): Likewise.
47790         (check_longlong): Likewise.
47791         (main): Don't print noXFails and noXPasses.
47792         * math/gen-libm-test.pl (top level): Don't mention expected
47793         failure handling in comment.
47794         (new_test): Don't handle expected failures.
47795         (parse_args): Don't mention expected failure handling in comment.
47796         (generate_testfile): Don't handle expected failures.
47797         (parse_ulps): Likewise.
47798         (print_ulps_file): Likewise.
47799         (get_failure): Remove function.
47800         (output_test): Don't handle expected failures.
47801         * make/README.libm-test: Don't mention expected failure handling.
47803         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
47804         (minus_zero): Likewise.
47805         (plus_infty): Likewise.
47806         (minus_infty): Likewise.
47807         (qnan_value): Likewise.
47808         (max_value): Likewise.
47809         (min_value): Likewise.
47810         (min_subnorm_value): Likewise.
47811         (initialize): Do not initialize those variables dynamically.
47813 2013-05-03  Roland McGrath  <roland@hack.frob.com>
47815         * io/open.c (__open_2): Moved to ...
47816         * io/open_2.c: ... this new file.
47817         * io/open64.c (__open64_2): Moved to ...
47818         * io/open64_2.c: ... this new file.
47819         * io/openat.c (__openat_2): Moved to ...
47820         * io/openat_2.c: ... this new file.
47821         * io/openat64.c (__openat64_2): Moved to ...
47822         * io/openat64_2.c: ... this new file.
47823         * io/Makefile (routines): Add them.
47824         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
47825         * sysdeps/unix/sysv/linux/open_2.c: File removed.
47826         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
47827         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
47828         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
47829         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
47830         (__openat64): Add hidden_ver.
47831         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
47832         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
47834         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
47835         Separately conditionalize setting of GLRO(dl_sysinfo) so
47836         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
47837         as well, but the actual setting is only under [NEED_DL_SYSINFO].
47839 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47841         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
47842         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
47843         definition.
47844         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
47845         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47846         (_libc_vdso_platform_setup): Add __vdso_time initialization.
47847         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
47848         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
47850 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
47852         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
47853         test signgam value.
47855         * math/libm-test.inc (hypot_test): Do not use
47856         IGNORE_ZERO_INF_SIGN.
47858 2013-05-03  Andreas Jaeger  <aj@suse.de>
47860         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
47861         Linux 3.9.
47862         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
47863         (PF_MAX): Adjust for VSOCK change.
47865 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47869 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
47871         [BZ #15264]
47872         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
47873         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
47874         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
47876 2013-05-02  David S. Miller  <davem@davemloft.net>
47878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47880 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
47882         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
47884 2013-05-01  Roland McGrath  <roland@hack.frob.com>
47886         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
47888 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
47890         [BZ #14952]
47891         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
47892         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
47893         Use __attribute__ ((__gnu_inline__)).
47894         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
47895         Don't use __attribute__ ((__gnu_inline__)).
47897 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
47899         [BZ #15423]
47900         * math/s_catan.c (__catan): Handle small real or imaginary part of
47901         input specially to avoid spurious underflow.
47902         * math/s_catanf.c (__catanf): Likewise.
47903         * math/s_catanh.c (__catanh): Likewise.
47904         * math/s_catanhf.c (__catanhf): Likewise.
47905         * math/s_catanhl.c (__catanhl): Likewise.
47906         * math/s_catanl.c (__catanl): Likewise.
47907         * math/libm-test.inc (catan_test): Add more tests.
47908         (catanh_test): Likewise.
47909         * sysdeps/i386/fpu/libm-test-ulps: Update.
47910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47912 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47914         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47916 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
47918         [BZ #15416]
47919         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
47920         accurately for denominator in atan2.
47921         * math/s_catanf.c (__catanf): Likewise.
47922         * math/s_catanh.c (__catanh): Likewise.
47923         * math/s_catanhf.c (__catanhf): Likewise.
47924         * math/s_catanhl.c (__catanhl): Likewise.
47925         * math/s_catanl.c (__catanl): Likewise.
47926         * math/libm-test.inc (catan_test): Add more tests.
47927         (catanh_test): Likewise.
47928         * sysdeps/i386/fpu/libm-test-ulps: Update.
47929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47931 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47933         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
47935         * benchtests/Makefile (bench): Remove slow benchmarks.
47936         * benchtests/atan-inputs: Add slow benchmark inputs.
47937         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
47938         (BENCH_FUNC): Accept variant offset.
47939         (VARIANT): Define.
47940         * benchtests/bench-skeleton.c (main): Run benchmark for each
47941         variant.
47942         * benchtests/cos-inputs: Add slow benchmark inputs.
47943         * benchtests/exp-inputs: Likewise.
47944         * benchtests/pow-inputs: Likewise.
47945         * benchtests/sin-inputs: Likewise.
47946         * benchtests/slowatan-inputs: Remove.
47947         * benchtests/slowatan.c: Remove.
47948         * benchtests/slowcos-inputs: Remove.
47949         * benchtests/slowcos.c: Remove.
47950         * benchtests/slowexp-inputs: Remove.
47951         * benchtests/slowexp.c: Remove.
47952         * benchtests/slowpow-inputs: Remove.
47953         * benchtests/slowpow.c: Remove.
47954         * benchtests/slowsin-inputs: Remove.
47955         * benchtests/slowsin.c: Remove.
47956         * benchtests/slowtan-inputs: Remove.
47957         * benchtests/slowtan.c: Remove.
47958         * benchtests/tan-inputs: Add slow benchmark inputs.
47959         * scripts/bench.pl: Parse comments and directives.
47961         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
47962         in CPPFLAGS.
47963         ($(objpfx)bench-%.c): Remove *-ITER.
47964         * benchtests/bench-modf.c: Remove definition of ITER.
47965         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
47966         (main): Loop for DURATION seconds instead of fixed number of
47967         iterations.
47968         * scripts/bench.pl: Don't expect iterations in parameters.
47970 2013-04-29  Roland McGrath  <roland@hack.frob.com>
47972         * io/fchdir.c (__fchdir): Renamed from fchdir.
47973         (fchdir): Define as weak alias.
47975 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
47977         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
47978         (ERRNO_EDOM): Likewise.
47979         (ERRNO_ERANGE): Likewise.
47980         (noErrnoTests): New variable.
47981         (init_max_error): Set errno to 0.
47982         (test_single_errno): New function.
47983         (test_errno): Likewise.
47984         (check_float_internal): Call test_errno.  Set errno to 0.
47985         (check_complex): Refer to errno tests in comment.
47986         (check_int): Call test_errno.  Set errno to 0.
47987         (check_long): Likewise.
47988         (check_bool): Likewise.
47989         (check_longlong): Likewise.
47990         (cos_test): Use ERRNO_* flags for errno tests instead of
47991         check_int.
47992         (expm1_test): Likewise.
47993         (fmod_test): Likewise.
47994         (ilogb_test): Likewise.
47995         (lgamma_test): Likewise.
47996         (pow_test): Likewise.
47997         (remainder_test): Likewise.
47998         (sin_test): Likewise.
47999         (tan_test): Likewise.
48000         (yn_test): Likewise.
48001         (initialize): Set errno to 0.
48002         (main): Print number of errno tests.
48003         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
48005 2013-04-29  Andreas Jaeger  <aj@suse.de>
48007         [BZ #15084]
48008         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
48009         and RES_USEVC.
48011         [BZ #15085]
48012         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
48013         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
48014         unimplemented.
48016         [BZ #15380]
48017         * stdlib/random.c (__initstate): Return NULL if
48018         __initstate fails.
48020         [BZ #15086]
48021         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
48022         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
48023         RES_SNGLKUPREOP.
48025 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48029 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
48031         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
48032         of individual tests.
48033         (casin_test): Likewise.
48034         (casinh_test): Likewise.
48036 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
48038         [BZ #15409]
48039         * math/s_catan.c (__catan): Handle arguments with large real or
48040         imaginary part separately without squaring.
48041         * math/s_catanf.c (__catanf): Likewise.
48042         * math/s_catanh.c (__catanh): Likewise.
48043         * math/s_catanhf.c (__catanhf): Likewise.
48044         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48045         and redefine.
48046         (__catanhl): Handle arguments with large real or imaginary part
48047         separately without squaring.
48048         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48049         and redefine.
48050         (__catanl): Handle arguments with large real or imaginary part
48051         separately without squaring.
48052         * math/libm-test.inc (catan_test): Add more tests.
48053         (catanh_test): Likewise.
48054         * sysdeps/i386/fpu/libm-test-ulps: Update.
48055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48057 2013-04-27  Andreas Jaeger  <aj@suse.de>
48059         [BZ #15007]
48060         * stdlib/stdlib.h: Update guards for qecvt.
48061         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
48062         <stdlib.h>.
48064 2013-04-27  Allan McRae  <allan@archlinux.org>
48066         * sysdeps/i386/fpu/libm-test-ulps: Update.
48068 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
48070         [BZ #15406]
48071         * math/s_catan.c: Include <float.h>.
48072         (__catan): Ensure underflow exception occurs for underflowed
48073         result.
48074         * math/s_catanf.c: Include <float.h>.
48075         (__catanf): Ensure underflow exception occurs for underflowed
48076         result.
48077         * math/s_catanh.c: Include <float.h>.
48078         (__catanh): Ensure underflow exception occurs for underflowed
48079         result.
48080         * math/s_catanhf.c: Include <float.h>.
48081         (__catanhf): Ensure underflow exception occurs for underflowed
48082         result.
48083         * math/s_catanhl.c: Include <float.h>.
48084         (__catanhl): Ensure underflow exception occurs for underflowed
48085         result.
48086         * math/s_catanl.c: Include <float.h>.
48087         (__catanl): Ensure underflow exception occurs for underflowed
48088         result.
48089         * math/libm-test.inc (catan_test): Add more tests.
48090         (catanh_test): Likewise.
48092         [BZ #15405]
48093         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
48094         underflowed result.
48095         * math/s_ccoshf.c (__ccoshf): Likewise.
48096         * math/s_ccoshl.c (__ccoshl): Likewise.
48097         * math/s_csin.c (__csin): Likewise.
48098         * math/s_csinf.c (__csinf): Likewise.
48099         * math/s_csinh.c (__csinh): Likewise.
48100         * math/s_csinhf.c (__csinhf): Likewise.
48101         * math/s_csinhl.c (__csinhl): Likewise.
48102         * math/s_csinl.c (__csinl): Likewise.
48103         * math/libm-test.inc (ccos_test): Add more tests.
48104         (ccosh_test): Likewise.
48105         (csin_test): Likewise.
48106         (csinh_test): Likewise.
48108 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48110         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
48111         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
48112         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
48113         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
48114         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
48115         powerpc/power5+/fpu folders.
48116         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
48119 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
48121         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48123 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
48125         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
48126         additions to variable.
48127         [$(config-machine) = x86_64] (modules-names): Likewise.
48128         ($(objpfx)tst-audit3): Remove dependency.
48129         ($(objpfx)tst-audit3.out): Likewise.
48130         ($(objpfx)tst-audit4): Likewise.
48131         ($(objpfx)tst-audit4.out): Likewise.
48132         ($(objpfx)tst-audit5): Likewise.
48133         ($(objpfx)tst-audit5.out): Likewise.
48134         ($(objpfx)tst-audit6): Likewise.
48135         ($(objpfx)tst-audit6.out): Likewise.
48136         ($(objpfx)tst-audit7): Likewise.
48137         ($(objpfx)tst-audit7.out): Likewise.
48138         (tst-audit3-ENV): Remove variable.
48139         (tst-audit4-ENV): Likewise.
48140         (tst-audit5-ENV): Likewise.
48141         (tst-audit6-ENV): Likewise.
48142         (tst-audit7-ENV): Likewise.
48143         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
48144         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
48145         addition to variable.
48146         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
48147         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
48148         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
48149         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
48150         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
48151         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
48152         tst-audit3, tst-audit4 and tst-audit5.
48153         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
48154         tst-audit6 and tst-audit7.
48155         [$(subdir) = elf] (modules-names): Add audit modules for those
48156         tests.
48157         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
48158         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
48159         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
48160         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
48161         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
48162         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
48163         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
48164         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
48165         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
48166         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
48167         [$(subdir) = elf] (tst-audit3-ENV): New variable.
48168         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
48169         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
48170         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
48171         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
48172         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
48173         Likewise.
48174         [$(subdir) = elf && $(config-cflags-avx) = yes]
48175         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
48176         [$(subdir) = elf && $(config-cflags-avx) = yes]
48177         (CFLAGS-tst-auditmod4a.c): Likewise.
48178         [$(subdir) = elf && $(config-cflags-avx) = yes]
48179         (CFLAGS-tst-auditmod4b.c): Likewise.
48180         [$(subdir) = elf && $(config-cflags-avx) = yes]
48181         (CFLAGS-tst-auditmod6b.c): Likewise.
48182         [$(subdir) = elf && $(config-cflags-avx) = yes]
48183         (CFLAGS-tst-auditmod6c.c): Likewise.
48184         [$(subdir) = elf && $(config-cflags-avx) = yes]
48185         (CFLAGS-tst-auditmod7b.c): Likewise.
48186         * elf/tst-audit3.c: Move to ...
48187         * sysdeps/x86_64/tst-audit3.c: ... here.
48188         * elf/tst-audit4.c: Move to ...
48189         * sysdeps/x86_64/tst-audit4.c: ... here.
48190         * elf/tst-audit5.c: Move to ...
48191         * sysdeps/x86_64/tst-audit5.c: ... here.
48192         * elf/tst-audit6.c: Move to ...
48193         * sysdeps/x86_64/tst-audit6.c: ... here.
48194         * elf/tst-audit7.c: Move to ...
48195         * sysdeps/x86_64/tst-audit7.c: ... here.
48196         * elf/tst-auditmod3a.c: Move to ...
48197         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
48198         * elf/tst-auditmod3b.c: Move to ...
48199         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
48200         * elf/tst-auditmod4a.c: Move to ...
48201         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
48202         * elf/tst-auditmod4b.c: Move to ...
48203         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
48204         * elf/tst-auditmod5a.c: Move to ...
48205         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
48206         * elf/tst-auditmod5b.c: Move to ...
48207         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
48208         * elf/tst-auditmod6a.c: Move to ...
48209         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
48210         * elf/tst-auditmod6b.c: Move to ...
48211         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
48212         * elf/tst-auditmod6c.c: Move to ...
48213         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
48214         * elf/tst-auditmod7a.c: Move to ...
48215         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
48216         * elf/tst-auditmod7b.c: Move to ...
48217         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
48219 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
48221         [BZ #15366]
48222         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
48223         define unconditionally.
48224         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
48225         define unconditionally.
48226         (INT8_C, INT16_C, etc.): Likewise.
48228 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
48230         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
48231         __ehdr_start with hidden visibility.
48233         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
48235 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
48237         * math/libm-test.inc (cos_test): Use accurate hex constants.
48238         (sincost_test): Likewise.
48240 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
48242         * math/libm-test.inc (catan_test): Add more tests.
48243         (catanh_test): Likewise.
48245         * math/s_catanf.c (__catanf): Use suffixed floating-point
48246         constants.
48247         * math/s_catanhf.c (__catanhf): Likewise.
48248         * math/s_catanhl.c (__catanhl): Likewise.
48249         * math/s_catanl.c (__catanl): Likewise.
48251         [BZ #15394]
48252         * math/s_catan.c (__catan): Calculate imaginary part of result
48253         with log1p not log unless computing log of number close to 0.
48254         * math/s_catanf.c (__catanf): Likewise.
48255         * math/s_catanl.c (__catanl): Likewise.
48256         * math/s_catanh.c (__catanh): Calculate real part of result with
48257         log1p not log unless computing log of number close to 0.
48258         * math/s_catanhf.c (__catanhf): Likewise.
48259         * math/s_catanhl.c (__catanhl): Likewise.
48260         * math/libm-test.inc (catan_test): Add more tests.
48261         (catanh_test): Likewise.
48262         * sysdeps/i386/fpu/libm-test-ulps: Update.
48263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48265 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48267         * benchtests/Makefile: Mention files in which fast and slow
48268         paths of math functions are implemented.
48270 2013-04-23  Roland McGrath  <roland@hack.frob.com>
48272         * sysdeps/posix/timespec_get.c: New file.
48274 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48276         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
48277         POWER.
48278         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
48279         for POWER.
48280         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
48281         powerpc/power5/fpu folders.
48282         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
48283         * benchtests/Makefile: Add modf testcase.
48284         * benchtests/bench-modf.c: New file: Benchmark test for mo
48286 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
48288         [BZ #14888]
48289         * time/Makefile (tests): Add tst-strptime-whitespace.
48290         * time/strptime_l.c (get_number): Use ISSPACE.
48291         (__strptime_internal): Likewise.
48292         * time/tst-strptime-whitespace.c: New test case.
48294 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
48296         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
48297         member.
48298         (_nss_files_init): Set it here.
48300 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
48302         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
48303         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
48304         unsigned.
48306 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
48308         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
48310 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48312         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
48313         size just once.
48315 2013-04-21  David S. Miller  <davem@davemloft.net>
48317         * po/ru.po: Update Russion translation from translation project.
48319 2013-04-17  Adam Conrad  <adconrad@0c3.net>
48321         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
48322         and setfsgid.
48324 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
48326         * configure.in: Remove i386 configure warning. Remove i386 case.
48327         * configure: Regenerate.
48328         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
48329         Add example to error message.
48330         * sysdeps/i386/configure: Regenerate.
48332 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48334         * benchtests/Makefile (bench): Add cos, tan, slowcos and
48335         slowtan.
48336         * benchtests/cos-inputs: New file.
48337         * benchtests/slowcos-inputs: New file.
48338         * benchtests/slowcos.c: New file.
48339         * benchtests/slowtan-inputs: New file.
48340         * benchtests/slowtan.c: New file.
48341         * benchtests/tan-inputs: New file.
48343 2013-04-16  Roland McGrath  <roland@hack.frob.com>
48345         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
48346         considered kosher.
48348 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48350         * benchtests/Makefile: Include cppflags-iterator.mk to add
48351         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
48353         * Makefile.in (bench-clean): New target.
48354         * benchtests/Makefile (bench-clean): Likewise.
48356 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
48358         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
48360 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
48362         * stdio-common/tstdiomisc.c: Fix coding-style violation.
48364 2013-04-15  Andreas Schwab  <schwab@suse.de>
48366         * nscd/grpcache.c (cache_addgr): Properly check for short write.
48367         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48368         * nscd/pwdcache.c (cache_addpw): Likewise.
48369         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
48370         more than recsize.
48372 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48374         * benchtests/Makefile (bench): Write all output to
48375         bench-out.tmp together.
48377 2013-04-15  Andreas Schwab  <schwab@suse.de>
48379         * nscd/nscd.c (main): Don't fork again after closing files.
48381 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48383         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
48385         * benchtests/Rules (bench-deps): Collect dependencies into a
48386         single variable.  Add Makefile to dependencies.
48387         ($(objpfx)bench-%.c): Depend on bench-deps.
48389 2013-04-12  Roland McGrath  <roland@hack.frob.com>
48390             Xavier Roche  <roche+kml2@exalead.com>
48392         [BZ #15361]
48393         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
48394         just that it's a file descriptor.
48395         * manual/llio.texi (Synchronizing AIO Operations): Update description
48396         for EBADF error from aio_fsync.
48398 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48400         * Rules (bench): Move target definition...
48401         * benchtests/Makefile: ... here.
48403 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
48405         * math/libm-test.inc (cos_test): Fix PI/2 test.
48406         (sincos_test): Likewise.
48407         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
48408         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
48410 2013-04-11  Andreas Schwab  <schwab@suse.de>
48412         [BZ #13988]
48413         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
48414         accept exponent character only when digits were seen.
48415         * stdio-common/Makefile (tests): Add bug26.
48416         * stdio-common/bug26.c: New file.
48418         [BZ #14293]
48419         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
48420         non-freeable.
48422 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48424         * Makeconfig (rtld-prefix): Define built linker prefix.
48425         * Rules (run-bench): Use it.
48426         * math/Makefile (run-regen-ulps): Likewise.
48428         * Rules (bench): Remove eval.
48430 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48431             Roland McGrath  <roland@hack.frob.com>
48432             Ondrej Bilka  <neleai@seznam.cz>
48434         [BZ #15346]
48435         * time/getdate.c: Include ctype.h and alloca.h.
48436         (__getdate_r): Trim leading and trailing spaces of input.
48437         * time/tst-getdate.c (tests): Add tests with leading and
48438         trailing spaces.
48440 2013-04-08  Roland McGrath  <roland@hack.frob.com>
48442         [BZ #14280]
48443         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
48444         when computing value.
48446 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48448         * math/README.libm-test (How can I generate "libm-test-ulps"?):
48449         Use testrun.sh to run libm tests.
48451         [BZ #15309]
48452         * elf/dl-open.c (dl_open_worker): memset all of seen array.
48454 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
48456         [BZ #15264]
48457         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
48459 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48461         * Makefile.in (regen-ulps): New target.
48462         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
48463         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
48464         [ifneq (no,$(PERL)] (regen-ulps): New target.
48465         [ifeq (no,$(PERL)] (regen-ulps): New target.
48466         * math/libm-test.inc (ulps_file_name): Define.
48467         (output_dir): New variable.
48468         (options): Add "output-dir" option.
48469         (parse_opt): Handle 'o' case.
48470         (main): If output_dir is non-NULL use it as a prefix
48471         otherwise use "".
48472         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
48474 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48476         [BZ #10060, #10062]
48477         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
48478         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
48479         fail configure if __sync_val_compare_and_swap is not inlined.
48480         * sysdeps/i386/configure: Regenerate.
48481         * configure.in: Build for i686 when configured for i386.
48482         * configure: Regenerate.
48483         * README: Remove i386 reference.
48485 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48487         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
48488         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48490 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
48492         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
48493         (lmsnanval): New variables.
48494         (F): Add conversion tests.
48495         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
48496         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
48498         * stdio-common/tstdiomisc.c (F): Properly collect individual
48499         tests' results.
48501         [BZ #14686, #15336]
48502         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
48503         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
48504         Instead, use input NaN values or generate a qNaN by arithmetic
48505         operation.  Also fix bugs to comply with the standard.
48506         * math/libm-test.inc (remainder_test): Add more tests.
48508         [BZ #15335, #15342]
48509         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
48510         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
48511         input NaN values or generate a qNaN by arithmetic operation.
48513         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
48514         unreachable code.
48516         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
48517         definitions.
48519 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
48521         [BZ #14478]
48522         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
48523         underflowed result.
48524         * math/s_cexpf.c (__cexpf): Likewise.
48525         * math/s_cexpl.c (__cexpl): Likewise.
48526         * math/libm-test.inc (cexp_test): Add more tests.
48528 2013-04-03  Andreas Schwab  <schwab@suse.de>
48530         [BZ #15330]
48531         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
48532         order arrays from heap if bigger than alloca cutoff.
48534 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
48536         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
48537         (SNAN_TESTS_double): Refer to GCC PR56831.
48538         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
48539         GCC PR56828.
48541 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48543         * Rules (bench): Move bench.out after the run is complete.
48545         * Rules (bench): Echo currently running benchmark.
48547         * benchtests/Makefile (bench): Add atan and slowatan.
48548         * benchtests/atan-inputs: New file.
48549         * benchtests/slowatan-inputs: New file.
48550         * benchtests/slowatan.c: New file.
48552         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
48553         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
48554         its value.
48556         [BZ #15305]
48557         * sysdeps/unix/sysv/linux/kernel-features.h
48558         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
48559         __ASSUME_XFS_RESTRICTED_CHOWN.
48560         * sysdeps/unix/sysv/linux/pathconf.c
48561         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
48562         Save and restore errno.
48564 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
48566         [BZ #15327]
48567         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
48568         arguments using __kernel_casinh.
48569         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
48570         arguments using __kernel_casinhf.
48571         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
48572         arguments using __kernel_casinhl.
48573         * math/libm-test.inc (cacosh_test): Add more tests.
48574         * sysdeps/i386/fpu/libm-test-ulps: Update.
48575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48577 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48579         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
48580         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
48582         * bench/Makefile (bench): Add sin and slowsin.
48583         * benchtests/sin-inputs: New file.
48584         * benchtests/slowsin-inputs: New file.
48585         * benchtests/slowsin.c: New file.
48587         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
48588         (bench): Add slowexp and slowpow.
48589         (exp-ITER): Increase iterations.
48590         (pow-ITER): Likewise.
48591         * benchtests/exp-inputs: Change input.
48592         * benchtests/pow-inputs: Likewise.
48593         * benchtests/slowexp-inputs: New file.
48594         * benchtests/slowexp.c: New file.
48595         * benchtests/slowpow-inputs: New file.
48596         * benchtests/slowpow.c: New file.
48598 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48600         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
48601         instructions.
48602         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48603         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
48604         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
48605         * benchtests/Makefile: Add rint benchtest.
48606         * benchtests/rint-inputs: Input for rint benchtest.
48608 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
48610         * Versions.def (libm): Add GLIBC_2.18.
48611         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
48612         hidden libm prototypes.
48613         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
48614         * math/Makefile (libm-calls): Add s_issignaling.
48615         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
48616         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
48617         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
48618         declaration.
48619         * math/math.h [__USE_GNU] (issignaling): New macro.
48620         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
48621         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
48622         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
48623         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
48624         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
48625         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
48626         * manual/arith.texi (issignaling): New section.
48627         * manual/libm-err-tab.pl (@all_functions): Update comment.
48628         * math/gen-libm-test.pl (parse_args): Apply special handling for
48629         issignaling.
48630         * math/libm-test.inc (print_float, issignaling_test): New
48631         functions.
48632         (check_float_internal): Add issignaling checks.
48633         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
48634         default definition.
48635         * sysdeps/powerpc/math-tests.h: New file.
48636         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
48637         tests.
48638         * math/test-snan.c (TEST_FUNC): Likewise.
48640 2013-03-30  David S. Miller  <davem@davemloft.net>
48642         * po/de.po: Update from translation team.
48644 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
48646         [BZ #10357]
48647         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48648         imaginary part less than 1.0 and real part less than 0.5
48649         specially.
48650         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48651         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48652         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
48653         (cacos_test): Add more tests.
48654         (casin_test): Likewise.
48655         (casinh_test): Likewise.
48656         * sysdeps/i386/fpu/libm-test-ulps: Update.
48657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48659 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48661         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
48662         ONE with its value.
48664         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
48665         (__pow_mp): Replace ONE and MONE with their values.
48666         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48667         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
48668         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48669         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
48670         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48671         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48673         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
48675         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
48676         (__pow_mp): Replace ZERO and MZERO with their values.
48677         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48678         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48679         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48680         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
48681         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48682         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
48683         (__sqr): Likewise.
48685         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
48687         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
48689 2013-03-28  Roland McGrath  <roland@hack.frob.com>
48691         * include/stdlib.h [!SHARED] (__call_tls_dtors):
48692         Declare with __attribute__ ((weak)).
48693         * stdlib/exit.c (__libc_atexit) [!SHARED]:
48694         Call __call_tls_dtors only if it's not NULL.
48696 2013-03-28  Roland McGrath  <roland@hack.frob.com>
48698         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
48699         didn't do it already, then set _dl_phdr and _dl_phnum based on the
48700         magic __ehdr_start linker symbol if it's defined.
48701         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
48702         them up here if it was already done.
48704         * elf/dl-support.c (_dl_phdr): Make pointer to const.
48705         (_dl_aux_init): Use const in cast when setting it.
48706         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
48707         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
48708         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
48710         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
48711         Declare them here.
48712         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
48713         * csu/libc-tls.c: Nor here.
48714         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
48716         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
48717         (__libc_message): Never call vsyslog.
48719 2013-03-28  Alan Modra  <amodra@gmail.com>
48721         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
48722         Define as empty.
48723         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
48724         Likewise.
48726 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48728         [BZ #15214]
48729         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
48730         underflow.
48731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48733 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48735         [BZ #15304]
48736         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
48737         Don't add gid passed as argument.
48739         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
48741 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
48743         [BZ #15307]
48744         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48745         imaginary part between 1.0 and 1.5 and real part less than 0.5
48746         specially.
48747         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48748         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48749         * math/libm-test.inc (cacos_test): Add more tests.
48750         (casin_test): Likewise.
48751         (casinh_test): Likewise.
48752         * sysdeps/i386/fpu/libm-test-ulps: Update.
48753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48755 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48757         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
48758         constants.
48759         (norm): Likewise.
48760         (denorm): Likewise.
48761         (__dbl_mp): Likewise.
48762         (add_magnitudes): Likewise.
48763         (sub_magnitudes): Likewise.
48764         (__add): Likewise.
48765         (__sub): Likewise.
48766         (__mul): Likewise.
48767         (__sqr): Likewise.
48768         (__inv): Likewise.
48769         (__dvd): Likewise.
48771         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
48772         commented code.
48773         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
48774         (__dubcos): Likewise.
48775         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
48776         (__ieee754_acos): Likewise.
48777         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48778         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
48779         (__exp1): Likewise.
48780         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48781         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
48782         (log1): Likewise.
48783         (my_log2): Likewise.
48784         (checkint): Likewise.
48785         * sysdeps/ieee754/dbl-64/e_remainder.c
48786         (__ieee754_remainder): Likewise.
48787         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48788         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
48789         (bsloww): Likewise.
48790         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48792         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
48793         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
48794         MANTISSA_STORE_T to store computations on mantissa.  Use
48795         macros for rounding and division.
48796         (denorm): Likewise.
48797         (__dbl_mp): Likewise.
48798         (add_magnitudes): Likewise.
48799         (sub_magnitudes): Likewise.
48800         (__mul): Likewise.
48801         (__sqr): Likewise.
48802         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
48803         powers of two in terms of TWOPOW macro.
48804         (mp_no): Make type of mantissa as MANTISSA_T.
48805         [!RADIXI]: Define RADIXI.
48806         [!TWO52]: Define TWO52.
48807         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
48809 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48811         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
48812         llroundl symbol when building for PPC32.
48814 2013-03-24  Mark H Weaver  <mhw@netris.org>
48816         * manual/arith.texi (Normalization Functions): Fix prototypes for
48817         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
48819 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48821         [BZ #13889]
48822         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
48823         high value to check if expl overflow.
48824         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
48825         to check for underflow and overflow.
48826         * math/libm-test.inc: Add exp test.
48828 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
48830         [BZ #11120]
48831         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
48832         with NOT_IN_libc.
48834 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48836         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
48837         symbol.
48839 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
48841         * math/gen-libm-test.pl (parse_args, special_functions): Properly
48842         wrap blocks consisting of several statements.
48844         * sysdeps/generic/math-tests.h: New file.
48845         * sysdeps/i386/fpu/math-tests.h: Likewise.
48846         * math/test-snan.c: Include it.
48847         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
48849 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
48851         [BZ #15285]
48852         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
48853         (__ieee754_j0l): Do not improve calculations using cos of twice
48854         input for inputs above LDBL_MAX / 2.0L.
48855         (__ieee754_y0l): Likewise.
48856         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
48857         (__ieee754_j1l): Do not improve calculations using cos of twice
48858         input for inputs above LDBL_MAX / 2.0L.
48859         (__ieee754_y1l): Likewise.
48860         * math/libm-test.inc (j0_test): Add another test.
48861         (j1_test): Likewise.
48862         (y0_test): Likewise.
48863         (y1_test): Likewise.
48864         * sysdeps/i386/fpu/libm-test-ulps: Update.
48866 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48868         * Rules ($(objpfx)bench-%.c): Include code from a C source
48869         file.
48871 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
48873         [BZ #15287]
48874         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48875         imaginary part 1.0 and real part less than 0.5 specially.
48876         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48877         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48878         * math/libm-test.inc (cacos_test): Add more tests.
48879         (casin_test): Likewise.
48880         (casinh_test): Likewise.
48881         * sysdeps/i386/fpu/libm-test-ulps: Update.
48882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48884 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48886         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
48887         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
48889 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
48891         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
48892         * config.make.in (config-cflags-sse4): Remove variable.
48893         (config-cflags-avx): Likewise.
48894         (config-cflags-sse2avx): Likewise.
48895         (config-cflags-novzeroupper): Likewise.
48896         (config-asflags-i686): Likewise.
48897         (have-mfma4): Likewise.
48898         (have-as-vis3): Likewise.
48899         (MIG): Likewise.
48900         * configure.in (MIG): Do not AC_SUBST.
48901         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
48902         (libc_cv_cc_sse4): Do not AC_SUBST.
48903         (libc_cv_cc_avx): Likewise.
48904         (libc_cv_cc_sse2avx): Likewise.
48905         (libc_cv_cc_novzeroupper): Likewise.
48906         (libc_cv_cc_fma4): Likewise.
48907         (libc_cv_as_i686): Likewise.
48908         (libc_cv_sparc_as_vis3): Likewise.
48909         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
48910         LIBC_CONFIG_VAR.
48911         (config-asflags-i686): Likewise.
48912         (config-cflags-avx): Likewise.
48913         (config-cflags-sse2avx): Likewise.
48914         (have-mfma4): Likewise.
48915         (config-cflags-novzeroupper): Likewise.
48916         * sysdeps/mach/configure.in (MIG): Likewise.
48917         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
48918         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
48919         LIBC_CONFIG_VAR.
48920         (config-cflags-avx): Likewise.
48921         (config-cflags-sse2avx): Likewise.
48922         (have-mfma4): Likewise.
48923         (config-cflags-novzeroupper): Likewise.
48924         * configure: Regenerated.
48925         * sysdeps/i386/configure: Likewise.
48926         * sysdeps/mach/configure: Likewise.
48927         * sysdeps/sparc/configure: Likewise.
48928         * sysdeps/x86_64/configure: Likewise.
48930 2013-03-20  Roland McGrath  <roland@hack.frob.com>
48932         [BZ #14812]
48933         * locale/programs/localedef.c (options): Put N_ translation marker
48934         on argument names, not just descriptions.
48936 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48938         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
48940 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
48942         [BZ #14176]
48943         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
48945 2013-03-19  Roland McGrath  <roland@hack.frob.com>
48947         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
48948         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
48949         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
48950         [!BEFORE_ABORT] (before_abort): New function.
48951         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
48952         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
48953         (writev_for_fatal): New function.
48954         (WRITEV_FOR_FATAL): New macro; call that.
48955         (backtrace_and_maps): New function.
48956         (BEFORE_ABORT): New macro; call that.
48957         (struct str_list): Type removed.
48958         (__libc_message, __libc_fatal): Functions removed.
48959         Include <sysdeps/posix/libc_fatal.c> instead.
48961 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
48963         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
48964         constants.
48965         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
48966         double constants.
48968 2013-03-19  Andreas Schwab  <schwab@suse.de>
48970         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
48971         * sysdeps/gnu/configure: Regenerate.
48973         * configure.in: Substitute libc_cv_rtlddir.
48974         * configure: Regenerate.
48975         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
48976         * Makeconfig (rtlddir, inst_rtlddir): New variables.
48977         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
48978         * elf/Makefile (install-others, CFLAGS-interp.c)
48979         (ldso_install, common-ldd-rewrite): Likewise.
48980         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
48981         $(inst_slibdir)/$(rtld-installed-name).
48982         * scripts/rellns-sh: Add -p option.
48983         * Makerules (make-shlib-link): Use rellns-sh to get relative name
48984         for source.
48986 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48988         * manual/nptl.texi: Renamed to ...
48989         * manual/threads.texi: ... this.
48990         * manual/Makefile (chapters): Update.
48992 2013-03-18  Roland McGrath  <roland@hack.frob.com>
48994         [BZ #14812]
48995         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
48996         on argument names, not just descriptions.
48997         * malloc/memusagestat.c (options): Likewise.
48998         * nss/getent.c (options): Likewise.
49000 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
49002         [BZ #14812]
49003         * iconv/iconv_prog.c (options): Put N_ translation marker
49004         on argument names, not just descriptions.
49005         * iconv/iconvconfig.c (options): Likewise.
49007 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
49009         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
49010         implementation which is faster on all x86_64 architectures.
49011         Tested on AMD, Intel Nehalem, SNB, IVB.
49012         * sysdeps/x86_64/strnlen.S: Likewise.
49014         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49015         Remove all multiarch strlen and strnlen versions.
49016         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
49017         Remove strlen and strnlen related parts.
49019         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
49020         Inline strlen part.
49021         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
49023         * sysdeps/x86_64/multiarch/strlen.S: Remove.
49024         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
49025         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
49026         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
49027         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
49028         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
49030 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
49032         * manual/memory.texi (Malloc Tunable Parameters):
49033         Sort parameters alphabetically. Add comments for missing entries.
49035 2013-03-17  David S. Miller  <davem@davemloft.net>
49037         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49039 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
49041         [BZ #15283]
49042         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
49043         for arguments at most half maximum finite value.
49044         * math/libm-test.inc (j0_test): Add more tests.
49045         (j1_test): Likewise.
49046         (y0_test): Likewise.
49047         (y1_test): Likewise.
49048         * sysdeps/i386/fpu/libm-test-ulps: Update.
49049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49051         [BZ #14155]
49052         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
49053         1 / x and functions P and Q for arguments above 0x1p256L.
49054         (__ieee754_y0l): Likewise.
49055         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
49056         (__ieee754_y1l): Likewise.
49057         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
49058         (j1_test): Likewise.
49059         (y0_test): Likewise.
49060         (y1_test): Likewise.
49062 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
49064         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
49065         variable.
49067 2013-03-15  Roland McGrath  <roland@hack.frob.com>
49069         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
49070         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
49071         zero since it's initialized to EXEC_PAGESIZE.
49073         * sysdeps/unix/sysv/linux/ldsodefs.h
49074         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
49075         * sysdeps/generic/ldsodefs.h: ... here.
49077 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
49079         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
49081         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
49082         math/test-snan.c.
49083         * math/test-snan.c: Renamed from
49084         sysdeps/powerpc/fpu/test-powerpc-snan.c.
49085         * math/Makefile (tests): Add test-snan.
49086         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
49087         test-powerpc-snan.
49089         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
49090         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
49091         functions.
49092         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
49093         __builtin_nan family of functions.
49094         * math/libm-test.inc (initialize): Initialize qnan_value with
49095         __builtin_nan family of functions.
49096         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
49097         Remove variables.
49098         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
49099         Remove functions.
49100         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
49101         storage class.  Initialize qNaN_var and sNaN_var with
49102         __builtin_nan and __builtin_nans families of functions,
49103         respectively.
49105         * math/libm-test.inc (acosh_test): Also test with qNaN input.
49106         (sqrt_test): Remove duplicate test with qNaN input.
49107         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
49108         (round_test, signbit_test, significand_test): Note missing +/-Inf
49109         as well as qNaN tests.
49111         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
49112         qNaN_var.  Fix a few strings, too.
49113         * math/libm-test.inc (nan_value): Rename to qnan_value.
49114         * math/gen-libm-test.pl (%beautify): Adjust to that.
49115         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
49116         * math/test-misc.c (main): Likewise.
49117         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
49118         to __qnan_bytes, and __qnan_union, respectively.
49119         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
49120         Likewise.
49121         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
49122         and lqnanval, respectively.
49123         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
49124         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
49125         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
49126         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
49128         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
49129         * math/test-misc.c (main) [__x86_64__]: Enable test for long
49130         doubles.
49132         * math/test-misc.c (main): Fix copy'n'pastos.
49133         * misc/tst-efgcvt.c (special): Likewise.
49135         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
49136         Remove declarations.
49138 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49140         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
49141         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
49142         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
49143         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
49145 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49147         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
49148         macro to return vdso values correctly in IFUNC implementations.
49149         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
49150         Optimization by using IFUNC.
49152 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49153             Richard Henderson  <rth@redhat.com>
49154             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49156         * Makefile.in (bench): New target.
49157         * NEWS: Mention the benchmark framework.
49158         * Rules (bench): Likewise.
49159         (binaries-bench): Generate binaries for functions to
49160         benchmark.
49161         * benchtests/Makefile: New makefile for benchmark tests.
49162         * benchtests/bench-skeleton.c: New skeleton file for benchmark
49163         programs.
49164         * benchtests/exp-inputs: New input file for EXP function.
49165         * benchtests/pow-inputs: New input file for POW function.
49166         * scripts/bench.pl: New script to generate source files for
49167         benchmark programs.
49169 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49171         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
49172         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
49173         computations on mantissa.  Use macros for rounding and
49174         division.
49175         (denorm): Likewise.
49176         (__dbl_mp): Likewise.
49177         (add_magnitudes): Likewise.
49178         (sub_magnitudes): Likewise.
49179         (__mul): Likewise.
49180         (__sqr): Likewise.
49181         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
49182         powers of two in terms of TWOPOW macro.
49183         (mp_no): Make type of mantissa as MANTISSA_T.
49184         [!RADIXI]: Define RADIXI.
49185         [!TWO52]: Define TWO52.
49186         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
49188         * manual/nptl.texi (cindex): Modify threads to pthreads.
49190 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
49192         * sysdeps/x86_64/preconfigure: Regenerated.
49194 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
49196         [BZ #14155]
49197         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
49198         0x1p28 and above.
49199         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
49200         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
49201         0x1p28 and above.
49202         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
49203         * math/libm-test.inc (j0_test): Do not allow one spurious
49204         underflow exception.
49205         (y1_test): Likewise.
49207 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49209         * manual/Makefile (chapters): Add nptl.
49210         * manual/debug.texi (Debugging Support): Add link to Threads
49211         chapter.
49212         * manual/nptl.texi: New file.
49214         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
49216 2013-03-14  Petr Baudis  <pasky@ucw.cz>
49218         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
49219         for non-NULL pointer before the memory validity test. Pointed
49220         out by Holger Brunck <holger.brunck@keymile.com>.
49222 2013-03-13  Andreas Schwab  <schwab@suse.de>
49224         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
49225         instead of .os.
49227 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
49229         * timezone/zic.c: Update from tzcode 2013b.
49231 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
49233         * manual/install.texi (Configuring and compiling):
49234         Mention i686 and i586.
49235         * INSTALL: Regenerate.
49237 2013-03-12  Roland McGrath  <roland@hack.frob.com>
49239         * sysdeps/init_array/elf-init.c: New file.
49240         * csu/elf-init.c
49241         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
49242         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
49244         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
49245         __gmon_start__ as global, but as static with a .preinit_array pointer.
49246         * sysdeps/init_array/gmon-start.c: New file.  Use that.
49247         * sysdeps/init_array/crti.S: New file, empty except for comments.
49248         * sysdeps/init_array/crtn.S: Likewise.
49250 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
49252         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
49253         definining bcopy.
49254         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49255         Remove Prefer_SSE_for_memop.
49256         * sysdeps/x86_64/multiarch/init-arch.h: Remove
49257         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
49258         HAS_PREFER_SSE_FOR_MEMOP.
49259         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
49260         memset-x86-64.
49261         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49262         Remove bzero, memset ifunc support.
49263         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
49264         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
49265         * sysdeps/x86_64/multiarch/memset.S: Likewise.
49266         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
49268 2013-03-11  Andreas Schwab  <schwab@suse.de>
49270         [BZ #15234]
49271         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
49272         by SHLIB_COMPAT.
49273         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
49274         (GLIBC_2.16): Remove pthread_atfork.
49276 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
49278         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
49279         (ptestcases.h): Likewise.
49281 2013-03-08  Roland McGrath  <roland@hack.frob.com>
49283         * Makeconfig ($(common-objpfx)config.status): Depend on
49284         sysdeps/*/preconfigure{,.in} too.
49286 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
49288         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
49289         (__free_hook): Use void * instead of __malloc_ptr_t.
49290         (__malloc_hook): Likewise.
49291         (__realloc_hook): Likewise.
49292         (__memalign_hook): Likewise.
49293         (__after_morecore_hook): Likewise.
49294         * malloc/arena.c (save_malloc_hook): Likewise.
49295         (save_free_hook): Likewise.
49296         * malloc/hooks.c (malloc_hook_ini): Likewise.
49297         (realloc_hook_ini): Likewise.
49298         (memalign_hook_ini): Likewise.
49299         * malloc/malloc.c (malloc_hook_ini): Likewise.
49300         (realloc_hook_ini): Likewise.
49301         (memalign_hook_ini): Likewise.
49302         (__free_hook): Likewise.
49303         (__malloc_hook): Likewise.
49304         (__realloc_hook): Likewise.
49305         (__memalign_hook): Likewise.
49306         (__libc_malloc): Likewise.
49307         (__libc_free): Likewise.
49308         (__libc_realloc): Likewise.
49309         (__libc_memalign): Likewise.
49310         (__libc_valloc): Likewise.
49311         (__libc_pvalloc): Likewise.
49312         (__libc_calloc): Likewise.
49313         (__posix_memalign): Likewise.
49314         * malloc/morecore.c (__sbrk): Likewise.
49315         (__default_morecore): Likewise.
49317         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
49319         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
49320         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
49321         __malloc_ptrdiff_t.
49323         * malloc/malloc.h (__malloc_size_t): Remove macro.
49324         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
49325         __malloc_size_t.
49326         (old_memalign_hook): Likewise.
49327         (old_realloc_hook): Likewise.
49328         (struct hdr): Likewise.
49329         (flood): Likewise.
49330         (mallochook): Likewise.
49331         (memalignhook): Likewise.
49332         (reallochook): Likewise.
49333         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
49334         (tr_old_realloc_hook): Likewise.
49335         (tr_old_memalign_hook): Likewise.
49336         (tr_mallochook): Likewise.
49337         (tr_reallochook): Likewise.
49338         (tr_memalignhook): Likewise.
49340 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49342         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
49343         default_ldbl_pack and using as default implementation.
49344         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
49345         implementation.
49346         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
49347         redundant definition.
49348         (ldbl_insert_mantissa): Likewise.
49349         (ldbl_canonicalize): Likewise.
49350         (ldbl_nearbyint): Likewise.
49351         (ldbl_pack): Rename to ldbl_pack_ppc.
49352         (ldbl_unpack): Rename to ldbl_unpack_ppc.
49353         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
49354         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
49356 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49358         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
49359         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
49360         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
49361         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
49362         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
49363         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
49364         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
49365         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
49367 2013-03-07  Andreas Jaeger  <aj@suse.de>
49369         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49370         bits/mman-linux.h.
49372 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49374         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
49375         Include mpa.h and declare __MPEXP.
49376         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
49377         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
49378         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
49379         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
49380         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
49381         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
49382         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
49384         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
49385         (__slowpow): Use long double EXPL and LOGL functions to
49386         compute POW.
49387         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
49388         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
49389         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
49390         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
49391         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
49392         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
49394         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
49395         intermediate variable to calculate exponent.
49396         (__sqr): Likewise.
49397         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
49398         Likewise.
49399         (__sqr): Likewise.
49401         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
49402         [!NO__SQR]: Define __sqr.
49403         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
49404         and NO__SQR.  Remove all code except __mul and __sqr.  Include
49405         sysdeps/ieee754/dbl-64/mpa.c.
49406         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49408         [BZ #12723]
49409         * posix/Makefile (tests): Add tst-pathconf.
49410         * posix/tst-pathconf.c: New test case.
49411         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
49412         _PC_PIPE_BUF.
49413         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
49415 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
49417         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
49419 2013-03-06  Andreas Jaeger  <aj@suse.de>
49421         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
49422         definition via __MAP_ANONYMOUS.
49424         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
49425         it's not part of Linux headers.
49427         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
49428         (MAP_HUGE_MASK): Define.
49430         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49431         Define.
49432         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49433         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49434         Define.
49435         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49436         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49437         Define.
49438         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49439         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
49440         Define.
49441         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49443         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
49444         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
49445         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
49446         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
49447         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
49448         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
49450         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49451         Handle f2fs.
49453         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49454         Handle f2fs and efivarfs.
49456         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
49457         f2fs.
49459         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
49460         (EFIVARFS_MAGIC): Add.
49461         (F2FS_LINK_MAX): Add.
49463 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49465         * stdio-common/vfprintf.c: Replace __builtin_expect with
49466         __glibc_unlikely.
49468 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
49470         [BZ #13550]
49471         * sysdeps/generic/bp-sym.h: Remove file.
49472         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
49473         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
49474         <bp-sym.h> and <bp-asm.h>.
49475         (__longjmp): Don't use BP_SYM.
49476         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
49477         and <bp-asm.h>.
49478         (memcpy): Don't use BP_SYM.
49479         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
49480         <bp-sym.h> and <bp-asm.h>.
49481         (memcpy): Don't use BP_SYM.
49482         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
49483         <bp-asm.h>.
49484         (memcpy): Don't use BP_SYM.
49485         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
49486         <bp-asm.h>.
49487         (memset): Don't use BP_SYM.
49488         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49489         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49490         (__bzero): Don't use BP_SYM.
49491         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49492         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49493         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
49494         <bp-sym.h> and <bp-asm.h>.
49495         (memcmp): Don't use BP_SYM.  Remove comment about bounded
49496         pointers.
49497         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
49498         <bp-sym.h> and <bp-asm.h>.
49499         (memcpy): Don't use BP_SYM.
49500         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
49501         <bp-sym.h> and <bp-asm.h>.
49502         (memset): Don't use BP_SYM.
49503         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49504         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49505         (__bzero): Don't use BP_SYM.
49506         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49507         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49508         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
49509         <bp-sym.h> and <bp-asm.h>.
49510         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49511         pointers.
49512         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
49513         <bp-sym.h> and <bp-asm.h>.
49514         (memcpy): Don't use BP_SYM.
49515         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
49516         <bp-sym.h> and <bp-asm.h>.
49517         (memset): Don't use BP_SYM.
49518         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49519         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49520         (__bzero): Don't use BP_SYM.
49521         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49522         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49523         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
49524         <bp-sym.h> and <bp-asm.h>.
49525         (__memchr): Don't use BP_SYM.
49526         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
49527         <bp-sym.h> and <bp-asm.h>.
49528         (memcmp): Don't use BP_SYM.  Remove comment about bounded
49529         pointers.
49530         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
49531         <bp-sym.h> and <bp-asm.h>.
49532         (memcpy): Don't use BP_SYM.
49533         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
49534         <bp-sym.h> and <bp-asm.h>.
49535         (__mempcpy): Don't use BP_SYM.
49536         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
49537         <bp-sym.h> and <bp-asm.h>.
49538         (__memrchr): Don't use BP_SYM.
49539         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
49540         <bp-sym.h> and <bp-asm.h>.
49541         (memset): Don't use BP_SYM.
49542         (__bzero): Likewise.
49543         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
49544         <bp-sym.h> and <bp-asm.h>.
49545         (__rawmemchr): Don't use BP_SYM.
49546         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
49547         <bp-sym.h> and <bp-asm.h>.
49548         (__STRCMP): Don't use BP_SYM.
49549         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
49550         <bp-sym.h> and <bp-asm.h>.
49551         (strchr): Don't use BP_SYM.
49552         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
49553         <bp-sym.h> and <bp-asm.h>.
49554         (__strchrnul): Don't use BP_SYM.
49555         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
49556         <bp-sym.h> and <bp-asm.h>.
49557         (strlen): Don't use BP_SYM.
49558         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
49559         <bp-sym.h> and <bp-asm.h>.
49560         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49561         pointers.
49562         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
49563         <bp-sym.h> and <bp-asm.h>.
49564         (__strnlen): Don't use BP_SYM.
49565         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
49566         <bp-sym.h> and <bp-asm.h>.
49567         (__GI__setjmp): Don't use BP_SYM.
49568         (_setjmp): Likewise.
49569         (__sigsetjmp): Likewise.
49570         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
49571         (L(start_addresses)): Don't use BP_SYM.
49572         (_start): Likewise.
49573         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
49574         <bp-asm.h>.
49575         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
49576         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
49577         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49578         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49579         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
49580         <bp-asm.h>.
49581         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
49582         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
49583         about bounded pointers.
49584         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49585         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49586         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
49587         <bp-asm.h>.
49588         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49589         about bounded pointers.  Remove GKM FIXME comments.
49590         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49591         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
49592         <bp-asm.h>.
49593         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
49594         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
49595         Remove GKM FIXME comments.
49596         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49597         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49598         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
49599         <bp-asm.h>.
49600         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49601         about bounded pointers.  Remove GKM FIXME comment.
49602         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
49603         and <bp-asm.h>.
49604         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49605         pointers.
49606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
49607         <bp-sym.h> and <bp-asm.h>.
49608         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
49610         <bp-sym.h> and <bp-asm.h>.
49611         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49612         comment.
49614 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49616         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
49617         call free(NULL).
49619 2013-03-05  David S. Miller  <davem@davemloft.net>
49621         * po/es.po: Update from translation team.
49623 2013-03-05  Andreas Jaeger  <aj@suse.de>
49625         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
49626         <bits/mman-linux.h>.
49627         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49628         is fine.
49629         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
49630         <bits/mman-linux.h> to end of file.
49631         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49632         is fine.
49633         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
49634         <bits/mman-linux.h> to end of file.
49635         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49636         is fine.
49637         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
49638         <bits/mman-linux.h> to end of file.
49640         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
49641         (MCL_CURRENT, MCL_FUTURE): Define here.
49643 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49645         [BZ #15232]
49646         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
49647         attribute_hidden.
49648         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
49650 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49652         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
49653         fourth parameter needed for rt_sigprocmask syscall.
49654         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
49655         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49656         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
49657         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49658         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49659         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
49661 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
49663         [BZ #13550]
49664         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
49665         comment about bounded pointers.
49666         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
49667         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
49669 2013-03-04  Andreas Jaeger  <aj@suse.de>
49671         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
49672         common definitions.
49674         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
49675         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
49676         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
49677         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49678         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49679         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49681 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49683         [BZ #15055]
49684         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
49685         __ieee754_sqrl instead of __sqrl.
49687 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
49689         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
49690         * sysdeps/powerpc/fpu_control.h: ... here.
49691         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
49692         * sysdeps/powerpc/bits/fenvinline.h: ... here.
49693         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
49694         * sysdeps/powerpc/bits/mathinline.h: ... here.
49696 2013-03-01  Roland McGrath  <roland@hack.frob.com>
49698         * elf/dl-hwcaps.c (_dl_important_hwcaps):
49699         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
49700         to just [NEED_DL_SYSINFO_DSO].
49701         * elf/dl-support.c: Likewise.
49702         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
49703         * elf/rtld.c (dl_main): Likewise.
49704         * elf/setup-vdso.h (setup_vdso): Likewise.
49705         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
49706         * sysdeps/unix/sysv/linux/dl-sysdep.c
49707         (_dl_discover_osversion): Likewise.
49709 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
49711         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
49712         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
49714 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
49716         * NEWS: Mention libm performance improvements and non-x86 PI
49717         futex support.
49719         * csu/libc-start.c (__pthread_initialize_minimal): Change
49720         function arguments.
49721         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
49723 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
49725         [BZ #13550]
49726         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
49727         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
49728         <bp-sym.h> and <bp-asm.h>.
49729         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49730         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
49731         and <bp-asm.h>.
49732         (memcpy): Don't use BP_SYM.
49733         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
49734         <bp-asm.h>.
49735         (__mpn_add_n): Don't use BP_SYM.
49736         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
49737         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
49738         and <bp-asm.h>.
49739         (__mpn_addmul_1): Don't use BP_SYM.
49740         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49741         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
49742         <bp-sym.h>.
49743         (_setjmp): Don't use BP_SYM.
49744         (__novmx_setjmp): Likewise.
49745         (__GI__setjmp): Likewise.
49746         (__vmx_setjmp): Likewise.
49747         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
49748         <bp-sym.h>.
49749         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
49750         (__bzero): Don't use BP_SYM.
49751         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49752         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49753         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
49754         <bp-sym.h> and <bp-asm.h>.
49755         (memcpy): Don't use BP_SYM.
49756         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
49757         <bp-sym.h> and <bp-asm.h>.
49758         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49759         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
49760         <bp-sym.h> and <bp-asm.h>.
49761         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49762         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
49763         <bp-asm.h>.
49764         (__mpn_lshift): Don't use BP_SYM.
49765         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49766         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
49767         <bp-asm.h>.
49768         (memset): Don't use BP_SYM.
49769         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49770         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49771         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
49772         <bp-asm.h>.
49773         (__mpn_mul_1): Don't use BP_SYM.
49774         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49775         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
49776         <bp-sym.h> and <bp-asm.h>.
49777         (memcmp): Don't use BP_SYM.
49778         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
49779         <bp-sym.h> and <bp-asm.h>.
49780         (memcpy): Don't use BP_SYM.
49781         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
49782         <bp-sym.h> and <bp-asm.h>.
49783         (memset): Don't use BP_SYM.
49784         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
49785         <bp-sym.h> and <bp-asm.h>.
49786         (strncmp): Don't use BP_SYM.
49787         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
49788         <bp-sym.h> and <bp-asm.h>.
49789         (memcpy): Don't use BP_SYM.
49790         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
49791         <bp-sym.h> and <bp-asm.h>.
49792         (memset): Don't use BP_SYM.
49793         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
49794         <bp-sym.h> and <bp-asm.h>.
49795         (__memchr): Don't use BP_SYM.
49796         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
49797         <bp-sym.h> and <bp-asm.h>.
49798         (memcmp): Don't use BP_SYM.
49799         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
49800         <bp-sym.h> and <bp-asm.h>.
49801         (memcpy): Don't use BP_SYM.
49802         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
49803         <bp-sym.h> and <bp-asm.h>.
49804         (__mempcpy): Don't use BP_SYM.
49805         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
49806         <bp-sym.h> and <bp-asm.h>.
49807         (__memrchr): Don't use BP_SYM.
49808         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
49809         <bp-sym.h> and <bp-asm.h>.
49810         (memset): Don't use BP_SYM.
49811         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
49812         <bp-sym.h> and <bp-asm.h>.
49813         (__rawmemchr): Don't use BP_SYM.
49814         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
49815         <bp-sym.h> and <bp-asm.h>.
49816         (__STRCMP): Don't use BP_SYM.
49817         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
49818         <bp-sym.h> and <bp-asm.h>.
49819         (strchr): Don't use BP_SYM.
49820         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
49821         <bp-sym.h> and <bp-asm.h>.
49822         (__strchrnul): Don't use BP_SYM.
49823         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
49824         <bp-sym.h> and <bp-asm.h>.
49825         (strlen): Don't use BP_SYM.
49826         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
49827         <bp-sym.h> and <bp-asm.h>.
49828         (strncmp): Don't use BP_SYM.
49829         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
49830         <bp-sym.h> and <bp-asm.h>.
49831         (__strnlen): Don't use BP_SYM.
49832         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
49833         <bp-asm.h>.
49834         (__mpn_rshift): Don't use BP_SYM.
49835         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49836         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
49837         <bp-sym.h> and <bp-asm.h>.
49838         (__sigsetjmp): Don't use BP_SYM.
49839         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
49840         (L(start_addresses)): Don't use BP_SYM.
49841         (_start): Likewise.
49842         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
49843         <bp-asm.h>.
49844         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
49845         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49846         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49847         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
49848         <bp-asm.h>.
49849         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
49850         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49851         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49852         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
49853         <bp-asm.h>.
49854         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
49855         comments.
49856         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49857         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
49858         <bp-asm.h>.
49859         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
49860         FIXME comments.
49861         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49862         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49863         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
49864         <bp-asm.h>.
49865         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
49866         comment.
49867         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
49868         and <bp-asm.h>.
49869         (strncmp): Don't use BP_SYM,
49870         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
49871         <bp-asm.h>.
49872         (__mpn_sub_n): Don't use BP_SYM.
49873         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49874         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
49875         and <bp-asm.h>.
49876         (__mpn_submul_1): Don't use BP_SYM.
49877         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
49879         <bp-sym.h> and <bp-asm.h>.
49880         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
49882         <bp-sym.h> and <bp-asm.h>.
49883         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49884         comment.
49886 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49888         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
49889         Use ZK to minimize writes to Z.
49890         (sub_magnitudes): Simplify code a bit.
49891         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
49892         Use ZK to minimize writes to Z.
49893         (sub_magnitudes): Simplify code a bit.
49895 2013-02-27  Roland McGrath  <roland@hack.frob.com>
49897         * csu/gmon-start.c: Add special exception to license text.
49899 2013-02-27  Richard Henderson  <rth@redhat.com>
49901         * scripts/config.guess: Update from config.git.
49902         * scripts/config.sub: Likewise.
49904 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49906         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
49908         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
49910         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
49912         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
49914         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
49916 2013-02-26  Roland McGrath  <roland@hack.frob.com>
49918         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
49919         [$(build-shared = yes].
49921 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49923         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
49924         (__mul): Reduce iterations for calculating mantissa.
49926         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
49927         MPTWO.
49928         (__mpranred): Likewise.
49930         [BZ #15160]
49931         * malloc/memusagestat.c (main): Draw graphs for heap and stack
49932         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
49934 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
49936         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
49937         Define __attribute__.
49939 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49941         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
49942         unused.
49943         * posix/regex_internal.h (__attribute): Remove.
49944         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
49945         (re_string_context_at): Likewise.
49946         (bitset_not): Use __attribute__ and mark function as possibly
49947         unused.
49948         (bitset_merge): Likewise.
49949         (bitset_mask): Likewise.
49950         (re_string_char_size_at): Likewise.
49951         (re_string_wchar_at): Likewise.
49952         (re_string_elem_size_at): Likewise.
49954 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49956         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
49957         code.
49958         (cc32): Likewise.
49960         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
49961         (__acr): Likewise.
49962         (__cpy): Likewise.
49963         (norm): Likewise.
49964         (denorm): Likewise.
49965         (__dbl_mp): Likewise.
49966         (add_magnitudes): Likewise.
49967         (sub_magnitudes): Likewise.
49968         (__mul): Likewise.
49969         (__inv): Likewise.
49971         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
49972         style.
49974         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
49975         style.
49977         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
49978         code.
49980         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
49981         up changes with default code.
49982         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
49983         Likewise.
49985 2013-02-24  Allan McRae  <allan@archlinux.org>
49987         * manual/socket.texi (The Internet Namespace): Order menu items
49988         to match that in the file.
49990         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
49991         node listing of the info page menu.
49993 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
49995         [BZ #13550]
49996         * sysdeps/i386/bp-asm.h: Remove file.
49997         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
49998         (PARMS): Do not use macros from bp-asm.h.
49999         (S1): Likewise.
50000         (S2): Likewise.
50001         (SIZE): Likewise.
50002         (__mpn_add_n): Do not use BP_SYM
50003         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
50004         "bp-asm.h".
50005         (PARMS): Do not use macros from bp-asm.h.
50006         (S1): Likewise.
50007         (SIZE): Likewise.
50008         (__mpn_addmul_1): Do not use BP_SYM
50009         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
50010         "bp-asm.h".
50011         (PARMS): Do not use macros from bp-asm.h.
50012         (SIGMSK): Likewise.
50013         (_setjmp): Likewise.  Do not use BP_SYM.
50014         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
50015         "bp-asm.h".
50016         (PARMS): Do not use macros from bp-asm.h.
50017         (SIGMSK): Likewise.
50018         (setjmp): Likewise.  Do not use BP_SYM.
50019         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
50020         "bp-asm.h".
50021         (PARMS): Do not use macros from bp-asm.h.
50022         (__frexp): Do not use BP_SYM.
50023         (frexp): Likewise.
50024         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
50025         "bp-asm.h".
50026         (PARMS): Do not use macros from bp-asm.h.
50027         (__frexpf): Do not use BP_SYM.
50028         (frexpf): Likewise.
50029         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
50030         "bp-asm.h".
50031         (PARMS): Do not use macros from bp-asm.h.
50032         (__frexpl): Do not use BP_SYM.
50033         (frexpl): Likewise.
50034         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
50035         "bp-asm.h".
50036         (PARMS): Do not use macros from bp-asm.h.
50037         (__remquo): Do not use BP_SYM.
50038         (remquo): Likewise.
50039         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
50040         "bp-asm.h".
50041         (PARMS): Do not use macros from bp-asm.h.
50042         (__remquof): Do not use BP_SYM.
50043         (remquof): Likewise.
50044         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
50045         "bp-asm.h".
50046         (PARMS): Do not use macros from bp-asm.h.
50047         (__remquol): Do not use BP_SYM.
50048         (remquol): Likewise.
50049         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
50050         "bp-asm.h".
50051         (PARMS): Do not use macros from bp-asm.h.
50052         (DEST): Likewise.
50053         (SRC): Likewise.
50054         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
50055         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
50056         "bp-asm.h".
50057         (PARMS): Do not use macros from bp-asm.h.
50058         (strlen): Do not use BP_SYM.
50059         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
50060         "bp-asm.h".
50061         (PARMS): Do not use macros from bp-asm.h.
50062         (S1): Likewise.
50063         (S2): Likewise.
50064         (SIZE): Likewise.
50065         (__mpn_add_n): Do not use BP_SYM.
50066         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
50067         "bp-asm.h".
50068         (PARMS): Do not use macros from bp-asm.h.
50069         (S1): Likewise.
50070         (SIZE): Likewise.
50071         (__mpn_addmul_1): Do not use BP_SYM.
50072         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
50073         weak_alias.
50074         (bzero): Likewise.
50075         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
50076         "bp-asm.h".
50077         (PARMS): Do not use macros from bp-asm.h.
50078         (S): Likewise.
50079         (SIZE): Likewise.
50080         (__mpn_lshift): Do not use BP_SYM.
50081         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
50082         "bp-asm.h".
50083         (PARMS): Do not use macros from bp-asm.h.
50084         (DEST): Likewise.
50085         (SRC): Likewise.
50086         (LEN): Likewise.
50087         (memcpy): Likewise.  Do not use BP_SYM.
50088         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
50089         libc_hidden_def and weak_alias.
50090         (mempcpy): Do not use BP_SYM in weak_alias.
50091         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
50092         "bp-asm.h".
50093         (PARMS): Do not use macros from bp-asm.h.
50094         (DEST): Likewise.
50095         (LEN): Likewise.
50096         [!BZERO_P] (CHR): Likewise.
50097         (memset): Likewise.  Do not use BP_SYM.
50098         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
50099         "bp-asm.h".
50100         (PARMS): Do not use macros from bp-asm.h.
50101         (S1): Likewise.
50102         (SIZE): Likewise.
50103         (__mpn_mul_1): Do not use BP_SYM.
50104         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
50105         "bp-asm.h".
50106         (PARMS): Do not use macros from bp-asm.h.
50107         (S): Likewise.
50108         (SIZE): Likewise.
50109         (__mpn_rshift): Do not use BP_SYM.
50110         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
50111         "bp-asm.h".
50112         (PARMS): Do not use macros from bp-asm.h.
50113         (STR): Likewise.
50114         (CHR): Likewise.
50115         (strchr): Likewise.  Do not use BP_SYM.
50116         (index): Do not use BP_SYM in weak_alias.
50117         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
50118         "bp-asm.h".
50119         (PARMS): Do not use macros from bp-asm.h.
50120         (DEST): Likewise.
50121         (SRC): Likewise.
50122         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
50123         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
50124         "bp-asm.h".
50125         (PARMS): Do not use macros from bp-asm.h.
50126         (strlen): Do not use BP_SYM.
50127         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
50128         "bp-asm.h".
50129         (PARMS): Do not use macros from bp-asm.h.
50130         (S1): Likewise.
50131         (S2): Likewise.
50132         (SIZE): Likewise.
50133         (__mpn_sub_n): Do not use BP_SYM.
50134         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
50135         "bp-asm.h".
50136         (PARMS): Do not use macros from bp-asm.h.
50137         (S1): Likewise.
50138         (SIZE): Likewise.
50139         (__mpn_submul_1): Do not use BP_SYM.
50140         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
50141         "bp-asm.h".
50142         (PARMS): Do not use macros from bp-asm.h.
50143         (S1): Likewise.
50144         (S2): Likewise.
50145         (SIZE): Likewise.
50146         (__mpn_add_n): Do not use BP_SYM.
50147         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
50148         weak_alias.
50149         (bzero): Likewise.
50150         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
50151         "bp-asm.h".
50152         (PARMS): Do not use macros from bp-asm.h.
50153         (BLK2): Likewise.
50154         (LEN): Likewise.
50155         (memcmp): Do not use BP_SYM.
50156         (bcmp): Do not use BP_SYM in weak_alias.
50157         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
50158         "bp-asm.h".
50159         (PARMS): Do not use macros from bp-asm.h.
50160         (DEST): Likewise.
50161         (SRC): Likewise.
50162         (LEN): Likewise.
50163         (memcpy): Likewise.  Do not use BP_SYM.
50164         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
50165         "bp-asm.h".
50166         (PARMS): Do not use macros from bp-asm.h.
50167         (DEST): Likewise.
50168         (SRC): Likewise.
50169         (LEN): Likewise.
50170         (memmove): Likewise.  Do not use BP_SYM.
50171         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
50172         "bp-asm.h".
50173         (PARMS): Do not use macros from bp-asm.h.
50174         (DEST): Likewise.
50175         (SRC): Likewise.
50176         (LEN): Likewise.
50177         (__mempcpy): Likewise.  Do not use BP_SYM.
50178         (mempcpy): Do not use BP_SYM in weak_alias.
50179         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
50180         "bp-asm.h".
50181         (PARMS): Do not use macros from bp-asm.h.
50182         (DEST): Likewise.
50183         (LEN): Likewise.
50184         [!BZERO_P] (CHR): Likewise.
50185         (memset): Likewise.  Do not use BP_SYM.
50186         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
50187         "bp-asm.h".
50188         (PARMS): Do not use macros from bp-asm.h.
50189         (STR2): Likewise.
50190         (strcmp): Do not use BP_SYM.
50191         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
50192         "bp-asm.h".
50193         (PARMS): Do not use macros from bp-asm.h.
50194         (STR): Likewise.
50195         (DELIM): Likewise.
50196         [USE_AS_STRTOK_R] (SAVE): Likewise.
50197         (FUNCTION): Likewise.  Do not use BP_SYM.
50198         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
50199         aliases.
50200         (strtok_r): Likewise.
50201         (__GI___strtok_r): Likewise.
50202         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
50203         (PARMS): Do not use macros from bp-asm.h.
50204         (S): Likewise.
50205         (SIZE): Likewise.
50206         (__mpn_lshift): Do not use BP_SYM.
50207         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
50208         (PARMS): Do not use macros from bp-asm.h.
50209         (STR): Likewise.
50210         (CHR): Likewise.
50211         (__memchr): Do not use BP_SYM.
50212         (memchr): Do not use BP_SYM in weak_alias.
50213         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
50214         (PARMS): Do not use macros from bp-asm.h.
50215         (BLK2): Likewise.
50216         (LEN): Likewise.
50217         (memcmp): Do not use BP_SYM.
50218         (bcmp): Do not use BP_SYM in weak_alias.
50219         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
50220         (PARMS): Do not use macros from bp-asm.h.
50221         (S1): Likewise.
50222         (SIZE): Likewise.
50223         (__mpn_mul_1): Do not use BP_SYM.
50224         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
50225         "bp-asm.h".
50226         (PARMS): Do not use macros from bp-asm.h.
50227         (STR): Likewise.
50228         (CHR): Likewise.
50229         (__rawmemchr): Do not use BP_SYM.
50230         (rawmemchr): Do not use BP_SYM in weak_alias.
50231         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
50232         (PARMS): Do not use macros from bp-asm.h.
50233         (S): Likewise.
50234         (SIZE): Likewise.
50235         (__mpn_rshift): Do not use BP_SYM.
50236         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
50237         (PARMS): Do not use macros from bp-asm.h.
50238         (SIGMSK): Likewise.
50239         (__sigsetjmp): Likewise.  Do not use BP_SYM.
50240         * sysdeps/i386/start.S: Do not include "bp-sym.h".
50241         (_start): Do not use BP_SYM.
50242         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
50243         (PARMS): Do not use macros from bp-asm.h.
50244         (DEST): Likewise.
50245         (SRC): Likewise.
50246         (__stpcpy): Likewise.  Do not use BP_SYM.
50247         (stpcpy): Do not use BP_SYM in weak_alias.
50248         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
50249         "bp-asm.h".
50250         (PARMS): Do not use macros from bp-asm.h.
50251         (DEST): Likewise.
50252         (SRC): Likewise.
50253         (LEN): Likewise.
50254         (__stpncpy): Likewise.  Do not use BP_SYM.
50255         (stpncpy): Do not use BP_SYM in weak_alias.
50256         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
50257         (PARMS): Do not use macros from bp-asm.h.
50258         (STR): Likewise.
50259         (CHR): Likewise.
50260         (strchr): Likewise.  Do not use BP_SYM.
50261         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
50262         "bp-asm.h".
50263         (PARMS): Do not use macros from bp-asm.h.
50264         (STR): Likewise.
50265         (CHR): Likewise.
50266         (__strchrnul): Likewise.  Do not use BP_SYM.
50267         (strchrnul): Do not use BP_SYM in weak_alias.
50268         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
50269         "bp-asm.h".
50270         (PARMS): Do not use macros from bp-asm.h.
50271         (STOP): Likewise.
50272         (strcspn): Do not use BP_SYM.
50273         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
50274         "bp-asm.h".
50275         (PARMS): Do not use macros from bp-asm.h.
50276         (STR): Likewise.
50277         (STOP): Likewise.
50278         (strpbrk): Likewise.  Do not use BP_SYM.
50279         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
50280         "bp-asm.h".
50281         (PARMS): Do not use macros from bp-asm.h.
50282         (STR): Likewise.
50283         (CHR): Likewise.
50284         (strrchr): Likewise.  Do not use BP_SYM.
50285         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
50286         (PARMS): Do not use macros from bp-asm.h.
50287         (SKIP): Likewise.
50288         (strspn): Do not use BP_SYM.
50289         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
50290         (PARMS): Do not use macros from bp-asm.h.
50291         (STR): Likewise.
50292         (DELIM): Likewise.
50293         (SAVE): Likewise.
50294         (FUNCTION): Likewise.  Do not use BP_SYM.
50295         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
50296         aliases.
50297         (strtok_r): Likewise.
50298         (__GI___strtok_r): Likewise.
50299         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
50300         (PARMS): Do not use macros from bp-asm.h.
50301         (S1): Likewise.
50302         (S2): Likewise.
50303         (SIZE): Likewise.
50304         (__mpn_sub_n): Do not use BP_SYM.
50305         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
50306         "bp-asm.h".
50307         (PARMS): Do not use macros from bp-asm.h.
50308         (S1): Likewise.
50309         (SIZE): Likewise.
50310         (__mpn_submul_1): Do not use BP_SYM.
50311         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
50312         <bp-sym.h>.
50313         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
50314         and <bp-asm.h>.
50315         (PARMS): Do not use macros from bp-asm.h.
50316         (FLAGS): Likewise.
50317         (PTID): Likewise.
50318         (TLS): Likewise.
50319         (CTID): Likewise.
50320         (__clone): Do not use BP_SYM.
50321         (clone): Do not use BP_SYM in weak_alias.
50322         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
50323         and <bp-asm.h>.
50324         (PARMS): Do not use macros from bp-asm.h.
50325         (LEN): Likewise.
50326         (__mmap64): Do not use BP_SYM.
50327         (mmap64): Do not use BP_SYM in weak_alias.
50328         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
50329         <bp-sym.h> and <bp-asm.h>.
50330         (PARMS): Do not use macros from bp-asm.h.
50331         (__posix_fadvise64_l64): Do not use BP_SYM.
50332         * sysdeps/unix/sysv/linux/i386/semtimedop.S
50333         (PARMS): Do not use macros from bp-asm.h.
50334         (NSOPS): Likewise.
50335         (semtimedop): Do not use BP_SYM.
50336         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
50337         and <bp-asm.h>.
50339 2013-02-21  Allan McRae  <allan@archlinux.org>
50341         * manual/message.texi (Charset conversion in gettext):
50342         Move @end statement to beginning of line.
50344 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50346         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
50347         static.
50348         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
50349         Likewise.
50351         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
50352         (denorm): Likewise.
50353         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
50354         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
50356 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50358         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
50359         tail-call to the resolved function if pltexit isn't needed.
50361 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50363         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
50364         or Y being zero as being unlikely.
50365         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
50366         Likewise.
50368 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
50370         * manual/nss.texi (System Databases and Name Service Switch):
50371         Remove frobnicate @pxref.
50373 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
50375         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
50376         __attribute__ ((unused)) to __attribute__ ((__unused__)).
50378 2013-02-20  Petr Machata  <pmachata@redhat.com>
50380         * elf/elf.h (R_ARM_TARGET1): New macro.
50381         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
50382         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
50383         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
50384         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
50385         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
50386         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
50387         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
50388         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
50389         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
50390         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
50391         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
50392         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
50393         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
50394         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
50395         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
50396         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
50397         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
50398         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
50399         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
50400         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
50401         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
50402         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
50403         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
50404         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
50405         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
50406         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
50407         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
50408         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
50409         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
50410         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
50411         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
50412         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
50413         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
50414         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
50415         (R_ARM_THM_GOT_BREL12): Likewise.
50416         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
50417         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
50418         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
50419         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
50420         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
50421         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
50422         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
50423         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
50424         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
50426 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
50428         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
50429         __attribute_used__ to __attribute__ ((unused)).
50431 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50433         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
50434         powerpc mpa.c.
50435         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
50436         comment formatting.
50437         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
50439 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
50441         [BZ #13550]
50442         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
50443         Remove macro.
50444         (ENTER): Remove both macro definitions.
50445         (LEAVE): Likewise.
50446         (CHECK_BOUNDS_LOW): Likewise.
50447         (CHECK_BOUNDS_HIGH): Likewise.
50448         (CHECK_BOUNDS_BOTH): Likewise.
50449         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
50450         (RETURN_BOUNDED_POINTER): Likewise.
50451         (RETURN_NULL_BOUNDED_POINTER): Likewise.
50452         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
50453         (POP_ERRNO_LOCATION_RETURN): Likewise.
50454         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
50455         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50456         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
50457         macros.
50458         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50459         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
50460         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
50461         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
50462         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
50463         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
50464         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
50465         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
50466         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
50467         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
50468         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
50469         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
50470         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50471         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
50472         removed macros.
50473         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50474         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
50475         macros.
50476         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50477         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
50478         * sysdeps/i386/i586/memset.S (memset): Likewise.
50479         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
50480         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50481         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
50482         macros.
50483         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50484         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
50485         Change uses of L(2) to L(out).
50486         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
50487         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
50488         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
50489         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50490         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
50491         removed macros.
50492         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50493         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
50494         macros.
50495         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50496         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
50497         (RETURN): Do not use macro LEAVE.
50498         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
50499         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
50500         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
50501         * sysdeps/i386/i686/memset.S (memset): Likewise.
50502         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
50503         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
50504         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50505         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
50506         Likewise.
50507         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50508         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
50509         L(1_2) and L(1_3) into L(1).
50510         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
50511         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
50512         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50513         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
50514         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50515         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
50516         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
50517         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50518         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
50519         macros.
50520         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
50521         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50522         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
50523         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
50524         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
50525         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50526         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
50527         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
50528         * sysdeps/i386/strcspn.S (strcspn): Likewise.
50529         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
50530         * sysdeps/i386/strrchr.S (strrchr): Likewise.
50531         * sysdeps/i386/strspn.S (strspn): Likewise.
50532         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
50533         conditional code.
50534         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50535         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
50536         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
50537         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
50538         L(1_3) into L(1_1).
50539         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
50540         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50541         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
50542         macros.
50543         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50545 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
50547         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
50548         macro.
50550 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50552         * math/atest-exp.c (exp_mpn): Remove ROUND.
50553         * math/atest-exp2.c (exp_mpn): Likewise.
50554         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
50556         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
50557         * stdlib/tst-tls-atexit-lib.c: Likewise.
50558         * stdlib/tst-tls-atexit.c: Likewise.
50560 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50562         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
50563         and __attribute_alloc_size__.
50565 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50567         * include/programs/xmalloc.h: Change __attribute_alloc_size to
50568         __attribute_alloc_size__.
50569         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
50570         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
50572 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50574         * include/programs/xmalloc.h: New file.
50575         * catgets/gencat.c: Include it.
50576         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
50577         * elf/pldd.c: Likewise.
50578         * iconv/iconv_charmap.c: Likewise.
50579         * iconv/iconvconfig.c: Likewise.
50580         * iconv/strtab.c: Likewise.
50581         * locale/programs/locale.c: Likewise.
50582         * locale/programs/localedef.h: Likewise.
50583         * locale/programs/simple-hash.c: Likewise.
50584         * nscd/nscd.h: Likewise.
50585         * nss/makedb.c: Likewise.
50586         * sysdeps/generic/ldconfig.h: Likewise.
50588 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50590         * Versions.def: Add GLIBC_2.18.
50591         * include/link.h (struct link_map): New member l_tls_dtor_count.
50592         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
50593         (__call_tls_dtors): Likewise.
50594         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
50595         __cxa_thread_atexit_impl.
50596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50597         Likewise.
50598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50599         Likewise.
50600         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50601         Likewise.
50602         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50603         Likewise.
50604         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
50605         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
50606         Likewise.
50607         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
50608         Likewise.
50609         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
50610         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50611         Likewise.
50612         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
50613         (tests): Add test case tst-tls-atexit.
50614         (modules-names): Add shared library for tst-tls-atexit.
50615         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
50616         (GLIBC_PRIVATE): Add __call_tls_dtors.
50617         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
50618         for libstdc++.
50619         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
50620         * stdlib/tst-tls-atexit.c: New test case.
50621         * stdlib/tst-tls-atexit-lib.c: New test case.
50623         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
50625         * elf/Versions (ld): Add _dl_find_dso_for_object.
50626         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
50627         * elf/dl-open.c (_dl_find_dso_for_object): New function.
50628         (dl_open_worker): Use _dl_find_dso_for_object.
50629         * elf/dl-sym.c (do_sym): Likewise.
50630         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
50632 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50634         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
50635         Syntactic changes only.
50636         (_dl_runtime_profile): Do a tail-call to the resolved function.
50638 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
50640         [BZ #13550]
50641         * sysdeps/x86_64/bp-asm.h: Remove file.
50642         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
50643         <bp-sym.h> and <bp-asm.h>.
50644         (__clone): Do not use BP_SYM.
50645         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
50646         <bp-sym.h> and <bp-asm.h>.
50647         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50648         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
50649         "bp-asm.h".
50650         (_setjmp): Do not use BP_SYM.
50651         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
50652         "bp-asm.h".
50653         (setjmp): Do not use BP_SYM.
50654         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
50655         libc_hidden_def.
50656         (mempcpy): Do not use BP_SYM in weak_alias.
50657         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
50658         "bp-asm.h".
50659         (strchr): Do not use BP_SYM.
50660         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
50661         "bp-asm.h".
50662         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
50663         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
50664         (_start): Do not use BP_SYM.
50665         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
50666         "bp-asm.h".
50667         (strcat): Do not use BP_SYM.
50668         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
50669         "bp-asm.h".
50670         (STRCMP): Do not use BP_SYM.
50671         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
50672         "bp-asm.h".
50673         (STRCPY): Do not use BP_SYM.
50674         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
50675         "bp-asm.h".
50676         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
50677         "bp-asm.h".
50678         (FUNCTION): Do not use BP_SYM.
50679         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
50680         weak_alias.
50681         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
50683 2013-02-17  Andreas Jaeger  <aj@suse.de>
50685         * time/Versions: Sort entries.
50686         * string/Versions: Likewise.
50687         * resolv/Versions: Likewise.
50688         * posix/Versions: Likewise.
50689         * iconv/Versions: Likewise.
50690         * elf/Versions: Likewise.
50691         * wcsmbs/Versions: Likewise.
50693 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50695         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
50696         loop termination condition.
50698         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
50699         variable to calculate EZ.
50700         (__sqr): Likewise.
50702         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
50703         the lower precision input.
50705 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
50707         [BZ #13550]
50708         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
50709         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
50710         (run-via-rtld-prefix): Do not handle %-bp tests.
50711         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
50712         (all-object-suffixes): Remove .ob.
50713         (bppfx): Remove variable.
50714         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
50715         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
50716         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
50717         [$(build-bounded) = yes] (libtype.ob): Likewise.
50718         * Makerules (elide-routines.ob): Remove variable.
50719         (do-tests-clean): Do not handle *-bp.out.
50720         (common-mostlyclean): Do not handle *-bp and *-bp.out.
50721         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
50722         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
50723         (tests): Do not include $(tests-bp.out).
50724         (xtests): Do not include $(xtests-bp.out).
50725         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
50726         [$(build-bounded) = yes] ($(addprefix
50727         $(objpfx),$(binaries-bounded))): Remove rule.
50728         ($(objpfx)%-bp.out): Remove rule.
50729         * config.make.in (build-bounded): Remove variable.
50730         * crypt/Makefile [$(build-bounded) = yes]
50731         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
50732         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
50733         append to variable.
50734         [$(build-bounded) = yes] (install-lib): Likewise.
50735         [$(build-bounded) = yes] (generated): Likewise.
50736         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
50737         Remove rule.
50738         * intl/Makefile [$(build-bounded) = yes]
50739         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
50740         * math/Makefile [$(build-bounded) = yes]
50741         ($(tests:%=$(objpfx)%-bp): Likewise.
50742         * misc/Makefile [$(build-bounded) = yes]
50743         ($(objpfx)tst-tsearch-bp): Likewise.
50744         * nptl/Makeconfig (bounded-thread-library): Remove variable.
50745         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
50746         Remove dependency.
50747         * string/Makefile (o-objects.ob): Remove variable.
50748         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
50749         (CFLAGS-.ob): Remove variable.
50750         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
50751         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
50752         both definitions of variable.
50753         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
50754         (ASFLAGS-.ob): Remove variable.
50756 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
50758         [BZ #13550]
50759         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
50760         Remove __BOUNDED_POINTERS__ from condition.
50761         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
50762         * string/bits/string2.h [!__NO_STRING_INLINES &&
50763         !__BOUNDED_POINTERS__]: Likewise.
50764         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
50765         Likewise.
50766         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
50767         Remove conditional code.
50768         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
50769         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
50770         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
50771         condition.
50773         [BZ #13550]
50774         * csu/libc-start.c: Do not include <bp-sym.h>.
50775         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
50776         * elf/dl-open.c: Do not include <bp-sym.h>.
50777         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
50778         * math/fegetenv.c: Do not include <bp-sym.h>.
50779         (fegetenv): Do not use BP_SYM in versioned symbols.
50780         * nptl/sysdeps/pthread/bits/libc-lockP.h
50781         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
50782         <bp-sym.h>.
50783         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50784         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
50785         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50786         (__pthread_mutex_destroy): Likewise.
50787         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50788         (__pthread_mutex_lock): Likewise.
50789         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50790         (__pthread_mutex_trylock): Likewise.
50791         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50792         (__pthread_mutex_unlock): Likewise.
50793         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50794         (__pthread_mutexattr_init): Likewise.
50795         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50796         (__pthread_mutexattr_destroy): Likewise.
50797         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50798         (__pthread_mutexattr_settype): Likewise.
50799         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50800         (__pthread_rwlock_init): Likewise.
50801         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50802         (__pthread_rwlock_destroy): Likewise.
50803         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50804         (__pthread_rwlock_rdlock): Likewise.
50805         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50806         (__pthread_rwlock_tryrdlock): Likewise.
50807         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50808         (__pthread_rwlock_wrlock): Likewise.
50809         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50810         (__pthread_rwlock_trywrlock): Likewise.
50811         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50812         (__pthread_rwlock_unlock): Likewise.
50813         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50814         (__pthread_key_create): Likewise.
50815         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50816         (__pthread_setspecific): Likewise.
50817         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50818         (__pthread_getspecific): Likewise.
50819         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
50820         Likewise.
50821         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50822         (_pthread_cleanup_push_defer): Likewise.
50823         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50824         (_pthread_cleanup_pop_restore): Likewise.
50825         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50826         (pthread_setcancelstate): Likewise.
50827         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
50828         <bp-sym.h>.
50829         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
50830         (memchr): Do not use BP_SYM in weak_alias.
50831         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
50832         (fegetenv): Do not use BP_SYM in versioned symbols.
50833         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
50834         (fesetenv): Do not use BP_SYM in versioned symbols.
50835         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
50836         (feupdateenv): Do not use BP_SYM in versioned symbols.
50837         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
50838         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
50839         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
50840         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
50841         (open64): Do not use BP_SYM in weak_alias.
50842         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
50843         (fegetenv): Do not use BP_SYM in versioned symbols.
50844         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
50845         (fesetenv): Do not use BP_SYM in versioned symbols.
50846         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
50847         (feupdateenv): Do not use BP_SYM in versioned symbols.
50848         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
50849         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
50850         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
50851         (feraiseexcept): Do not use BP_SYM in versioned symbols.
50852         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
50853         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
50854         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
50855         <bp-sym.h>.
50856         (__libc_start_main): Do not use BP_SYM.
50858 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50860         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
50861         redundant return line.
50862         (norm): Likewise.
50863         (denorm): Likewise.
50864         (dbl_mp): Likewise.
50865         (sub_magnitudes): Likewise.
50866         (__add): Likewise.
50867         (__sub): Likewise.
50868         (__mul): Likewise.
50869         (__inv): Likewise.
50870         (__dvd): Likewise.
50871         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
50872         (norm): Likewise.
50873         (denorm): Likewise.
50874         (dbl_mp): Likewise.
50875         (sub_magnitudes): Likewise.
50876         (__add): Likewise.
50877         (__sub): Likewise.
50878         (__mul): Likewise.
50879         (__inv): Likewise.
50880         (__dvd): Likewise.
50882         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
50883         instead of __mul.
50884         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50885         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
50886         (cc32): Likewise.
50888         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
50889         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
50890         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
50891         of __mul for squares.
50892         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
50893         function
50894         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
50895         Likewise.
50896         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
50897         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50899 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
50901         [BZ #13550]
50902         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
50903         code.
50904         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
50905         prototype or function definition.  Rename ubp_* variables and
50906         parameters.  Remove argv definitions conditional on
50907         [__BOUNDED_POINTERS__].
50908         * debug/backtrace.c (__backtrace): Do not use __unbounded.
50909         * elf/dl-runtime.c (_dl_fixup): Likewise.
50910         * include/set-hooks.h (RUN_HOOK): Likewise.
50911         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
50912         definition.
50913         * string/strcpy.c (strcpy): Do not use __unbounded.
50914         * sysdeps/generic/frame.h (struct layout): Likewise.
50915         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
50916         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
50917         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
50918         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
50919         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
50920         (__backtrace): Likewise.
50921         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
50922         use __ptrvalue.
50923         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
50924         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
50925         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
50926         Likewise.
50927         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
50928         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
50929         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
50930         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
50931         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
50932         Do not use __unbounded.
50933         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
50934         Rename __unboundedrlimits parameter to rlimits in prototype.
50935         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
50936         Do not use __unbounded.
50937         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
50938         not use __ptrvalue.
50939         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
50940         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
50941         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
50942         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
50943         __ptrvalue or __unbounded.
50944         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
50945         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
50946         use __unbounded.
50947         (__new_msgctl): Do not use __ptrvalue.
50948         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
50949         __unbounded.
50950         (__libc_msgrcv): Do not use __ptrvalue.
50951         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
50952         startup_info): Do not use __unbounded.
50953         (__libc_start_main): Likewise.  Rename ubp_* variables and
50954         parameters.  Remove argv definitions conditional on
50955         [__BOUNDED_POINTERS__].
50956         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
50957         __ptrvalue.
50958         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
50959         use __unbounded.
50960         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
50961         or __ptrvalue.
50962         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
50963         use __unbounded.
50964         (__new_shmctl): Do not use __ptrvalue.
50965         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
50966         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
50967         Likewise.
50968         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
50969         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
50970         (__libc_sigaction): Likewise.
50971         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
50972         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
50973         Likewise.
50974         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
50976 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
50978         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
50980         * string/mempcpy.c: Implement by calling memcpy.
50982 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50984         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
50986         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
50987         evaluation.
50989         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
50990         values in the mantissa.
50992         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
50993         minimize writes to Z.
50994         (sub_magnitudes): Simplify code a bit.
50996 2013-02-12  Roland McGrath  <roland@hack.frob.com>
50998         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
50999         from the message.  The linker prefixes all warnings with that already.
51001 2013-02-12  Andreas Schwab  <schwab@suse.de>
51003         [BZ #15078]
51004         * posix/regexec.c (extend_buffers): Add parameter min_len.
51005         (check_matching): Pass minimum needed length.
51006         (clean_state_log_if_needed): Likewise.
51007         (get_subexp): Likewise.
51008         * posix/Makefile (tests): Add bug-regex34.
51009         (bug-regex34-ENV): Define.
51010         * posix/bug-regex34.c: New file.
51012         [BZ #11561]
51013         * posix/regcomp.c (parse_bracket_exp): When looking up collating
51014         elements compare against the byte sequence of it, not its name.
51015         * posix/Makefile (tests): Add bug-regex35.
51016         (bug-regex35-ENV): Define.
51017         * posix/bug-regex35.c: New file.
51019 2013-02-11  Tom de Vries  <tom@codesourcery.com>
51021         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
51022         comment.
51023         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
51024         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
51025         (CHECK_EOL): Add undef.
51027 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
51029         * bits/stdlib-bsearch.h: New file.
51030         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
51031         * stdlib/stdlib.h: Likewise.
51033 2013-02-11  Roland McGrath  <roland@hack.frob.com>
51035         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
51036         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
51037         declaration.
51038         * manual/search.texi (Array Search Function): Add missing const in
51039         lfind prototype.
51040         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
51041         declaration to use rlim_t.
51042         (Basic Scheduling Functions): Remove erroneous const from
51043         sched_getparam prototype.  Remove erroneous * from
51044         sched_get_priority_max and sched_get_priority_min prototypes.
51045         (Resource Usage): Fix summary @comment on vtimes to refer to
51046         sys/vtimes.h rather than vtimes.h.
51047         Add missing *s in vtimes prototype.
51048         (Limits on Resources): Fix ulimit prototype to return long int.
51049         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
51050         prototypes to use long int rather than double.
51051         (BSD Random): Fix initstate and setstate to use char *, not void *.
51052         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
51053         prototype to make second argument 'struct aiocb64 *const[]'.
51054         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
51055         (Status of AIO Operations): Remove erroneous const in aio_return and
51056         aio_return64 prototypes.
51057         (Synchronizing I/O): Fix sync prototype to return void.
51058         * manual/startup.texi (Suboptions): Remove an erroneous const in
51059         getsubopt prototype.
51060         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
51061         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
51062         use size_t rather than int.
51063         (Scanning All Users): Likewise for getpwent_r.
51064         (Setting Groups): Add missing const to setgroups prototype.
51065         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
51066         * manual/socket.texi (Host Names): Fix gethostbyaddr and
51067         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
51068         'const void *' rather than 'const char *'.
51069         (Host Address Functions): Likewise for inet_ntop.
51070         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
51071         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
51072         ssize_t for return value.
51073         (Sending Data): Likewise for send, sendto, sendmsg.
51074         (Socket Option Functions): Add a missing const in setsockopt prototype.
51075         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
51076         use wchar_t for the argument.
51077         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
51078         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
51079         take no arguments.
51080         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
51081         double/float/long double for second argument.
51082         Fix return types of significand, significandf, significandl.
51083         * manual/filesys.texi (Setting Permissions): Use mode_t for second
51084         argument in fchmod prototype.
51085         (File Owner): Use uid_t and gid_t in fchown prototype.
51086         (File Times): Add const to utimes, futimes, and lutimes prototypes.
51087         (Making Special Files): Use mode_t and dev_t in mknod prototype.
51088         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
51089         use 'const struct dirent **' as argument types to CMP function pointer
51090         argument.
51091         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
51092         (File Times): Fix summary magic @comment for struct utimbuf and utime
51093         to refer to utime.h, not time.h.
51094         * manual/string.texi (Argz Functions): Add missing const in
51095         argz_extract and argz_next prototypes.
51096         (Finding Tokens in a String): Likewise for basename.
51097         (String/Array Comparison): Fix typo in wcscasecmp prototype.
51098         (Copying and Concatenation): Fix typo in wmemmove prototype.
51099         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
51100         (Signal Stack): Remove erroneous const in sigstack prototype.
51101         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
51102         prototype.
51103         (Simple Calendar Time): Likewise for stime.
51104         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
51105         prototype.
51106         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
51107         say sys/sysctl.h instead.
51108         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
51109         and vsyslog prototypes.
51111 2013-02-11  Tom de Vries  <tom@codesourcery.com>
51113         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
51114         Remove.
51116 2013-02-11  Roland McGrath  <roland@hack.frob.com>
51118         * misc/sys/mman.h: Fix typo in mremap comment.
51120 2013-02-08  Roland McGrath  <roland@hack.frob.com>
51122         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
51123         the '\0' terminator.
51125 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
51127         [BZ #13550]
51128         * debug/segfault.c: Don't include <bp-checks.h>.
51129         * sysdeps/generic/bp-checks.h: Remove file.
51130         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
51131         (__GETDENTS): Don't use CHECK_N.
51132         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
51133         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
51134         (__getgroups): Don't use CHECK_N.
51135         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
51136         (setgroups): Don't use CHECK_N.
51137         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
51138         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
51139         (__libc_msgrcv): Don't use CHECK_N.
51140         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
51141         (__libc_msgsnd): Don't use CHECK_N.
51142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
51143         <bp-checks.h>.
51144         (__libc_pread): Don't use CHECK_N.
51145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
51146         include <bp-checks.h>.
51147         (__libc_pread64): Don't use CHECK_N.
51148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
51149         include <bp-checks.h>.
51150         (__libc_pwrite): Don't use CHECK_N.
51151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
51152         include <bp-checks.h>.
51153         (__libc_pwrite64): Don't use CHECK_N.
51154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
51155         <bp-checks.h>.
51156         (__libc_pread): Don't use CHECK_N.
51157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
51158         include <bp-checks.h>.
51159         (__libc_pread64): Don't use CHECK_N.
51160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
51161         include <bp-checks.h>.
51162         (__libc_pwrite): Don't use CHECK_N.
51163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
51164         include <bp-checks.h>.
51165         (__libc_pwrite64): Don't use CHECK_N.
51166         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
51167         (do_pread): Don't use CHECK_N.
51168         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
51169         (do_pread64): Don't use CHECK_N.
51170         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
51171         (do_pwrite): Don't use CHECK_N.
51172         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
51173         (do_pwrite64): Don't use CHECK_N.
51174         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
51175         (__libc_readv): Don't use CHECK_N.
51176         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
51177         (semop): Don't use CHECK_N.
51178         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
51179         <bp-checks.h>.
51180         (semtimedop): Don't use CHECK_N.
51181         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
51182         (__libc_pread): Don't use CHECK_N.
51183         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
51184         <bp-checks.h>.
51185         (__libc_pread64): Don't use CHECK_N.
51186         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
51187         <bp-checks.h>.
51188         (__libc_pwrite): Don't use CHECK_N.
51189         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
51190         <bp-checks.h>.
51191         (__libc_pwrite64): Don't use CHECK_N.
51192         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
51193         <bp-checks.h>.
51194         (__libc_msgrcv): Don't use CHECK_N.
51195         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
51196         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
51197         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
51198         (__libc_writev): Don't use CHECK_N.
51200 2013-02-08  Roland McGrath  <roland@hack.frob.com>
51202         * string/strcpy.c: Removed unused variable.
51204         * Makeconfig (+sysdep-includes): Define with := rather than =.
51205         Use an existing include/ subdir of each sysdeps dir before it.
51207 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51209         * nscd/connection.c (register_traced_file): Comment function.
51210         [HAVE_INOTIFY] (union __inev): Define.
51211         [HAVE_INOTIFY] (inotify_check_files): New function.
51212         [HAVE_INOTIFY] (clear_db_cache): Likewise.
51213         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
51214         clear_db_cache.
51215         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
51217 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51219         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
51220         loaded if not already and that a failure is permanent.
51222 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51224         [BZ #15006]
51225         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
51226         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
51228 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
51230         [BZ #13550]
51231         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
51232         (CHECK_1_NULL_OK): Likewise.
51233         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
51234         (__fxstat): Do not use CHECK_1.
51235         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
51236         <bp-checks.h>.
51237         (___fxstat64): Do not use CHECK_1.
51238         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
51239         <bp-checks.h>.
51240         (__fxstatat): Do not use CHECK_1.
51241         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
51242         <bp-checks.h>.
51243         (__fxstatat64): Do not use CHECK_1.
51244         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
51245         <bp-checks.h>.
51246         (__fxstat): Do not use CHECK_1.
51247         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
51248         <bp-checks.h>.
51249         (__fxstatat): Do not use CHECK_1.
51250         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
51251         <bp-checks.h>.
51252         (__getresgid): Do not use CHECK_1.
51253         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
51254         <bp-checks.h>.
51255         (__getresuid): Do not use CHECK_1.
51256         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
51257         <bp-checks.h>.
51258         (__lxstat): Do not use CHECK_1.
51259         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
51260         <bp-checks.h>.
51261         (__old_msgctl): Do not use CHECK_1.
51262         (__new_msgctl): Likewise.
51263         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
51264         <bp-checks.h>.
51265         (__new_setrlimit): Do not use CHECK_1.
51266         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
51267         <bp-checks.h>.
51268         (__old_shmctl): Do not use CHECK_1.
51269         (__new_shmctl): Likewise.
51270         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
51271         <bp-checks.h>.
51272         (__xstat): Do not use CHECK_1.
51273         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
51274         (__lxstat): Do not use CHECK_1.
51275         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
51276         <bp-checks.h>.
51277         (___lxstat64): Do not use CHECK_1.
51278         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
51279         (__old_msgctl): Do not use CHECK_1.
51280         (__new_msgctl): Likewise.
51281         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
51282         <bp-checks.h>.
51283         (__gettimeofday): Do not use CHECK_1.
51284         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
51285         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
51286         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
51287         <bp-checks.h>.
51288         (__gettimeofday): Do not use CHECK_1.
51289         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
51290         (__old_shmctl): Do not use CHECK_1_NULL_OK.
51291         (__new_shmctl): Do not use CHECK_1.
51292         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
51293         <bp-checks.h>.
51294         (do_sigtimedwait): Do not use CHECK_1.
51295         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
51296         <bp-checks.h>.
51297         (do_sigwaitinfo): Do not use CHECK_1.
51298         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
51299         <bp-checks.h>.
51300         (msgctl): Do not use CHECK_1.
51301         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
51302         <bp-checks.h>.
51303         (shmctl): Do not use CHECK_1.
51304         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
51305         (ustat): Do not use CHECK_1.
51306         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
51307         <bp-checks.h>.
51308         (__fxstat): Do not use CHECK_1.
51309         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
51310         <bp-checks.h>.
51311         (__fxstatat): Do not use CHECK_1.
51312         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
51313         <bp-checks.h>.
51314         (__lxstat): Do not use CHECK_1.
51315         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
51316         <bp-checks.h>.
51317         (__xstat): Do not use CHECK_1.
51318         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
51319         (__xstat): Do not use CHECK_1.
51320         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
51321         (___xstat64): Do not use CHECK_1.
51323         [BZ #13550]
51324         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
51325         definitions.
51326         (CHECK_BOUNDS_HIGH): Likewise.
51327         * string/strcpy.c: Do not include <bp-checks.h>.
51328         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
51330 2013-02-07  Roland McGrath  <roland@hack.frob.com>
51332         * nscd/nscd-client.h (__nscd_drop_map_ref):
51333         Add __attribute__ ((unused)).
51334         * nis/nss-nisplus.h (niserr2nss): Likewise.
51336         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
51337         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
51339         * csu/libc-tls.c (init_static_tls, init_slotinfo):
51340         Remove inline keyword.
51341         * include/rounding-mode.h (round_away): Likewise.
51342         * libio/wfileops.c (adjust_wide_data): Likewise.
51343         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
51344         (__m128i_strloadu_tolower): Likewise.
51345         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
51346         (__m128i_strloadu_tolower): Likewise.
51347         * time/mktime.c (ydhms_diff): Likewise.
51348         * locale/elem-hash.h (elem_hash): Likewise.
51349         * locale/setlocale.c (setdata): Likewise.
51350         * posix/regex_internal.h (re_string_char_size_at): Likewise.
51351         (re_string_wchar_at): Likewise.
51352         (bitset_not, bitset_merge, bitset_mask): Likewise.
51353         [!(__GNUC__ > 3)] (inline): Remove macro.
51354         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
51355         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
51356         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
51357         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
51358         * string/memcmp.c (memcmp_bytes): Likewise.
51359         * locale/programs/locarchive.c (compute_hashval): Likewise.
51360         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
51361         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
51362         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
51363         * nss/getent.c (print_rpc, print_protocols): Likewise.
51364         (print_passwd, print_group, print_aliases): Likewise.
51365         * nis/nss-nisplus.h (niserr2nss): Likewise.
51366         * nscd/connections.c (restart_p): Likewise.
51367         Change return type to bool.
51369 2013-02-05  Roland McGrath  <roland@hack.frob.com>
51371         * Makeconfig (all-Depend-files): Add existing
51372         $(sorted-subdirs:=/Depend) files.
51373         (all-subdirs): Remove nss.
51374         * sysdeps/unix/inet/Subdirs: Add it here instead.
51375         * hesiod/Depend: New file.
51377         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
51378         instead of calling alloca.
51380         * io/lseek.c (__lseek): Rename to __libc_lseek.
51381         Define __lseek as an alias.
51383         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
51385 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
51387         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
51388         else clause and remove check for non-standard endianness.
51390 2013-02-04  David S. Miller  <davem@davemloft.net>
51392         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51394 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
51396         [BZ #13550]
51397         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
51398         (__ubp_memchr): Remove prototype.
51399         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
51400         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
51401         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
51402         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
51403         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
51404         Remove alias.
51405         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
51406         (__ubp_memchr): Likewise.
51407         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
51408         (__ubp_memchr): Likewise.
51409         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
51410         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
51411         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
51412         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
51413         CHECK_STRING.
51414         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
51415         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
51416         (__getcwd): Do not use CHECK_STRING.
51417         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
51418         <bp-checks.h>.
51419         (__real_chown): Do not use CHECK_STRING.
51420         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
51421         <bp-checks.h>.
51422         (fchownat): Do not use CHECK_STRING.
51423         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
51424         CHECK_STRING.
51425         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
51426         <bp-checks.h>.
51427         (__lchown): Do not use CHECK_STRING.
51428         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
51429         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
51430         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
51431         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
51432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
51433         include <bp-checks.h>.
51434         (truncate64): Do not use CHECK_STRING.
51435         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
51436         <bp-checks.h>.
51437         (__real_chown): Do not use CHECK_STRING.
51438         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
51439         <bp-checks.h>.
51440         (__lchown): Do not use CHECK_STRING.
51441         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
51442         <bp-checks.h>.
51443         (__chown): Do not use CHECK_STRING.
51444         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
51445         <bp-checks.h>.
51446         (truncate64): Do not use CHECK_STRING.
51447         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
51448         Likewise.
51449         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
51450         (__xmknod): Do not use CHECK_STRING.
51451         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
51452         <bp-checks.h>.
51453         (__xmknodat): Do not use CHECK_STRING.
51454         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
51455         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
51457 2013-02-04  Andreas Schwab  <schwab@suse.de>
51459         [BZ #14142]
51460         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
51461         * include/netdb.h: Likewise for h_errno.
51462         * elf/tst-stackguard1.c: Include <tls.h>.
51464 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
51466         * elf/link.h (struct link_map): Extend the l_addr comment.
51467         * include/link.h (struct link_map): Likewise.
51469 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
51471         [BZ #13550]
51472         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
51473         (BOUNDED_1): Remove macro.
51474         * debug/backtrace.c: Don't include <bp-checks.h>.
51475         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
51476         (__backtrace): Likewise.
51477         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
51478         <bp-checks.h>.
51479         (__backtrace): Don't use BOUNDED_1.
51480         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
51481         <bp-checks.h>.
51482         (__backtrace): Don't use BOUNDED_1.
51483         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
51484         (__backtrace): Don't use BOUNDED_1.
51485         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
51486         (shmat): Don't use BOUNDED_N.
51488 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
51490         [BZ #13550]
51491         * sysdeps/generic/bp-start.h: Remove file.
51492         * csu/libc-start.c: Don't include <bp-start.h>.
51493         (LIBC_START_MAIN): Set up __environ directly instead of using
51494         INIT_ARGV_and_ENVIRON.
51495         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
51496         <bp-start.h>.
51498         [BZ #13550]
51499         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
51500         definitions.
51501         (CHECK_FCNTL): Likewise.
51502         (CHECK_N_PAGES): Likewise.
51504         [BZ #13550]
51505         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
51506         definitions.
51507         (CHECK_SIGSET_NULL_OK): Likewise.
51508         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
51509         <bp-checks.h>.
51510         (sigpending): Don't use CHECK_SIGSET.
51511         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
51512         <bp-checks.h>.
51513         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51514         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
51515         <bp-checks.h>.
51516         (do_sigsuspend): Don't use CHECK_SIGSET.
51517         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
51518         use CHECK_SIGSET.
51519         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
51520         (do_sigwait): Don't use CHECK_SIGSET.
51521         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
51522         use CHECK_SIGSET.
51523         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
51524         include <bp-checks.h>.
51525         (sigpending): Don't use CHECK_SIGSET.
51526         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
51527         include <bp-checks.h>.
51528         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51529         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
51530         <bp-checks.h>.
51531         (sigpending): Don't use CHECK_SIGSET.
51532         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
51533         <bp-checks.h>.
51534         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51536         [BZ #13550]
51537         * sysdeps/generic/bp-semctl.h: Remove file.
51538         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
51539         <bp-checks.h> and <bp-semctl.h>.
51540         (__old_semctl): Don't use CHECK_SEMCTL.
51541         (__new_semctl): Likewise.
51542         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
51543         and <bp-semctl.h>.
51544         (__old_semctl): Don't use CHECK_SEMCTL.
51545         (__new_semctl): Likewise.
51546         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
51547         <bp-checks.h> and <bp-semctl.h>.
51548         (__old_semctl): Don't use CHECK_SEMCTL.
51549         (__new_semctl): Likewise.
51550         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
51551         <bp-checks.h> and <bp-semctl.h>.
51552         (semctl): Don't use CHECK_SEMCTL.
51554         [BZ #13550]
51555         * Makerules (elide-bp-thunks): Remove variable.
51556         (elide-routines.oS): Don't use $(elide-bp-thunks).
51557         (elide-routines.os): Likewise.
51558         (elide-routines.o): Likewise.
51559         (elide-routines.op): Likewise.
51560         (elide-routines.og): Likewise.
51561         (objects): Don't use $(bp-thunks).
51562         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
51563         include.
51564         (common-generated): Do not add s-proto-bp.d.
51565         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
51566         (int): Likewise.
51567         (typ): Likewise.
51568         Do not generate makefile rules for bounded-pointer thunks.
51569         * sysdeps/generic/bp-thunks.h: Remove file.
51570         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
51571         * sysdeps/unix/s-proto-bp.S: Likewise.
51573         [BZ #15062]
51574         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
51575         parts of result separately when argument is not close to line from
51576         -i to i and one part of argument is small.
51577         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51578         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51579         * math/libm-test.inc (cacos_test): Add more tests.
51580         (casin_test): Likewise.
51581         (casinh_test): Likewise.
51582         * sysdeps/i386/fpu/libm-test-ulps: Update.
51583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51585 2013-01-31  David S. Miller  <davem@davemloft.net>
51587         * po/de.po: Update from translation team.
51589 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
51591         * time/tzfile.c: Include stdint.h for SIZE_MAX.
51593 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
51595         * configure.in (_AC_PROG_CC_C89): New definition.
51596         * configure: Regenerate.
51598         * configure.in (AC_PROG_CPP): New definition.
51599         * configure: Regenerate.
51601 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51603         * debug/tst-backtrace.h: New file.
51604         * debug/tst-backtrace2.c: Include tst-backtrace.h.
51605         (ret): Remove variable.
51606         (x): Likewise.
51607         (FAIL): Remove macro.
51608         (NO_INLINE): Likewise.
51609         (fn1): Use match function instead of strstr.
51610         * debug/tst-backtrace3.c: Include tst-backtrace.h.
51611         (ret): Remove variable.
51612         (x): Likewise.
51613         (FAIL): Remove macro.
51614         (NO_INLINE): Likewise.
51615         (fn): Use match function instead of strstr.
51616         * debug/tst-backtrace4.c: Include tst-backtrace.h.
51617         (ret): Remove variable.
51618         (x): Likewise.
51619         (FAIL): Remove macro.
51620         (NO_INLINE): Likewise.
51621         (handle_signal): Use match function instead of strstr.
51622         * debug/tst-backtrace5.c: Include tst-backtrace.h.
51623         (ret): Remove variable.
51624         (x): Likewise.
51625         (FAIL): Remove macro.
51626         (NO_INLINE): Likewise.
51627         (handle_signal): Use match function instead of strstr.
51629 2013-01-23  Roland McGrath  <roland@hack.frob.com>
51631         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
51633 2013-01-23  David S. Miller  <davem@davemloft.net>
51635         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
51636         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
51637         argument of CAS if possible.
51638         * sysdeps/sparc/sparc64/bits/atomic.h
51639         (__arch_compare_and_exchange_val_32_acq): Likewise.
51640         (__arch_compare_and_exchange_val_64_acq): Likewise.
51642 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
51644         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
51645         * sysdeps/posix/ulimit.c: ... this.
51646         Include <limits.h>.
51647         * sysdeps/unix/bsd/ulimit.c: Remove file.
51649 2013-01-23  Adam Conrad  <adconrad@0c3.net>
51651         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
51652         (LDFLAGS-tst-array5): Likewise.
51654 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51656         [BZ #15036]
51657         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
51658         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
51659         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
51660         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
51662 2013-01-21  David S. Miller  <davem@davemloft.net>
51664         * sysdeps/sparc/backtrace.c: New file.
51665         * sysdeps/sparc/sparc32/backtrace.h: New file.
51666         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
51667         * sysdeps/sparc/sparc64/backtrace.h: New file.
51668         * sysdeps/sparc/sparc64/backtrace.c: Delete.
51669         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
51670         -funwind-tables.
51672 2013-01-21  Andreas Schwab  <schwab@suse.de>
51674         [BZ #15020]
51675         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
51676         closed its stdout.
51678 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
51680         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
51681         "mpa2.h".
51682         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51684 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
51685             Mark Mitchell  <mark@codesourcery.com>
51686             Tom de Vries  <tom@codesourcery.com>
51687             Paul Pluzhnikov  <ppluzhnikov@google.com>
51689         * debug/tst-backtrace2.c: New file.
51690         * debug/tst-backtrace3.c: Likewise.
51691         * debug/tst-backtrace4.c: Likewise.
51692         * debug/tst-backtrace5.c: Likewise.
51693         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
51694         (CFLAGS-tst-backtrace3.c): Likewise.
51695         (CFLAGS-tst-backtrace4.c): Likewise.
51696         (CFLAGS-tst-backtrace5.c): Likewise.
51697         (LDFLAGS-tst-backtrace2): Likewise.
51698         (LDFLAGS-tst-backtrace3): Likewise.
51699         (LDFLAGS-tst-backtrace4): Likewise.
51700         (LDFLAGS-tst-backtrace5): Likewise.
51701         (tests): Add new tests tst-backtrace2, tst-backtrace3,
51702         tst-backtrace4 and tst-backtrace5.
51704 2013-01-18  Anton Blanchard  <anton@samba.org>
51705             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51707         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
51708         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
51709         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
51710         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
51711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
51712         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
51713         "+r" and remove output regs list as redundant.  Add explicit inline
51714         asm to specify register of return val to work around compiler codegen
51715         bug.  Remove (int) cast on return value.  Add return type parameter to
51716         use in macro so that this macro does not truncate return value for
51717         64-bit values.
51718         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
51719         pass to INTERNAL_VSYSCALL_NCS.
51720         (INLINE_VSYSCALL): Add 'long int' as return type to
51721         INTERNAL_VSYSCALL_NCS macro invocation.
51722         (INTERNAL_VSYSCALL): Add 'long int' as return type to
51723         INTERNAL_VSYSCALL_NCS macro invocation.
51724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51726 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51728         [BZ #14496]
51729         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
51730         Fix application of SIMD FP exception mask.
51732         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
51733         mp_no from a power of two.
51734         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
51735         __mpexp_twomm1.  Use __pow_mp.
51737         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
51738         multiplication.
51740 2013-01-17  David S. Miller  <davem@davemloft.net>
51742         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51744 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
51746         [BZ #15023]
51747         * include/complex.h: Condition contents on [!_COMPLEX_H].
51748         (__kernel_casinhf): New prototype.
51749         (__kernel_casinh): Likewise.
51750         (__kernel_casinhl): Likewise.
51751         * math/Makefile (libm_calls): Add k_casinh.
51752         * math/k_casinh.c: New file.
51753         * math/k_casinhf.c: Likewise.
51754         * math/k_casinhl.c: Likewise.
51755         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
51756         finite nonzero arguments.
51757         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
51758         finite nonzero arguments.
51759         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
51760         finite nonzero arguments.
51761         * math/s_casinh.c: Do not include <float.h>.
51762         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
51763         * math/s_casinhf.c: Do not include <float.h>.
51764         (__casinhf): Move code for finite nonzero arguments to
51765         k_casinhf.c.
51766         * math/s_casinhl.c: Do not include <float.h>.
51767         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
51768         redefine.
51769         (__casinhl): Move code for finite nonzero arguments to
51770         k_casinhl.c.
51771         * math/libm-test.inc (cacos_test): Add more tests.
51772         * sysdeps/i386/fpu/libm-test-ulps: Update.
51773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51775 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
51777         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
51778         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
51779         [!HAVE_MREMAP]: Remove [defined linux] case.
51780         * malloc/arena.c: Do not include <malloc-sysdep.h>.
51782 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51784         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
51786 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
51788         * elf/elf.h (R_386_SIZE32): New relocation.
51789         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
51790         R_386_SIZE32.
51791         (elf_machine_rela): Likewise.
51792         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51793         R_X86_64_SIZE64 and R_X86_64_SIZE32.
51795 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
51797         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
51798         (FP_FAST_FMA): Do not define.
51799         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
51800         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
51801         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
51802         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
51803         !_SOFT_FLOAT]: Likewise.
51804         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
51805         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
51806         value.
51807         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
51808         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
51809         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
51810         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
51811         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
51812         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
51813         file.
51815 2013-01-16  Andreas Schwab  <schwab@suse.de>
51817         [BZ #14327]
51818         * include/stdlib.h (__mktemp): Add declaration.
51819         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
51820         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
51822 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51824         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
51825         definitions.
51826         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
51827         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
51828         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
51829         definitions here.
51830         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
51831         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
51832         definitions.
51833         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
51834         and ONE.
51835         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
51836         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
51837         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
51838         definitions.
51839         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
51840         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
51841         definitions.
51842         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
51844         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
51846 2013-01-15  David S. Miller  <davem@davemloft.net>
51848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51849         trunc{,f} to libm-sysdep_routes.
51850         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
51852         file.
51853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
51854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
51855         file.
51856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
51857         file.
51858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
51859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
51860         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
51861         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
51862         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
51863         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
51864         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
51865         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
51867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51868         nearbyint{,f} to libm-sysdep_routes.
51869         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
51871         New file.
51872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
51873         file.
51874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
51875         New file.
51876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
51877         file.
51878         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
51879         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
51880         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
51881         file.
51882         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
51883         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
51884         file.
51885         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
51886         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
51887         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
51889         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
51890         libc_feholdexcept and libc_fesetenv.
51892 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
51894         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
51896 2013-01-14  David S. Miller  <davem@davemloft.net>
51898         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
51899         (SPARC_ASM_VIS2_IFUNC): Likewise.
51900         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
51901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
51902         use of 'siam' instruction.
51903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
51904         Likewise.
51905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
51906         Likewise.
51907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
51908         Likewise.
51909         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
51910         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
51911         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
51912         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
51913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
51914         file.
51915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
51916         file.
51917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
51918         file.
51919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
51920         file.
51921         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
51922         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
51923         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
51924         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
51925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
51926         new VIS2 routines.
51927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51930         Likewise.
51931         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51932         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51933         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51934         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
51936         routines to libm-sysdep_routines.
51937         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51940         fdim/fdimf to libm-sysdep_routines.
51941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
51942         file.
51943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
51944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
51945         file.
51946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
51947         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
51948         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
51949         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
51950         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
51951         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
51952         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
51954 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51956         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
51957         to optimize copies.
51959         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
51960         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51961         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51963         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
51964         local variable MPTWO.
51965         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
51966         Likewise.
51968 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
51970         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
51971         GLOB_NOESCAPE.
51973 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
51975         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
51977 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
51979         * manual/pattern.texi (glob_t): Document gl_flags.
51980         (glob64_t): Likewise.
51982 2013-01-11  David S. Miller  <davem@davemloft.net>
51984         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
51985         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
51986         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
51987         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
51988         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
51989         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
51990         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
51991         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
51992         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
51993         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
51994         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
51995         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
51996         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
51998         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
51999         sparc V9 rather than using V8 code.
52000         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52001         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52003         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52004         Move to...
52005         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
52006         Here.
52008 2013-01-11  Roland McGrath  <roland@hack.frob.com>
52010         [BZ #14941]
52011         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
52012         not in the main loop.
52013         * configure: Regenerated.
52015 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
52017         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
52018         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
52019         to just #else.
52020         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
52021         [!__GLIBC_HAVE_LONG_LONG] case.
52022         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
52023         condition to just #else.
52024         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
52025         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
52026         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
52027         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
52028         unconditional.
52029         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
52030         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52031         #elif condition to just #else.
52032         * sysdeps/unix/sysv/linux/sys/sysmacros.h
52033         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
52034         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52035         #elif condition to just #else.
52037 2013-01-11  Steve Ellcey  <sellcey@mips.com>
52039         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
52040         (EF_MIPS_ARCH_64): Fix value.
52041         (EF_MIPS_ARCH_32R2): New.
52042         (EF_MIPS_ARCH_64R2): New.
52044 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
52046         * Makeconfig (+link-pie-before-libc): New.
52047         (+link-pie-after-libc): Likewise.
52048         (+link-pie-tests): Likewise.
52049         (+link-pie): Rewritten.
52050         (link-before-libc): Remove $(config-LDFLAGS).
52051         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
52052         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
52053         (config-LDFLAGS): Renamed to ...
52054         (rtld-LDFLAGS): This.
52055         (rtld-tests-LDFLAGS): New macro.
52056         (link-libc-rpath-link): Likewise.
52057         (link-libc-tests-rpath-link): Likewise.
52058         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
52059         (link-libc): Prepand $(link-libc-rpath-link).
52060         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
52061         (test-program-prefix): New macro.
52062         (test-via-rtld-prefix): Likewise.
52063         (test-program-cmd): Likewise.
52064         (host-test-program-cmd): Likewise.
52065         * Makefile ($(common-objpfx)testrun.sh): Replace
52066         $(run-program-prefix) with $(test-program-prefix).
52067         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
52068         $(rtld-LDFLAGS).
52069         ($(common-objpfx)shlib.lds): Likewise.
52070         (build-module-helper): Likewise.
52071         ($(common-objpfx)format.lds): Likewise.
52072         * Rules (binaries-pie-tests): New.
52073         (binaries-pie-notests): Likewise.
52074         (binaries-pie): Rewritten.
52075         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
52076         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
52077         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
52078         (make-test-out): Replace $(host-built-program-cmd) with
52079         $(host-test-program-cmd).
52080         * config.make.in (build-hardcoded-path-in-tests): New variable.
52081         * configure.in (--enable-hardcoded-path-in-tests): New configure
52082         option.
52083         (hardcoded_path_in_tests): New AC_SUBST.
52084         * configure: Regenerated.
52085         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
52086         $(built-program-cmd) with $(test-program-cmd).
52087         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
52088         (test_program_cmd): This.
52089         * elf/Makefile ($(objpfx)order.out): Run test with
52090         $(test-program-prefix).
52091         ($(objpfx)order2.out): Likewise.
52092         ($(objpfx)tst-initorder.out): Likewise.
52093         ($(objpfx)tst-initorder2.out): Likewise.
52094         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
52095         $(test-program-cmd).
52096         ($(objpfx)tst-array1-static.out): Likewise.
52097         ($(objpfx)tst-array2.out): Likewise.
52098         ($(objpfx)tst-array3.out): Likewise.
52099         ($(objpfx)tst-array4.out): Likewise.
52100         ($(objpfx)tst-array5.out): Likewise.
52101         ($(objpfx)tst-array5-static.out): Likewise.
52102         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
52103         $(test-program-cmd).
52104         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
52105         $(run-program-prefix) with $(test-program-prefix).
52106         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
52107         (test_program_prefix): This.
52108         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
52109         $(run-program-prefix) with $(test-program-prefix).
52110         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
52111         (test_program_prefix): This.
52112         * iconvdata/tst-tables.sh: Likewise.
52113         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
52114         $(run-program-prefix) with $(test-program-prefix).
52115         ($(objpfx)tst-translit.out): Likewise.
52116         ($(objpfx)tst-gettext2.out): Likewise.
52117         ($(objpfx)tst-gettext4.out): Likewise.
52118         ($(objpfx)tst-gettext6.out): Likewise.
52119         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
52120         (test_program_prefix): This.
52121         * intl/tst-gettext2.sh: Likewise.
52122         * intl/tst-gettext4.sh  Likewise.
52123         * intl/tst-gettext6.sh: Likewise.
52124         * intl/tst-translit.sh: Likewise.
52125         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
52126         with $(test-program-cmd).
52127         * libio/Makefile ($(objpfx)test-freopen.out): Replace
52128         $(run-program-prefix) with $(test-program-prefix).
52129         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
52130         (test_program_prefix): This.
52131         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
52132         $(run-program-prefix) with $(test-program-prefix).
52133         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
52134         (test_program_prefix): This.
52135         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
52136         * posix/Makefile ($(objpfx)globtest.out): Replace
52137         $(run-via-rtld-prefix) and $(test-wrapper) with
52138         $(test-program-prefix) and $(test-via-rtld-prefix).
52139         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
52140         $(test-program-prefix).
52141         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
52142         $(host-test-program-cmd).
52143         (tst-spawn-ARGS): Likewise.
52144         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
52145         $(test-program-prefix).
52146         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
52147         (test_via_rtld_prefix): This.
52148         (test_wrapper): Renamed to ...
52149         (test_program_prefix): This.
52150         (run_program_prefix): Replaced by test_program_prefix.
52151         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
52152         (test_program_prefix): This.
52153         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
52154         with $(host-test-program-cmd).
52155         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
52156         $(run-program-prefix) with $(test-program-prefix).
52157         ($(objpfx)tst-printf.out): Likewise.
52158         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
52159         $(test-program-cmd).
52160         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
52161         (test_program_prefix): This.
52162         * stdio-common/tst-unbputc.sh: Likewise.
52163         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
52164         $(run-program-prefix) with $(test-program-prefix).
52165         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
52166         (test_program_prefix): This.
52167         * string/Makefile ($(objpfx)tst-svc.out):  Replace
52168         $(built-program-cmd) with $(test-program-cmd).
52170 2013-01-11  Andreas Jaeger  <aj@suse.de>
52172         [BZ #15003]
52173         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
52174         value. Sync with Linux 3.7.
52176 2013-01-10  David S. Miller  <davem@davemloft.net>
52178         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
52179         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52180         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52182 2013-01-10  Roland McGrath  <roland@hack.frob.com>
52184         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
52185         never set.
52186         * configure: Regenerated.
52188 2013-01-10  David S. Miller  <davem@davemloft.net>
52190         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
52191         sparc V9 rather than using V8 code.
52192         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52193         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52195 2013-01-10  Roland McGrath  <roland@hack.frob.com>
52197         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
52198         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
52199         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
52200         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
52201         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
52202         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
52203         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
52204         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
52205         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
52206         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
52207         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
52208         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
52209         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
52210         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
52211         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
52212         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
52213         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
52214         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
52215         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
52216         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
52217         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
52218         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
52219         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
52220         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
52221         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
52222         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
52223         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
52225 2013-01-10  David S. Miller  <davem@davemloft.net>
52227         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52229 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
52231         * posix/Makefile (tests-static): New variable.
52232         (tests): Add $(tests-static).
52233         (tst-exec-static-ARGS): New variable.
52234         (tst-spawn-static-ARGS): Likewise.
52235         * posix/tst-exec-static.c: New file.
52236         * posix/tst-spawn-static.c: Likewise.
52237         * posix/tst-exec.c: Support run directly.
52238         * posix/tst-spawn.c: Likewise.
52240 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
52242         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
52243         long.
52244         * math/bits/mathcalls.h (llrint): Likewise.
52245         (llround): Likewise.
52246         * stdlib/stdlib.h (struct drand48_data): Likewise.
52247         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
52248         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
52249         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
52250         Likewise.
52251         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
52252         Likewise.
52253         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
52254         (elf_greg_t): Likewise.
52255         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
52256         (__jmp_buf): Likewise.
52257         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
52258         definitions.
52259         (llrint): Likewise, for all definitions.
52260         (llrintl): Likewise.
52262         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
52263         Remove [__GNUC__] condition.
52264         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
52265         condition to just [__USE_ISOC99].
52266         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
52268 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
52270         [BZ #14200]
52271         * sysdeps/unix/sysv/linux/x86/bits/environments.h
52272         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
52273         defined.
52274         (_POSIX_V6_ILP32_OFF32): Likewise.
52275         (_XBS5_ILP32_OFF32): Likewise.
52276         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
52277         (__ILP32_OFFBIG_LDFLAGS): Likewise.
52279 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52281         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
52283         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
52284         doubles __mpexp_twomm1.  Adjust usage.
52285         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
52286         Remove.
52288 2013-01-10  Andreas Schwab  <schwab@suse.de>
52290         [BZ #14964]
52291         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
52292         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
52294 2013-01-09  David S. Miller  <davem@davemloft.net>
52296         [BZ #15003]
52297         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
52298         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
52299         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
52300         (TCP_FASTOPEN): Define.
52301         (tcp_repair_opt): New structure.
52302         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
52303         enum values.
52304         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
52305         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
52306         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
52307         (tcp_cookie_transactions): New structure.
52309 2013-01-09  Anton Blanchard  <anton@samba.org>
52311         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
52312         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
52313         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
52314         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
52316 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
52318         * include/features.h (__USE_ANSI): Remove.
52320 2013-01-09  Roland McGrath  <roland@hack.frob.com>
52322         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
52324         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
52326 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
52328         * sysdeps/s390/fpu/libm-test-ulps: Update.
52330         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52332         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
52333         (__acr): Likewise.
52334         (__cpy): Likewise.
52335         (norm): Likewise.
52336         (denorm): Likewise.
52337         (__mp_dbl): Likewise.
52338         (__dbl_mp): Likewise.
52339         (add_magnitudes): Likewise.
52340         (sub_magnitudes): Likewise.
52341         (__add): Likewise.
52342         (__sub): Likewise.
52343         (__mul): Likewise.
52344         (__inv): Likewise.
52345         (__dvd): Likewise.
52346         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
52347         (__acr): Likewise.
52348         (__cpy): Likewise.
52349         (norm): Likewise.
52350         (denorm): Likewise.
52351         (__mp_dbl): Likewise.
52352         (__dbl_mp): Likewise.
52353         (add_magnitudes): Likewise.
52354         (sub_magnitudes): Likewise.
52355         (__add): Likewise.
52356         (__sub): Likewise.
52357         (__mul): Likewise.
52358         (__inv): Likewise.
52359         (__dvd): Likewise.
52360         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
52361         (__acr): Likewise.
52362         (__cpy): Likewise.
52363         (norm): Likewise.
52364         (denorm): Likewise.
52365         (__mp_dbl): Likewise.
52366         (__dbl_mp): Likewise.
52367         (add_magnitudes): Likewise.
52368         (sub_magnitudes): Likewise.
52369         (__add): Likewise.
52370         (__sub): Likewise.
52371         (__mul): Likewise.
52372         (__inv): Likewise.
52373         (__dvd): Likewise.
52375 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
52377         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
52378         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
52379         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
52380         2 && __USE_EXTERN_INLINES]: Likewise.
52382 2013-01-08  Andreas Jaeger  <aj@suse.de>
52384         [BZ# 14985]
52385         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
52386         Remove.
52387         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
52388         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
52390 2013-01-07  Anton Blanchard  <anton@samba.org>
52392         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
52393         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
52394         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
52395         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
52396         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
52397         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52398         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
52399         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
52400         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52401         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52402         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52403         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52404         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52405         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52406         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
52407         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52408         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52409         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52410         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
52411         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
52412         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
52413         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
52414         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52415         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
52416         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
52417         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
52418         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52419         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
52420         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
52421         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52422         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
52423         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52424         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52425         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52426         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52427         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52428         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52429         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
52430         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
52431         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
52432         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
52433         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52434         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52436 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
52438         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
52439         (__MALLOC_PMT): Likewise.
52440         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
52441         [__GNUC__], only on [_LIBC].
52442         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
52443         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
52444         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
52445         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
52446         forward declaration.
52447         (realloc_hook_ini): Likewise.
52448         (memalign_hook_ini): Likewise.
52449         (__libc_memalign): Do not use __MALLOC_PMT in variable
52450         declaration.
52451         (__libc_valloc): Likewise.
52452         (__libc_pvalloc): Likewise.
52453         (__libc_calloc): Likewise.
52454         (__posix_memalign): Likewise.
52456         [BZ #14996]
52457         * math/s_casinh.c: Include <float.h>.
52458         (__casinh): Do not do computation with squaring and square root
52459         for large arguments.
52460         * math/s_casinhf.c: Include <float.h>.
52461         (__casinhf): Do not do computation with squaring and square root
52462         for large arguments.
52463         * math/s_casinhl.c: Include <float.h>.
52464         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
52465         (__casinhl): Do not do computation with squaring and square root
52466         for large arguments.
52467         * math/libm-test.inc (casin_test): Add more tests.
52468         (casinh_test): Likewise.
52469         * sysdeps/i386/fpu/libm-test-ulps: Update.
52470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52472 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
52474         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
52475         (__x86_64_raw_data_cache_size): Likewise.
52476         (__x86_64_data_cache_size_half): Likewise.
52477         (__x86_64_raw_data_cache_size_half): Likewise.
52478         (__x86_64_shared_cache_size): Likewise.
52479         (__x86_64_raw_shared_cache_size): Likewise.
52480         (__x86_64_shared_cache_size_half): Likewise.
52481         (__x86_64_raw_shared_cache_size_half): Likewise.
52482         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
52483         to ...
52484         (__x86_data_cache_size): This.
52485         (__x86_64_raw_data_cache_size): Renamed to ...
52486         (__x86_raw_data_cache_size): This.
52487         (__x86_64_data_cache_size_half): Renamed to ...
52488         (__x86_data_cache_size_half): This.
52489         (__x86_64_raw_data_cache_size_half): Renamed to ...
52490         (__x86_raw_data_cache_size_half): This.
52491         (__x86_64_shared_cache_size): Renamed to ...
52492         (__x86_shared_cache_size): This.
52493         (__x86_64_raw_shared_cache_size): Renamed to ...
52494         (__x86_raw_shared_cache_size): This.
52495         (__x86_64_shared_cache_size_half): Renamed to ...
52496         (__x86_shared_cache_size_half): This.
52497         (__x86_64_raw_shared_cache_size_half): Renamed to ...
52498         (__x86_raw_shared_cache_size_half): This.
52499         * sysdeps/x86_64/memcpy.S: Updated.
52500         * sysdeps/x86_64/memset.S: Likewise.
52501         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
52502         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52503         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52505 2013-01-04  David S. Miller  <davem@davemloft.net>
52507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52509 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
52511         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
52512         1 to avoid redefinition warning.
52513         (__USE_GNU): Don't define.
52514         (init_signaling_nan): Protoize.
52516         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52518 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52520         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
52521         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
52522         (__cpymn): Likewise.
52523         (norm): Remove commented code.
52524         (denorm): Likewise.
52525         (__mp_dbl): Likewise.
52526         (__inv): Likewise.
52527         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
52528         (__cpymn): Likewise.
52529         (norm): Remove commented code.
52530         (denorm): Likewise.
52531         (__mp_dbl): Likewise.
52532         (__inv): Likewise.
52534         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
52535         mp_no value for 1.0 and 2.0.
52536         (norm): Use RADIXI instead of radixi.d.
52537         (denorm): Likewise.
52538         (__mul): Use 0.0 instead of zero.d.
52539         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
52540         mp_no value for 1.0 and 2.0.
52541         (norm): Use RADIXI instead of radixi.d.
52542         (denorm): Likewise.
52543         (__mul): Use 0.0 instead of zero.d.
52545 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
52547         [BZ #14994]
52548         * math/s_casinh.c (__casinh): Reduce finite argument to first
52549         quadrant then set signs of results at the end.
52550         * math/s_casinhf.c (__casinhf): Likewise.
52551         * math/s_casinhl.c (__casinhl): Likewise.
52552         * math/libm-test.inc (casin_test): Add more tests.
52553         (casinh_test): Likewise.
52554         * sysdeps/i386/fpu/libm-test-ulps: Update.
52555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52557 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52559         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
52561         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
52563         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
52564         declarations.
52565         (denorm): Likewise.
52566         (__mp_dbl): Likewise.
52567         (__inv): Likewise.
52569         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
52570         and adjust the header comment.
52572         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
52573         variable name from declaration.
52575 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
52577         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52578         Initialize COMMON_CPUID_INDEX_7 element.
52579         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
52580         (CPUID_RTM): Likewise.
52581         (HAS_RTM): Likewise.
52582         (COMMON_CPUID_INDEX_7): New enum.
52584 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
52586         [BZ #14981]
52587         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
52588         size is zero, record memory as freed.
52590 2013-01-03  Andreas Jaeger  <aj@suse.de>
52592         * po/ia.po: Add new Interlingua translation.
52594 2012-01-03  Allan McRae  <allan@archlinux.org>
52596         * locale/programs/localedef.c: Fix description of '--posix' flag.
52598 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
52600         * NEWS: Update dates in second copyright notice.
52601         * README: Update copyright dates in example.
52602         * manual/libc.texinfo: Update copyright dates.
52603         * scripts/test-installation.pl: Update copyright date in --version
52604         output.
52606         * hurd/ctty-input.c: Fix copyright notice formatting.
52607         * hurd/ctty-output.c: Likewise.
52608         * hurd/dtable.c: Likewise.
52609         * hurd/hurd-raise.c: Likewise.
52610         * hurd/hurdprio.c: Likewise.
52611         * hurd/msgportdemux.c: Likewise.
52612         * misc/sys/file.h: Likewise.
52613         * misc/sys/ioctl.h: Likewise.
52614         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
52615         * sysdeps/mach/hurd/chdir.c: Likewise.
52616         * sysdeps/mach/hurd/fchdir.c: Likewise.
52617         * sysdeps/mach/hurd/rename.c: Likewise.
52618         * sysdeps/mach/hurd/rmdir.c: Likewise.
52619         * sysdeps/mach/hurd/seekdir.c: Likewise.
52620         * sysdeps/mach/hurd/setsid.c: Likewise.
52621         * sysdeps/posix/wait3.c: Likewise.
52623         * All files with FSF copyright notices: Update copyright dates
52624         using scripts/update-copyrights.
52625         * intl/plural.c: Regenerated.
52626         * locale/programs/charmap-kw.h: Likewise.
52627         * locale/programs/locfile-kw.h: Likewise.
52629 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52631         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
52632         four values.
52634         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
52635         calculation loop and add branch prediction.
52637         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
52638         check access beyond bounds of m1np.
52640         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
52641         MPTWO.
52642         (__inv): Remove local variable MPTWO to use the global
52643         constant.
52644         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
52645         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
52646         variable MPTWO.
52647         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
52648         MP3HALFS static const.
52650 2013-01-01  David S. Miller  <davem@davemloft.net>
52652         * po/ca.po: Update from translation team.
52654 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
52656         * scripts/update-copyrights: New file.
52657         * Makeconfig: Reformat copyright notice.
52658         * ctype/ctype.h: Likewise.
52659         * debug/swprintf_chk.c: Likewise.
52660         * elf/dl-cache.c: Likewise.
52661         * elf/dl-debug.c: Likewise.
52662         * elf/dl-object.c: Likewise.
52663         * grp/initgroups.c: Likewise.
52664         * hurd/Makefile: Likewise.
52665         * hurd/hurd/signal.h: Likewise.
52666         * hurd/hurdfault.c: Likewise.
52667         * hurd/hurdioctl.c: Likewise.
52668         * hurd/hurdlookup.c: Likewise.
52669         * hurd/intr-msg.c: Likewise.
52670         * iconv/gconv_open.c: Likewise.
52671         * libio/swprintf.c: Likewise.
52672         * locale/lc-ctype.c: Likewise.
52673         * locale/nl_langinfo.c: Likewise.
52674         * mach/Machrules: Likewise.
52675         * mach/Makefile: Likewise.
52676         * malloc/obstack.h: Likewise.
52677         * manual/Makefile: Likewise.
52678         * manual/tsort.awk: Likewise.
52679         * misc/bits/stab.def: Likewise.
52680         * nis/nis_print_group_entry.c: Likewise.
52681         * nis/nis_table.c: Likewise.
52682         * nis/nss_compat/compat-pwd.c: Likewise.
52683         * nis/nss_compat/compat-spwd.c: Likewise.
52684         * po/Makefile: Likewise.
52685         * posix/fnmatch.c: Likewise.
52686         * posix/regex.h: Likewise.
52687         * resolv/Makefile: Likewise.
52688         * resolv/nss_dns/dns-network.c: Likewise.
52689         * resolv/res_hconf.c: Likewise.
52690         * scripts/gen-sorted.awk: Likewise.
52691         * soft-fp/soft-fp.h: Likewise.
52692         * stdio-common/printf.h: Likewise.
52693         * stdlib/monetary.h: Likewise.
52694         * stdlib/random.c: Likewise.
52695         * stdlib/random_r.c: Likewise.
52696         * sysdeps/generic/Makefile: Likewise.
52697         * sysdeps/gnu/Makefile: Likewise.
52698         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52699         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52700         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52701         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52702         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52703         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52704         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52705         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52706         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52707         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52708         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52709         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52710         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52711         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52712         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
52713         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52714         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52715         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52716         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52717         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52718         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52719         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52720         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52721         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
52722         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
52723         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52724         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
52725         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
52726         * sysdeps/mach/hurd/errnos.awk: Likewise.
52727         * sysdeps/mach/hurd/fork.c: Likewise.
52728         * sysdeps/mach/hurd/getcwd.c: Likewise.
52729         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
52730         * sysdeps/mach/hurd/mmap.c: Likewise.
52731         * sysdeps/mach/hurd/utimes.c: Likewise.
52732         * sysdeps/mach/hurd/xmknod.c: Likewise.
52733         * sysdeps/posix/profil.c: Likewise.
52734         * sysdeps/posix/readdir_r.c: Likewise.
52735         * sysdeps/powerpc/bits/mathdef.h: Likewise.
52736         * sysdeps/powerpc/bits/setjmp.h: Likewise.
52737         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
52738         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
52739         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52740         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52741         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52742         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52743         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52744         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52745         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52746         * sysdeps/pthread/lio_listio.c: Likewise.
52747         * sysdeps/sparc/dl-procinfo.h: Likewise.
52748         * sysdeps/unix/i386/sysdep.S: Likewise.
52749         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
52750         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
52751         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
52752         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
52753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52754         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
52755         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
52756         * sysdeps/unix/sysv/linux/speed.c: Likewise.
52757         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
52758         * sysdeps/wordsize-32/divdi3.c: Likewise.
52759         * time/sys/time.h: Likewise.
52760         * wcsmbs/Makefile: Likewise.
52762 2013-01-01  David S. Miller  <davem@davemloft.net>
52764         * po/fr.po: Update from translation team.
52766         * catgets/gencat.c: Update copyright year.
52767         * csu/version.c: Likewise.
52768         * debug/catchsegv.sh: Likewise.
52769         * debug/pcprofiledump.c: Likewise.
52770         * debug/xtrace.sh: Likewise.
52771         * elf/ldconfig.c: Likewise.
52772         * elf/ldd.bash.in: Likewise.
52773         * elf/pldd.c: Likewise.
52774         * elf/sotruss.ksh: Likewise.
52775         * elf/sprof.c: Likewise.
52776         * iconv/iconv_prog.c: Likewise.
52777         * iconv/iconvconfig.c: Likewise.
52778         * locale/programs/locale.c: Likewise.
52779         * locale/programs/localedef.c: Likewise.
52780         * login/programs/pt_chown.c: Likewise.
52781         * malloc/memusage.sh: Likewise.
52782         * malloc/memusagestat.c: Likewise.
52783         * malloc/mtrace.pl: Likewise.
52784         * nscd/nscd.c: Likewise.
52785         * nss/getent.c: Likewise.
52786         * nss/makedb.c: Likewise.
52787         * posix/getconf.c: Likewise.
52789 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52791         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
52792         numbers.
52794 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
52796         * math/bits/mathcalls.h (modf): Use __nonnull.
52798 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52800         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
52801         (split): Use macro CN instead of the bare value.
52802         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
52803         could be used.
52804         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
52805         instead of the bare value.
52806         (power1): Likewise.
52808 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52810         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
52811         __ATAN_TWOM.
52812         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52814         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
52815         their values.
52816         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
52817         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52818         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
52819         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
52821 2012-12-28  Andreas Jaeger  <aj@suse.de>
52823         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
52824         values are from Linux 3.7.
52826         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
52827         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
52829 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52831         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
52832         TRUE case.
52834         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
52835         (norm): Likewise.
52836         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
52837         variables with preprocessor constants.
52838         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52839         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52840         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52842 2012-12-27  Bruno Haible  <bruno@clisp.org>
52844         [BZ #14317]
52845         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
52846         only if needed.
52848 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52850         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
52851         and use variable directly.
52852         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
52854         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
52855         MPONE.
52856         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
52857         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
52858         variable MPONE.
52859         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52860         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52861         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
52862         include directive.  Remove local variable MPONE.
52863         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
52864         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
52865         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52867 2012-12-25  David S. Miller  <davem@davemloft.net>
52869         * version.h (RELEASE): Set to "development".
52870         (VERSION): Set to "2.17.90".
52871         * NEWS: Add 2.18 section.
52873 2012-12-21  David S. Miller  <davem@davemloft.net>
52875         * po/hr.po: Update from translation team.
52877 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52879         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
52881 2012-12-19  Steve Ellcey  <sellcey@mips.com>
52883         * NEWS:  Mention new memcpy for MIPS.
52885 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52887         * manual/contrib.texi (Contributors): Spelling correction.
52889 2012-12-15  David S. Miller  <davem@davemloft.net>
52891         * po/ru.po: Update from translation team.
52893 2012-12-13  David S. Miller  <davem@davemloft.net>
52895         * NEWS: Mention IFUNC testsuite enhancements.
52897         * po/pl.po: Update from translation team.
52898         * po/bg.po: Likewise.
52900         * manual/contrib.texi (Contributors): Update entries for Hongjiu
52901         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
52903 2012-12-11  David S. Miller  <davem@davemloft.net>
52905         * po/sv.po: Update from translation team.
52907         * po/vi.po: Update from translation team.
52909         * po/cs.po: Update from translation team.
52911         * po/de.po: Update from translation team.
52912         * po/eo.po: Likewise.
52913         * po/nl.po: Likewise.
52915 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52917         [BZ #14246]
52918         * manual/argp.texi (Argp Helper Functions): Move node to follow
52919         Argp Parsing State.
52921         [BZ #14872]
52922         * manual/conf.texi (Limits on File System Capacity): Mention if
52923         terminating null is included in the max size.
52925 2012-12-10  Andreas Jaeger  <aj@suse.de>
52927         * po/cs.po: Update from translation team.
52929 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
52931         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
52932         void pointer and cast to uintptr_t.
52933         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
52934         path.
52935         * sysdeps/s390/s390-64/memcpy.S: Likewise.
52936         * sysdeps/s390/s390-64/memset.S: Likewise.
52938 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
52940         [BZ #14833]
52941         * menual/message.texi (Message Translation): Fix typos.
52942         (Helper programs for gettext): Likewise.
52944 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
52946         [BZ #14898]
52947         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
52948         Change to -1.
52950 2012-12-07  David S. Miller  <davem@davemloft.net>
52952         * po/libc.pot: Update.
52954 2012-12-07  Richard Henderson  <rth@redhat.com>
52956         [BZ #10114]
52957         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
52958         normal/normal case to before the switch.
52959         (_FP_DIV): Likewise.
52961 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
52962             Mike Frysinger  <vapier@gentoo.org>
52964         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
52965         check for __NR_fadvise64_64.
52967 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
52969         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
52970         0, not just to plain "0" as a statement.
52971         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
52972         with cw.
52974 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
52976         * NEWS: Use sourceware.org in Bugzilla URL.
52978 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
52981         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
52983         * stdio-common/tst-put-error.c (do_test): Add newline to the
52984         padded test to ensure flush.
52986 2012-12-05  Jeff Law  <law@redhat.com>
52988         * sunrpc/etc.rpc (fedfs_admin): Add entry.
52990 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
52992         * README: Don't refer to ports add-on as distributed separately.
52993         Mention AArch64 in list of systems supported in the ports add-on.
52995         * LICENSES: Add more non-FSF copyright and license notices.
52997         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
52998         ((unused)).
53000         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
53002         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
53003         10000 as width of padded output.
53005 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
53007         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
53009         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
53010         variable LX with __attribute__ ((unused)).
53011         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
53012         Likewise.
53013         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
53014         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53015         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
53016         with __attribute__ ((unused)).
53018 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
53020         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
53022 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
53024         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
53025         (CFLAGS-nldbl-acos.c): New variable.
53026         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
53027         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
53028         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
53029         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
53030         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
53031         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
53032         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
53033         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
53034         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
53035         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
53036         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
53037         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
53038         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
53039         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
53040         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
53041         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
53042         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
53043         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
53044         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
53045         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
53046         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
53047         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
53048         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
53049         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
53050         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
53051         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
53052         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
53053         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
53054         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
53055         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
53056         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
53057         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
53058         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
53059         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
53060         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
53061         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
53062         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
53063         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
53064         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
53065         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
53066         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
53067         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
53068         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
53069         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
53070         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
53071         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
53072         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
53073         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
53074         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
53075         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
53076         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
53077         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
53078         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
53079         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
53080         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
53081         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
53082         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
53083         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
53084         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
53085         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
53086         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
53087         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
53088         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
53089         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
53090         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
53091         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
53092         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
53093         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
53094         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
53095         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
53096         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
53097         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
53098         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
53099         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
53100         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
53101         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
53102         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
53103         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
53104         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
53105         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
53106         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
53107         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
53108         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
53109         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
53110         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
53111         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
53112         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
53113         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
53114         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
53115         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
53116         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
53117         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
53118         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
53119         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
53120         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
53121         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
53122         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
53124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
53125         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
53127         [BZ #14914]
53128         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
53129         whole low double instead of just low 47 bits when splitting values
53130         into two parts.
53132 2012-12-03  Allan McRae  <allan@archlinux.org>
53134         * manual/stdio.texi (Predefined Printf Handlers): Remove
53135         @hsep and @vsep usage.
53137 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
53139         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
53140         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
53142 2012-12-03  Jeff Law  <law@redhat.com>
53144         * time/sys/time.h (settimeofday): Do not mark TV argument
53145         as __nonnull.
53147 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
53149         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
53150         when currently writing and seek to current position when not.
53151         * libio/Makefile (tests): Remove bug-fclose1.
53152         * libio/bug-fclose1.c: Delete.
53154 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
53156         * manual/arith.texi (feenableexcept): Fix typo.
53157         (fedisableexcept): Likewise.
53159 2012-11-30  Roland McGrath  <roland@hack.frob.com>
53161         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
53162         second, differently-typed declaration, rather than a cast.
53164 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53166         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
53167         * include/rpc/svc.h: ... here.
53169 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
53171         [BZ #13013]
53172         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
53173         depending n and resplen2 to catch cases where answer
53174         equals answerp2.
53176 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
53178         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
53179         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
53181 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
53183         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
53185 2012-11-29  Roland McGrath  <roland@hack.frob.com>
53187         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
53189 2012-11-28  Jeff Law  <law@redhat.com>
53191         [BZ #13761]
53192         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
53193         dataset_temporary.  Track alloca usage into alloca_used.
53194         If dataset is large allocate and release it via malloc/free.
53196 2012-06-04  Florian Weimer  <fweimer@redhat.com>
53198         [BZ #14197]
53199         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
53201 2012-11-28  David S. Miller  <davem@davemloft.net>
53203         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53205 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
53207         [BZ #14803]
53208         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
53209         of pi/2 rounded to nearest to 64 bits.
53210         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
53211         nearest to 64 bits.
53212         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
53213         bits.
53215 2012-11-28  Jeff Law <law@redhat.com>
53216             Martin Osvald <mosvald@redhat.com>
53218         [BZ #14889]
53219         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
53220         * sunrpc/svc.c: Include time.h.
53221         (__svc_accept_failed): New function.
53222         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
53223         any reason other than EINTR, call __svc_accept_failed.
53224         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
53225         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
53227 2012-11-28  Andreas Schwab  <schwab@suse.de>
53229         * scripts/abilist.awk: Also handle indirect functions in .opd
53230         section.
53232 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
53234         [BZ #13881]
53235         * sysdeps/x86/fpu/powl_helper.c: New file.
53236         * sysdeps/x86/fpu/Makefile: Likewise.
53237         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
53238         (p3): New object.
53239         (__ieee754_powl): Use __powl_helper for finite arguments except
53240         integer exponents below 8.
53241         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
53242         (p3): New object.
53243         (__ieee754_powl): Use __powl_helper for finite arguments except
53244         integer exponents below 8.
53245         * math/libm-test.inc (pow_test): Add more tests and enable some
53246         previously disabled tests.
53247         * sysdeps/i386/fpu/libm-test-ulps: Update.
53248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53250 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53251             Carlos O'Donell  <carlos_odonell@mentor.com>
53253         * nss/makedb.c (is_prime): Assert that input is odd and greater
53254         than 4.  Note that fact in a comment too.
53255         (next_prime): Add 4 to input.
53257 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53259         [BZ #11741]
53260         * libio/Makefile (tests): Add test case tst-fwrite-error.
53261         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
53262         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
53263         * libio/tst-fwrite-error.c: New test case.
53265 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
53267         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
53268         before casting to void *.
53269         * include/libc-internal.h (__pointer_type): New macro.
53270         (__integer_if_pointer_type_sub): Likewise.
53271         (__integer_if_pointer_type): Likewise.
53272         (cast_to_integer): Likewise.
53273         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
53274         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
53275         before casting to atomic64_t.
53276         (atomic_exchange_acq): Likewise.
53277         (__arch_exchange_and_add_body): Likewise.
53278         (__arch_add_body): Likewise.
53279         (atomic_add_negative): Likewise.
53280         (atomic_add_zero): Likewise.
53282 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
53284         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
53285         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
53286         (add_fdes): Likewise.
53287         (linear_search_fdes): Likewise.
53288         (binary_search_unencoded_fdes): Likewise.
53290 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
53292         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
53294 2012-11-24  Adam Conrad  <adconrad@0c3.net>
53296         * configure.in: Autodetect C++ header directories.
53297         * configure: Regenerated.
53299 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
53301         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
53303 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
53305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53307 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
53309         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
53310         LDBL_MANT_DIG == 106]: Disable some tests.
53311         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
53312         Likewise.
53313         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
53314         Likewise.
53316         [BZ #14871]
53317         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
53318         input for small inputs.  Return +/- pi/2 for large inputs.
53319         * math/libm-test.inc (atan_test): Add more tests.
53321         * sysdeps/generic/unwind-dw2-fde-glibc.c
53322         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
53323         __attribute__ ((unused)).
53325         [BZ #14645]
53326         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
53327         x * y if x and y are nonzero and z is zero.
53329         [BZ #14811]
53330         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
53331         nonzero exponents with absolute value below 0x1p-117 to +/-
53332         0x1p-117.
53334         [BZ #14869]
53335         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
53336         up arguments below 2**-450, not just those below 2**-500.
53337         * math/libm-test.inc (hypot_test): Add another test.
53339         [BZ #14868]
53340         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
53341         Return a+b for ratio over 2**120, not 2**60.
53342         * math/libm-test.inc (hypot_test): Add another test.
53344         * math/libm-test.inc (clog_test): Use
53345         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
53346         (clog10_test): Likewise.
53348         [BZ #6778]
53349         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
53351 2012-11-22  Andreas Schwab  <schwab@suse.de>
53353         * sysdeps/i386/fpu/libm-test-ulps: Update.
53355 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
53357         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
53358         printf output with newline.
53360 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
53362         [BZ #14865]
53363         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
53364         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
53365         -z nodlopen, -z initfirst and -z execstack support.
53366         * configure: Regenerated.
53368         * elf/elf.h (DF_1_NODIRECT): New macro.
53369         (DF_1_IGNMULDEF): Likewise.
53370         (DF_1_NOKSYMS): Likewise.
53371         (DF_1_NOHDR): Likewise.
53372         (DF_1_EDITED): Likewise.
53373         (DF_1_NORELOC): Likewise.
53374         (DF_1_SYMINTPOSE): Likewise.
53375         (DF_1_GLOBAUDIT): Likewise.
53376         (DF_1_SINGLETON): Likewise.
53377         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
53378         DT_1_SUPPORTED_MASK bits.
53379         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
53381 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
53383         * sysdeps/unix/make-syscalls.sh: Document prefixes.
53385 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
53387         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
53388         macro.
53390         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
53391         (sendmmsg): Move declarations...
53392         * socket/sys/socket.h: ... here.
53393         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
53394         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
53395         include it from...
53396         * socket/recvmmsg.c: ... this new file.
53397         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
53398         (sendmmsg): Rename to __sendmmsg, create weak alias and make
53399         definition of __sendmmsg hidden.
53400         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
53401         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
53402         Move ENOSYS stub into and include it from...
53403         * socket/sendmmsg.c: ... this new file.
53404         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
53405         (sysdep_routines): Move recvmmsg and sendmmsg...
53406         * socket/Makefile (routines): ... here.
53407         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
53408         (GLIBC_PRIVATE): Add __sendmmsg.
53409         * include/sys/socket.h (__sendmmsg): Add declarations.
53410         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
53411         sendmmsg.
53413 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
53415         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
53416         variable I1 with __attribute__ ((unused)).
53417         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53419 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
53421         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
53422         DUMMY variables with __attribute__ ((unused)).
53424         * bits/byteswap.h: Include <bits/types.h>.
53425         (__bswap_64): Use __uint64_t instead of unsigned long long int.
53427 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
53429         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
53430         string_t.  Do not manually set errno.
53431         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
53432         length with __strnlen.  Make sure to both set errno and return it on
53433         failure.
53435 2012-11-19  David S. Miller  <davem@davemloft.net>
53437         With help from Joseph Myers.
53438         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
53439         very large arguments properly.
53440         * math/libm-test.inc (atan_test): New tests.
53441         (atan2_test): New tests.
53442         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53443         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53445 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
53447         [BZ #14856]
53448         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
53449         Define to 3.
53451         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
53452         [POSIX] (EADDRNOTAVAIL): Likewise.
53453         [POSIX] (EAFNOSUPPORT): Likewise.
53454         [POSIX] (EALREADY): Likewise.
53455         [POSIX] (ECONNABORTED): Likewise.
53456         [POSIX] (ECONNREFUSED): Likewise.
53457         [POSIX] (ECONNRESET): Likewise.
53458         [POSIX] (EDESTADDRREQ): Likewise.
53459         [POSIX] (EDQUOT): Likewise.
53460         [POSIX] (EHOSTUNREACH): Likewise.
53461         [POSIX] (EIDRM): Likewise.
53462         [POSIX] (EISCONN): Likewise.
53463         [POSIX] (ELOOP): Likewise.
53464         [POSIX] (EMULTIHOP): Likewise.
53465         [POSIX] (ENETDOWN): Likewise.
53466         [POSIX] (ENETUNREACH): Likewise.
53467         [POSIX] (ENOBUFS): Likewise.
53468         [POSIX] (ENODATA): Likewise.
53469         [POSIX] (ENOLINK): Likewise.
53470         [POSIX] (ENOMSG): Likewise.
53471         [POSIX] (ENOPROTOOPT): Likewise.
53472         [POSIX] (ENOSR): Likewise.
53473         [POSIX] (ENOSTR): Likewise.
53474         [POSIX] (ENOTCONN): Likewise.
53475         [POSIX] (ENOTSOCK): Likewise.
53476         [POSIX] (EOPNOTSUPP): Likewise.
53477         [POSIX] (EOVERFLOW): Likewise.
53478         [POSIX] (EPROTO): Likewise.
53479         [POSIX] (EPROTONOSUPPORT): Likewise.
53480         [POSIX] (EPROTOTYPE): Likewise.
53481         [POSIX] (ESTALE): Likewise.
53482         [POSIX] (ETIME): Likewise.
53483         [POSIX] (ETXTBSY): Likewise.
53484         [POSIX] (EWOULDBLOCK): Likewise.
53485         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
53486         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
53487         [POSIX] (SEEK_CUR): Likewise.
53488         [POSIX] (SEEK_END): Likewise.
53489         [POSIX || UNIX98] (mode_t): Do not require.
53490         [POSIX] (off_t): Likewise.
53491         [POSIX] (pid_t): Likewise.
53492         [POSIX] (sys/stat.h): Do not allow header.
53493         [POSIX] (unistd.h): Likewise.
53494         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
53495         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
53496         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
53497         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
53498         require.
53499         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
53500         sigevent): Specify elements.
53501         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
53502         entry.
53503         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
53504         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
53506         * conform/data/cpio.h-data [POSIX]: Disable whole file.
53507         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
53508         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
53509         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
53510         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
53511         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
53512         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
53513         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
53514         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
53515         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
53516         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
53517         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
53518         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
53519         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
53520         Likewise.
53521         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
53522         Likewise.
53523         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
53524         Likewise.
53525         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
53526         Likewise.
53527         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
53528         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
53529         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
53530         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
53531         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
53532         Specify lower bound on value.
53533         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
53534         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
53535         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
53536         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
53537         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
53538         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
53539         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
53540         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
53541         value.
53542         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
53543         as optional.
53544         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
53545         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
53546         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
53547         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
53548         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
53549         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
53550         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
53551         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
53552         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
53553         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
53554         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
53555         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
53556         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
53557         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
53558         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
53559         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
53560         entry.
53561         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
53562         optional.
53563         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
53564         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
53565         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
53566         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
53567         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
53568         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
53569         Likewise.
53570         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
53571         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
53572         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
53573         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
53574         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
53575         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
53576         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
53577         as optional.
53578         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
53579         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
53580         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
53581         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
53582         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
53583         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
53584         specify as optional.
53585         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
53586         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
53587         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
53588         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
53589         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
53590         [XPG3] (NL_LANGMAX): Likewise.
53591         [POSIX || XPG3] (NL_MSGMAX): Likewise.
53592         [POSIX || XPG3] (NL_NMAX): Likewise.
53593         [POSIX || XPG3] (NL_SETMAX): Likewise.
53594         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
53595         [XPG3] (NZERO): Likewise.
53596         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
53597         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
53598         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
53599         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
53600         (REG_ERANGE): Expect.
53601         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
53602         optional-constant.
53603         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
53604         Use (void) in prototype.
53605         [POSIX] (*_t): Allow.
53606         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
53607         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
53608         (WRDE_BADVAL): Expect.
53610         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
53611         expect.
53612         [XPG3 || XPG4] (O_RSYNC): Likewise.
53613         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
53614         Likewise.
53615         [XPG3 || XPG4] (pthread_sigmask): Likewise.
53616         [XPG3 || XPG4] (sigqueue): Likewise.
53617         [XPG3 || XPG4] (sigtimedwait): Likewise.
53618         [XPG3 || XPG4] (sigwaitinfo): Likewise.
53619         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
53620         [XPG3 || XPG4] (vsnprintf): Likewise.
53621         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
53622         Likewise.
53623         [XPG3 || XPG4] (blksize_t): Likewise.
53624         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
53625         Likewise.
53626         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
53627         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
53628         [XPG3 || XPG4] (struct itimerspec): Likewise.
53629         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
53630         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
53631         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
53632         [XPG3 || XPG4] (clockid_t): Likewise.
53633         [XPG3 || XPG4] (timer_t): Likewise.
53634         [XPG3 || XPG4] (clock_getres): Likewise.
53635         [XPG3 || XPG4] (clock_gettime): Likewise.
53636         [XPG3 || XPG4] (clock_settime): Likewise.
53637         [XPG3 || XPG4] (nanosleep): Likewise.
53638         [XPG3 || XPG4] (timer_create): Likewise.
53639         [XPG3 || XPG4] (timer_delete): Likewise.
53640         [XPG3 || XPG4] (timer_gettime): Likewise.
53641         [XPG3 || XPG4] (timer_getoverrun): Likewise.
53642         [XPG3 || XPG4] (timer_settime): Likewise.
53643         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
53644         [XPG3 || XPG4] (getlogin_r): Likewise.
53645         [XPG3 || XPG4] (pread): Likewise.
53646         [XPG3 || XPG4] (pthread_atfork): Likewise.
53647         [XPG3 || XPG4] (pwrite): Likewise.
53649         [BZ #14835]
53650         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
53651         <bits/siginfo.h>.
53653 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
53655         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
53656         finalizing MALLSTREAM.
53658         * sysdeps/mach/hurd/syncfs.c: New file.
53660 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53662         [BZ #14719]
53663         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
53664         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
53665         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
53666         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
53667         (_nss_dns_gethostbyname4_r): Likewise.
53668         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
53669         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
53671 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
53673         [BZ #13763]
53674         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
53676 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
53678         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
53679         * elf/cache.c (print_entry): Print ",AArch64" for
53680         FLAG_AARCH64_LIB64
53682         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
53683         * elf/cache.c (print_entry): Print ",hard-float" for
53684         FLAG_ARM_LIBHF.
53686 2012-11-18  David S. Miller  <davem@davemloft.net>
53688         With help from Joseph Myers.
53689         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
53690         cutoff to 2**-13.
53691         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
53692         cutoff to 2**-25.
53693         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
53694         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
53695         small.
53696         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
53697         * math/libm-test.inc (y0_test): New tests.
53698         (y1_test): New tests.
53699         * sysdeps/i386/fpu/libm-test-ulps: Update.
53700         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53703 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
53705         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
53706         64-bit targets.
53707         * configure: Regenerated.
53709 2012-11-17  David S. Miller  <davem@davemloft.net>
53711         [BZ #14811]
53712         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
53713         nonzero exponents with absolute value below 0x1p-128 to +/-
53714         0x1p-128.
53716 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
53718         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
53720         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
53722         * posix/getconf-speclist.c: New file.
53723         * posix/posix-envs.def: Likewise.
53724         * posix/confstr.c (START_ENV_GROUP): New macro.
53725         (END_ENV_GROUP): Likewise.
53726         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
53727         (KNOWN_PRESENT_ENV_STRING): Likewise.
53728         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
53729         (UNKNOWN_ENVIRONMENT): Likewise.
53730         (confstr): Include posix-envs.def instead of handling
53731         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
53732         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
53733         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
53734         (END_ENV_GROUP): Likewise.
53735         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
53736         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
53737         (UNKNOWN_ENVIRONMENT): Likewise.
53738         (__sysconf): Include posix-envs.def instead of handling associated
53739         cases directly here.
53740         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
53741         preprocessing getconf-speclist.c rather than running getconf or
53742         generating empty file.
53744 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
53746         * scripts/check-local-headers.sh: Ignore 'mach' headers.
53748 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
53750         [BZ #14672]
53751         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
53753 2012-11-16  David S. Miller  <davem@davemloft.net>
53755         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
53756         smaller than LDBL_EPSILON/2.0L, just return xm1.
53758 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
53760         * elf/tst-array1.c (init): Set constructor priority to 1000.
53761         (fini): Set destructor priority to 1000.
53762         * elf/tst-array2dep.c: Likewise.
53764 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53766         [BZ #11741]
53767         * libio/fileops.c (_IO_new_file_write): Correctly return error.
53768         (_IO_new_file_xsputn): Also return EOF if none of the input
53769         data was written when overflow failed.
53770         * libio/iopadn.c (_IO_padn): Likewise.
53771         * libio/iowpadn.c (_IO_wpadn): Likewise.
53772         * stdio-common/tst-put-error.c: Add copyright notice.
53773         (do_test): Add case for printing padded string.
53774         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
53775         _IO_padn returned error.
53776         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
53777         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
53778         return EOF.
53780 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53782         * libio/libioP.h: Add comment note that the references to C++
53783         bits are now obsolete.
53785 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53787         * math/libm-test.inc (check_complex): Use asprintf.
53789 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
53791         * debug/pcprofiledump.c (print_version): Update copyright year.
53792         * malloc/memusagestat.c (print_version): Likewise.
53794 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
53796         [BZ #14831]
53797         * elf/Makefile (tests): Add tst-audit8.
53798         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
53799         ($(objpfx)tst-audit8.out): New target.
53800         (tst-audit8-ENV): New variable.
53801         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
53802         audit if l_reloc_result is NULL.
53803         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
53804         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
53805         * elf/tst-audit8.c: New file.
53807 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53809         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
53810         * misc/Makefile (CFLAGS-select.c): Define.
53811         * posix/Makefile (CFLAGS-pause.c): Define.
53813 2012-11-13  David S. Miller  <davem@davemloft.net>
53815         * crypt/Makefile: Move test targets after toplevel Rules
53816         inclusion.  Grab any necessary sysdep routines when linking.
53817         * crypt/md5.c (md5_process_block): Remove define, we will always
53818         name it __md5_process_block.
53819         (md5_finish_ctx): Update md5_process_block call.
53820         (md5_stream): Likewise.
53821         (md5_process_bytes): Likewise.
53822         (md5_process_block): Rename to __md5_process_block and move to ...
53823         * crypt/md5-block.c: ... here.
53824         * crypt/sha256.c (sha256_process_block): Move to ...
53825         * crypt/sha256-block.c: ... here.
53826         * crypt/sha512.c (sha512_process_block): Move to ...
53827         * crypt/sha512-block.c: ... here.
53828         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
53829         path.
53830         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
53831         * sysdeps/sparc/sparc64/multiarch/Makefile
53832         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
53833         crypt subdir.
53834         (localedef-aux): Add md5 crypto assembler when in locale subdir.
53835         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
53836         multiarch changes.
53837         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
53838         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
53839         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
53840         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
53841         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
53842         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
53843         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
53844         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
53845         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
53846         file.
53847         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
53848         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
53849         file.
53850         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
53852 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
53854         * timezone/tzselect.ksh: Update from tzcode git revision
53855         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
53856         * timezone/zdump.c: Likewise.
53857         * timezone/zic.c: Likewise.
53858         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
53859         in TZVERSION setting, not $(PKGVERSION).
53860         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
53861         REPORT_BUGS_TO settings.
53863         [BZ #14838]
53864         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
53865         macro.
53867 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53869         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
53870         detection to immediately after _FP_ROUND().
53871         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
53872         bits are 0.
53874 2012-11-11  David S. Miller  <davem@davemloft.net>
53876         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
53877         inttypes.h
53878         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
53879         __close rather than their public counterparts.
53881 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
53883         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
53884         file.
53885         [UNIX98] (sem_timedwait): Do not expect.
53886         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
53887         [XPG4 || UNIX98] (sockatmark): Do not expect.
53888         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
53889         (clock_getcpuclockid): Do not expect.
53890         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
53891         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
53892         Do not expect.
53893         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
53894         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
53895         [UNIX98] (vwscanf): Likewise.
53896         [UNIX98] (vswscanf): Likewise.
53898 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
53900         * timezone/version.h: Remove file.
53901         * timezone/README: Do not refer to version.h.
53902         * timezone/Makefile ($(objpfx)zic.o): New dependency on
53903         $(objpfx)version.h.
53904         ($(objpfx)zdump.o): Likewise.
53905         ($(objpfx)version.h): New target.
53907         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
53908         2012i.
53909         * timezone/README: Don't mention modification to tzselect.ksh.
53910         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
53911         work on unmodified tzselect.ksh.  Substitute version numbers in
53912         tzselect.ksh.
53914         * Makefile (format-me): Remove.
53915         (INSTALL): Adjust indentation.  Use commands directly instead of
53916         using $(format-me).
53918         * aclocal.m4 (ACX_PKGVERSION): New macro.
53919         (ACX_BUGURL): Likewise.
53920         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
53921         (PKGVERSION): New AC_DEFINE_UNQUOTED.
53922         (REPORT_BUGS_TO): Likewise.
53923         * configure: Regenerated.
53924         * config.h.in (PKGVERSION): New macro.
53925         (REPORT_BUGS_TO): Likewise.
53926         * config.make.in (PKGVERSION): New variable.
53927         (PKGVERSION_TEXI): Likewise.
53928         (REPORT_BUGS_TO): Likewise.
53929         (REPORT_BUGS_TEXI): Likewise.
53930         * Makefile (format-me): Use -I$(common-objpfx)manual.
53931         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
53932         ($(common-objpfx)manual/%): New target.
53933         (manual/%): Remove target.
53934         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
53935         (print_version): Use PKGVERSION.
53936         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
53937         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
53938         and REPORT_BUGS_TO.
53939         ($(objpfx)xtrace): Likewise.
53940         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
53941         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
53942         (print_version): Use PKGVERSION.
53943         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
53944         (do_version): Use PKGVERSION.
53945         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
53946         REPORT_BUGS_TO.
53947         (common-ldd-rewrite): Likewise.
53948         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
53949         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
53950         (print_version): Use PKGVERSION.
53951         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
53952         * elf/pldd.c (argp_program_bug_address): Remove variable.
53953         (more_help): New function.
53954         (argp): Use more_help.
53955         (print_version): Use PKGVERSION.
53956         * elf/sln.c (main): Use PKGVERSION.
53957         (usage): Use REPORT_BUGS_TO.
53958         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
53959         (top level): Use PKGVERSION.
53960         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
53961         (print_version): Use PKGVERSION.
53962         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
53963         (print_version): Use PKGVERSION.
53964         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
53965         (print_version): Use PKGVERSION.
53966         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
53967         (print_version): Use PKGVERSION.
53968         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
53969         (print_version): Use PKGVERSION.
53970         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
53971         (print_version): Use PKGVERSION.
53972         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
53973         and BUGURL.
53974         ($(objpfx)memusage): Likewise.
53975         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
53976         (do_version): Use PKGVERSION.
53977         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
53978         (print_version): Use PKGVERSION.
53979         * malloc/mtrace.pl ($PACKAGE): Remove variable.
53980         ($PKGVERSION): New variable.
53981         ($REPORT_BUGS_TO): Likewise.
53982         (usage): Use $REPORT_BUGS_TO.
53983         (top level): Use $PKGVERSION.
53984         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
53985         ($(objpfx)pkgvers.texi): New rule.
53986         ($(objpfx)stamp-pkgvers): Likewise.
53987         * manual/install.texi: Include pkgvers.texi.
53988         (--with-pkgversion): Document new configure option.
53989         (--with-bugurl): Likewise.
53990         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
53991         than necessarily for this particular distribution.  Use
53992         REPORT_BUGS_TO for where to report bugs.
53993         * INSTALL: Regenerated.
53994         * manual/libc.texinfo: Include pkgvers.texi.
53995         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
53996         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
53997         (print_version): Use PKGVERSION.
53998         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
53999         (print_version): Use PKGVERSION.
54000         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
54001         (print_version): Use PKGVERSION.
54002         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
54003         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
54004         macro.
54005         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
54006         (print_version): Use PKGVERSION.
54007         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
54008         (print_version): Use PKGVERSION.
54009         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
54010         and PKGVERSION.
54012         * timezone/checktab.awk: Update from tzcode 2012i.
54013         * timezone/ialloc.c: Likewise.
54014         * timezone/private.h: Likewise.
54015         * timezone/scheck.c: Likewise.
54016         * timezone/tzfile.h: Likewise.
54017         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
54018         (TZVERSION): Hardcode tzcode version number.
54019         * timezone/zdump.c: Update from tzcode 2012i.
54020         * timezone/zic.c: Likewise.
54021         * timezone/version.h: New file.
54022         * timezone/README: Describe version.h.  Update upstream location.
54024         [BZ #14824]
54025         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
54026         (mktemp): Enable declaration.
54027         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
54028         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
54029         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
54030         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
54031         Likewise.
54032         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
54033         Likewise.
54034         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
54035         Likewise.
54036         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
54037         Likewise.
54038         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
54039         Likewise.
54040         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
54041         Likewise.
54043         [BZ #14821]
54044         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
54045         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
54046         for copies of such integer values.
54047         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54048         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54050 2012-11-09  Andreas Jaeger  <aj@suse.de>
54052         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
54053         definitions and declarations that are provided by
54054         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
54056 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54058         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
54059         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
54060         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
54061         definition.
54063 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54065         * elf/elf.h: Update comment before AArch64 relocations.
54067 2012-11-07  David S. Miller  <davem@davemloft.net>
54069         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
54070         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54071         (__start_context): Declare.
54072         (__makecontext_ret): Delete.
54073         (__makecontext): Hook up __start_context instead of
54074         __makecontext_ret.
54075         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
54076         (sysdep_routines): Add __start_context when in stdlib.
54078 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54080         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
54081         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
54082         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
54083         hardcoded "nm".
54084         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
54085         (READELF): New variable.  Use it instead of hardcoded "readelf".
54087 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
54089         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
54090         * sysdeps/x86/Makefile: Here.
54091         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
54092         * sysdeps/x86/tst-xmmymm.sh: This.
54094 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54096         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
54097         expectations.
54098         [UNIX98] (pthread_barrier_t): Do not expect.
54099         [UNIX98] (pthread_barrierattr_t): Likewise.
54100         [UNIX98] (pthread_spinlock_t): Likewise.
54101         [UNIX98] (pthread_barrier_destroy): Likewise.
54102         [UNIX98] (pthread_barrier_init): Likewise.
54103         [UNIX98] (pthread_barrier_wait): Likewise.
54104         [UNIX98] (pthread_barrierattr_destroy): Likewise.
54105         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
54106         [UNIX98] (pthread_barrierattr_init): Likewise.
54107         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
54108         [UNIX98] (pthread_getcpuclockid): Likewise.
54109         [UNIX98] (pthread_mutex_timedlock): Likewise.
54110         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
54111         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
54112         [UNIX98] (pthread_sigmask): Likewise.
54113         [UNIX98] (pthread_spin_destroy): Likewise.
54114         [UNIX98] (pthread_spin_init): Likewise.
54115         [UNIX98] (pthread_spin_lock): Likewise.
54116         [UNIX98] (pthread_spin_trylock): Likewise.
54117         [UNIX98] (pthread_spin_unlock): Likewise.
54118         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
54119         Do not expect.
54120         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
54121         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
54122         [XPG3 || XPG4] (pthread_cond_t): Likewise.
54123         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
54124         [XPG3 || XPG4] (pthread_key_t): Likewise.
54125         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
54126         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
54127         [XPG3 || XPG4] (pthread_once_t): Likewise.
54128         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
54129         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
54130         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
54131         [XPG3 || XPG4] (pthread_t): Likewise.
54133         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
54134         not expect.
54135         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
54137         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
54138         Change function return type to int.
54140         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
54141         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
54142         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
54143         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
54144         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
54145         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
54146         [!POSIX] (posix_madvise): Likewise.
54147         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
54148         && !UNIX98].
54149         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
54150         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
54151         (mode_t): Likewise.
54152         (posix_mem_offset): Likewise.
54153         (posix_typed_mem_get_info): Likewise.
54154         (posix_typed_mem_open): Likewise.
54156         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
54157         Change condition to [XOPEN2K8].
54159         * conform/conformtest.pl: Preprocess allow-header data with -x c
54160         instead of from stdin.
54161         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
54162         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
54163         [C99-based standards] (cerfc): Likewise.
54164         [C99-based standards] (cexp2): Likewise.
54165         [C99-based standards] (cexpm1): Likewise.
54166         [C99-based standards] (clog10): Likewise.
54167         [C99-based standards] (clog1p): Likewise.
54168         [C99-based standards] (clog2): Likewise.
54169         [C99-based standards] (clgamma): Likewise.
54170         [C99-based standards] (ctgamma): Likewise.
54171         [C99-based standards] (cerff): Likewise.
54172         [C99-based standards] (cerfcf): Likewise.
54173         [C99-based standards] (cexp2f): Likewise.
54174         [C99-based standards] (cexpm1f): Likewise.
54175         [C99-based standards] (clog10f): Likewise.
54176         [C99-based standards] (clog1pf): Likewise.
54177         [C99-based standards] (clog2f): Likewise.
54178         [C99-based standards] (clgammaf): Likewise.
54179         [C99-based standards] (ctgammaf): Likewise.
54180         [C99-based standards] (cerfl): Likewise.
54181         [C99-based standards] (cerfcl): Likewise.
54182         [C99-based standards] (cexp2l): Likewise.
54183         [C99-based standards] (cexpm1l): Likewise.
54184         [C99-based standards] (clog10l): Likewise.
54185         [C99-based standards] (clog1pl): Likewise.
54186         [C99-based standards] (clog2l): Likewise.
54187         [C99-based standards] (clgammal): Likewise.
54188         [C99-based standards] (ctgammal): Likewise.
54189         * conform/data/inttypes.h-data [C99-based standards]: Include
54190         stdint.h-data.  Remove all expectations for stdint.h contents.
54191         [C99-based standards] (PRI*): Do not allow.
54192         [C99-based standards] (SCN*): Likewise.
54193         [C99-based standards] (*_t): Likewise.
54194         [C99-based-standards] (PRId8): Expect macro.
54195         [C99-based-standards] (PRIi8): Likewise.
54196         [C99-based-standards] (PRIo8): Likewise.
54197         [C99-based-standards] (PRIu8): Likewise.
54198         [C99-based-standards] (PRIx8): Likewise.
54199         [C99-based-standards] (PRIX8): Likewise.
54200         [C99-based-standards] (SCNd8): Likewise.
54201         [C99-based-standards] (SCNi8): Likewise.
54202         [C99-based-standards] (SCNo8): Likewise.
54203         [C99-based-standards] (SCNu8): Likewise.
54204         [C99-based-standards] (SCNx8): Likewise.
54205         [C99-based-standards] (PRIdLEAST8): Likewise.
54206         [C99-based-standards] (PRIiLEAST8): Likewise.
54207         [C99-based-standards] (PRIoLEAST8): Likewise.
54208         [C99-based-standards] (PRIuLEAST8): Likewise.
54209         [C99-based-standards] (PRIxLEAST8): Likewise.
54210         [C99-based-standards] (PRIXLEAST8): Likewise.
54211         [C99-based-standards] (SCNdLEAST8): Likewise.
54212         [C99-based-standards] (SCNiLEAST8): Likewise.
54213         [C99-based-standards] (SCNoLEAST8): Likewise.
54214         [C99-based-standards] (SCNuLEAST8): Likewise.
54215         [C99-based-standards] (SCNxLEAST8): Likewise.
54216         [C99-based-standards] (PRIdFAST8): Likewise.
54217         [C99-based-standards] (PRIiFAST8): Likewise.
54218         [C99-based-standards] (PRIoFAST8): Likewise.
54219         [C99-based-standards] (PRIuFAST8): Likewise.
54220         [C99-based-standards] (PRIxFAST8): Likewise.
54221         [C99-based-standards] (PRIXFAST8): Likewise.
54222         [C99-based-standards] (SCNdFAST8): Likewise.
54223         [C99-based-standards] (SCNiFAST8): Likewise.
54224         [C99-based-standards] (SCNoFAST8): Likewise.
54225         [C99-based-standards] (SCNuFAST8): Likewise.
54226         [C99-based-standards] (SCNxFAST8): Likewise.
54227         [C99-based-standards] (PRId16): Likewise.
54228         [C99-based-standards] (PRIi16): Likewise.
54229         [C99-based-standards] (PRIo16): Likewise.
54230         [C99-based-standards] (PRIu16): Likewise.
54231         [C99-based-standards] (PRIx16): Likewise.
54232         [C99-based-standards] (PRIX16): Likewise.
54233         [C99-based-standards] (SCNd16): Likewise.
54234         [C99-based-standards] (SCNi16): Likewise.
54235         [C99-based-standards] (SCNo16): Likewise.
54236         [C99-based-standards] (SCNu16): Likewise.
54237         [C99-based-standards] (SCNx16): Likewise.
54238         [C99-based-standards] (PRIdLEAST16): Likewise.
54239         [C99-based-standards] (PRIiLEAST16): Likewise.
54240         [C99-based-standards] (PRIoLEAST16): Likewise.
54241         [C99-based-standards] (PRIuLEAST16): Likewise.
54242         [C99-based-standards] (PRIxLEAST16): Likewise.
54243         [C99-based-standards] (PRIXLEAST16): Likewise.
54244         [C99-based-standards] (SCNdLEAST16): Likewise.
54245         [C99-based-standards] (SCNiLEAST16): Likewise.
54246         [C99-based-standards] (SCNoLEAST16): Likewise.
54247         [C99-based-standards] (SCNuLEAST16): Likewise.
54248         [C99-based-standards] (SCNxLEAST16): Likewise.
54249         [C99-based-standards] (PRIdFAST16): Likewise.
54250         [C99-based-standards] (PRIiFAST16): Likewise.
54251         [C99-based-standards] (PRIoFAST16): Likewise.
54252         [C99-based-standards] (PRIuFAST16): Likewise.
54253         [C99-based-standards] (PRIxFAST16): Likewise.
54254         [C99-based-standards] (PRIXFAST16): Likewise.
54255         [C99-based-standards] (SCNdFAST16): Likewise.
54256         [C99-based-standards] (SCNiFAST16): Likewise.
54257         [C99-based-standards] (SCNoFAST16): Likewise.
54258         [C99-based-standards] (SCNuFAST16): Likewise.
54259         [C99-based-standards] (SCNxFAST16): Likewise.
54260         [C99-based-standards] (PRId32): Likewise.
54261         [C99-based-standards] (PRIi32): Likewise.
54262         [C99-based-standards] (PRIo32): Likewise.
54263         [C99-based-standards] (PRIu32): Likewise.
54264         [C99-based-standards] (PRIx32): Likewise.
54265         [C99-based-standards] (PRIX32): Likewise.
54266         [C99-based-standards] (SCNd32): Likewise.
54267         [C99-based-standards] (SCNi32): Likewise.
54268         [C99-based-standards] (SCNo32): Likewise.
54269         [C99-based-standards] (SCNu32): Likewise.
54270         [C99-based-standards] (SCNx32): Likewise.
54271         [C99-based-standards] (PRIdLEAST32): Likewise.
54272         [C99-based-standards] (PRIiLEAST32): Likewise.
54273         [C99-based-standards] (PRIoLEAST32): Likewise.
54274         [C99-based-standards] (PRIuLEAST32): Likewise.
54275         [C99-based-standards] (PRIxLEAST32): Likewise.
54276         [C99-based-standards] (PRIXLEAST32): Likewise.
54277         [C99-based-standards] (SCNdLEAST32): Likewise.
54278         [C99-based-standards] (SCNiLEAST32): Likewise.
54279         [C99-based-standards] (SCNoLEAST32): Likewise.
54280         [C99-based-standards] (SCNuLEAST32): Likewise.
54281         [C99-based-standards] (SCNxLEAST32): Likewise.
54282         [C99-based-standards] (PRIdFAST32): Likewise.
54283         [C99-based-standards] (PRIiFAST32): Likewise.
54284         [C99-based-standards] (PRIoFAST32): Likewise.
54285         [C99-based-standards] (PRIuFAST32): Likewise.
54286         [C99-based-standards] (PRIxFAST32): Likewise.
54287         [C99-based-standards] (PRIXFAST32): Likewise.
54288         [C99-based-standards] (SCNdFAST32): Likewise.
54289         [C99-based-standards] (SCNiFAST32): Likewise.
54290         [C99-based-standards] (SCNoFAST32): Likewise.
54291         [C99-based-standards] (SCNuFAST32): Likewise.
54292         [C99-based-standards] (SCNxFAST32): Likewise.
54293         [C99-based-standards] (PRId64): Likewise.
54294         [C99-based-standards] (PRIi64): Likewise.
54295         [C99-based-standards] (PRIo64): Likewise.
54296         [C99-based-standards] (PRIu64): Likewise.
54297         [C99-based-standards] (PRIx64): Likewise.
54298         [C99-based-standards] (PRIX64): Likewise.
54299         [C99-based-standards] (SCNd64): Likewise.
54300         [C99-based-standards] (SCNi64): Likewise.
54301         [C99-based-standards] (SCNo64): Likewise.
54302         [C99-based-standards] (SCNu64): Likewise.
54303         [C99-based-standards] (SCNx64): Likewise.
54304         [C99-based-standards] (PRIdLEAST64): Likewise.
54305         [C99-based-standards] (PRIiLEAST64): Likewise.
54306         [C99-based-standards] (PRIoLEAST64): Likewise.
54307         [C99-based-standards] (PRIuLEAST64): Likewise.
54308         [C99-based-standards] (PRIxLEAST64): Likewise.
54309         [C99-based-standards] (PRIXLEAST64): Likewise.
54310         [C99-based-standards] (SCNdLEAST64): Likewise.
54311         [C99-based-standards] (SCNiLEAST64): Likewise.
54312         [C99-based-standards] (SCNoLEAST64): Likewise.
54313         [C99-based-standards] (SCNuLEAST64): Likewise.
54314         [C99-based-standards] (SCNxLEAST64): Likewise.
54315         [C99-based-standards] (PRIdFAST64): Likewise.
54316         [C99-based-standards] (PRIiFAST64): Likewise.
54317         [C99-based-standards] (PRIoFAST64): Likewise.
54318         [C99-based-standards] (PRIuFAST64): Likewise.
54319         [C99-based-standards] (PRIxFAST64): Likewise.
54320         [C99-based-standards] (PRIXFAST64): Likewise.
54321         [C99-based-standards] (SCNdFAST64): Likewise.
54322         [C99-based-standards] (SCNiFAST64): Likewise.
54323         [C99-based-standards] (SCNoFAST64): Likewise.
54324         [C99-based-standards] (SCNuFAST64): Likewise.
54325         [C99-based-standards] (SCNxFAST64): Likewise.
54326         [C99-based-standards] (PRIdMAX): Likewise.
54327         [C99-based-standards] (PRIiMAX): Likewise.
54328         [C99-based-standards] (PRIoMAX): Likewise.
54329         [C99-based-standards] (PRIuMAX): Likewise.
54330         [C99-based-standards] (PRIxMAX): Likewise.
54331         [C99-based-standards] (PRIXMAX): Likewise.
54332         [C99-based-standards] (SCNdMAX): Likewise.
54333         [C99-based-standards] (SCNiMAX): Likewise.
54334         [C99-based-standards] (SCNoMAX): Likewise.
54335         [C99-based-standards] (SCNuMAX): Likewise.
54336         [C99-based-standards] (SCNxMAX): Likewise.
54337         [C99-based-standards] (PRIdPTR): Likewise.
54338         [C99-based-standards] (PRIiPTR): Likewise.
54339         [C99-based-standards] (PRIoPTR): Likewise.
54340         [C99-based-standards] (PRIuPTR): Likewise.
54341         [C99-based-standards] (PRIxPTR): Likewise.
54342         [C99-based-standards] (PRIXPTR): Likewise.
54343         [C99-based-standards] (SCNdPTR): Likewise.
54344         [C99-based-standards] (SCNiPTR): Likewise.
54345         [C99-based-standards] (SCNoPTR): Likewise.
54346         [C99-based-standards] (SCNuPTR): Likewise.
54347         [C99-based-standards] (SCNxPTR): Likewise.
54348         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
54349         allow.
54350         * conform/data/stdint.h-data: Update comments to clarify
54351         requirements.
54352         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
54353         type.
54354         [C99-based standards] (INT8_MAX): Likewise.
54355         [C99-based standards] (INT16_MIN): Likewise.
54356         [C99-based standards] (INT16_MAX): Likewise.
54357         [C99-based standards] (INT32_MIN): Likewise.
54358         [C99-based standards] (INT32_MAX): Likewise.
54359         [C99-based standards] (INT64_MIN): Likewise.
54360         [C99-based standards] (INT64_MAX): Likewise.
54361         [C99-based standards] (UINT8_MAX): Likewise.
54362         [C99-based standards] (UINT16_MAX): Likewise.
54363         [C99-based standards] (UINT32_MAX): Likewise.
54364         [C99-based standards] (UINT64_MAX): Likewise.
54365         [C99-based standards] (INT_LEAST8_MIN): Likewise.
54366         [C99-based standards] (INT_LEAST8_MAX): Likewise.
54367         [C99-based standards] (INT_LEAST16_MIN): Likewise.
54368         [C99-based standards] (INT_LEAST16_MAX): Likewise.
54369         [C99-based standards] (INT_LEAST32_MIN): Likewise.
54370         [C99-based standards] (INT_LEAST32_MAX): Likewise.
54371         [C99-based standards] (INT_LEAST64_MIN): Likewise.
54372         [C99-based standards] (INT_LEAST64_MAX): Likewise.
54373         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
54374         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
54375         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
54376         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
54377         [C99-based standards] (INT_FAST8_MIN): Likewise.
54378         [C99-based standards] (INT_FAST8_MAX): Likewise.
54379         [C99-based standards] (INT_FAST16_MIN): Likewise.
54380         [C99-based standards] (INT_FAST16_MAX): Likewise.
54381         [C99-based standards] (INT_FAST32_MIN): Likewise.
54382         [C99-based standards] (INT_FAST32_MAX): Likewise.
54383         [C99-based standards] (INT_FAST64_MIN): Likewise.
54384         [C99-based standards] (INT_FAST64_MAX): Likewise.
54385         [C99-based standards] (UINT_FAST8_MAX): Likewise.
54386         [C99-based standards] (UINT_FAST16_MAX): Likewise.
54387         [C99-based standards] (UINT_FAST32_MAX): Likewise.
54388         [C99-based standards] (UINT_FAST64_MAX): Likewise.
54389         [C99-based standards] (INTPTR_MIN): Likewise.
54390         [C99-based standards] (INTPTR_MAX): Likewise.
54391         [C99-based standards] (UINTPTR_MAX): Likewise.
54392         [C99-based standards] (INTMAX_MIN): Likewise.
54393         [C99-based standards] (INTMAX_MAX): Likewise.
54394         [C99-based standards] (UINTMAX_MAX): Likewise.
54395         [C99-based standards] (PTRDIFF_MIN): Likewise.
54396         [C99-based standards] (PTRDIFF_MAX): Likewise.
54397         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
54398         [C99-based standards] (SIZE_MAX): Likewise.
54399         [C99-based standards] (WCHAR_MAX): Likewise.
54400         [C99-based standards] (WINT_MAX): Likewise.
54401         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
54402         constraint on value.
54403         [C99-based standards] (WCHAR_MIN): Likewise.
54404         [C99-based standards] (WINT_MIN): Likewise.
54405         [C99-based standards] (*_t): Allow.
54406         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
54407         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
54408         Include math.h-data and complex.h-data.  Remove all expectations
54409         of math.h and complex.h contents.
54410         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
54411         at end of line.
54412         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
54413         (struct tm): Expect tag.
54414         [C99-based-standards] (wcstof): Expect function.
54415         [C99-based-standards] (wcstold): Likewise.
54416         [C99-based-standards] (wcstoll): Likewise.
54417         [C99-based-standards] (wcstoull): Likewise.
54418         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
54419         macro-int-constant.  Specify type.
54420         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
54421         constraint on value.
54422         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
54423         Specify type.
54424         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
54425         Specify value.
54426         [ISO C standards]: Do not allow headers.
54427         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
54428         wcs[abcdefghijklmnopqrstuvwxyz]*.
54429         [ISO C standards] (*_t): Do not allow.
54430         * conform/data/wctype.h-data [C99-based standards] (iswblank):
54431         Expect function.
54432         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
54433         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
54434         Specify type.
54435         [ISO C standards]: Do not allow headers.
54436         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
54437         is[abcdefghijklmnopqrstuvwxyz]*.
54438         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
54439         to[abcdefghijklmnopqrstuvwxyz]*.
54440         [ISO C standards] (*_t): Do not allow.
54441         * conform/data/stdalign.h-data: New file.
54442         * conform/data/stdbool.h-data: Likewise.
54443         * conform/data/stdnoreturn.h-data: Likewise.
54445 2012-11-07  Roland McGrath  <roland@hack.frob.com>
54447         [BZ #14815]
54448         * manual/filesys.texi (Directory Entries): Typo fix.
54449         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
54451 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54453         * elf/elf.h (EM_AARCH64): New macro.
54454         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
54455         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
54456         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
54457         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
54458         (R_AARCH64_TLSDESC): Likewise.
54459         (NT_ARM_TLS): Likewise.
54460         (NT_ARM_HW_BREAK): Likewise.
54461         (NT_ARM_HW_WATCH): Likewise.
54463 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54465         [BZ #14811]
54466         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
54467         (__ieee754_powl): Saturate nonzero exponents with absolute value
54468         below 0x1p-79 to +/- 0x1p-79.
54469         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
54470         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
54471         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
54472         nonzero exponents with absolute value below 0x1p-32 to +/-
54473         0x1p-32.
54474         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
54475         (__ieee754_powl): Saturate nonzero exponents with absolute value
54476         below 0x1p-79 to +/- 0x1p-79.
54477         * math/libm-test.inc (pow_test): Add more tests.
54479 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54481         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
54482         _dl_s390_cap_flags with kernel. Increase string length.
54483         (_dl_s390_platforms): Add z196 and zEC12.
54485 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54487         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
54488         Change XOPEN21K to XOPEN2K.
54490 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
54492         * string/memmove.c: Use memcpy when possible.
54494 2012-11-06  Andreas Jaeger  <aj@suse.de>
54496         * po/eo.po: Update from translation team.
54498 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
54500         [BZ #14793]
54501         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
54502         exponent and small x and y exponents, scale x or y up.  Increase
54503         by 2 the exponent used in scaling up.
54504         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54505         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54506         * math/libm-test.inc (fma_test): Add more tests.
54507         (fma_test_towardzero): Likewise.
54508         (fma_test_downward): Likewise.
54509         (fma_test_upward): Likewise.
54511 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
54513         [BZ #14805]
54514         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
54515         fenv_t *.
54517         [BZ #14801]
54518         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
54519         namespace for names of struct fields.
54520         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
54521         fenv_t fields.
54522         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
54523         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
54525 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54527         [BZ #3665]
54528         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
54530 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
54532         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
54533         PTR_DEMANGLE.
54535         [BZ #5246]
54536         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
54537         PTR_DEMANGLE.
54539 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
54541         [BZ #14797]
54542         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
54543         definitely overflow as x * y not x * y + z.
54544         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54545         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54546         * math/libm-test.inc (fma_test): Add more tests.
54547         (fma_test_towardzero): Likewise.
54548         (fma_test_downward): Likewise.
54549         (fma_test_upward): Likewise.
54551 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
54553         [BZ #157]
54555         * include/stub-tag.h: Remove file.
54556         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
54557         '#include' of it.
54558         * manual/maint.texi (Porting): Don't reference it.
54559         * Makerules ($(objpfx)stubs): Likewise.
54560         * dirent/closedir.c: Don't include <stub-tag.h>.
54561         * dirent/dirfd.c: Likewise.
54562         * dirent/fdopendir.c: Likewise.
54563         * dirent/getdents.c: Likewise.
54564         * dirent/getdents64.c: Likewise.
54565         * dirent/opendir.c: Likewise.
54566         * dirent/readdir.c: Likewise.
54567         * dirent/readdir64.c: Likewise.
54568         * dirent/readdir64_r.c: Likewise.
54569         * dirent/readdir_r.c: Likewise.
54570         * dirent/rewinddir.c: Likewise.
54571         * dirent/seekdir.c: Likewise.
54572         * dirent/telldir.c: Likewise.
54573         * gmon/profil.c: Likewise.
54574         * grp/setgroups.c: Likewise.
54575         * inet/if_index.c: Likewise.
54576         * io/access.c: Likewise.
54577         * io/chdir.c: Likewise.
54578         * io/chmod.c: Likewise.
54579         * io/chown.c: Likewise.
54580         * io/close.c: Likewise.
54581         * io/dup.c: Likewise.
54582         * io/dup2.c: Likewise.
54583         * io/dup3.c: Likewise.
54584         * io/euidaccess.c: Likewise.
54585         * io/faccessat.c: Likewise.
54586         * io/fchdir.c: Likewise.
54587         * io/fchmod.c: Likewise.
54588         * io/fchmodat.c: Likewise.
54589         * io/fchown.c: Likewise.
54590         * io/fchownat.c: Likewise.
54591         * io/fcntl.c: Likewise.
54592         * io/flock.c: Likewise.
54593         * io/fstatfs.c: Likewise.
54594         * io/fstatfs64.c: Likewise.
54595         * io/fstatvfs.c: Likewise.
54596         * io/fstatvfs64.c: Likewise.
54597         * io/futimens.c: Likewise.
54598         * io/fxstat.c: Likewise.
54599         * io/fxstat64.c: Likewise.
54600         * io/fxstatat.c: Likewise.
54601         * io/fxstatat64.c: Likewise.
54602         * io/getcwd.c: Likewise.
54603         * io/isatty.c: Likewise.
54604         * io/lchmod.c: Likewise.
54605         * io/lchown.c: Likewise.
54606         * io/link.c: Likewise.
54607         * io/linkat.c: Likewise.
54608         * io/lseek.c: Likewise.
54609         * io/lseek64.c: Likewise.
54610         * io/lxstat64.c: Likewise.
54611         * io/mkdir.c: Likewise.
54612         * io/mkdirat.c: Likewise.
54613         * io/mkfifo.c: Likewise.
54614         * io/mkfifoat.c: Likewise.
54615         * io/open.c: Likewise.
54616         * io/open64.c: Likewise.
54617         * io/openat.c: Likewise.
54618         * io/openat64.c: Likewise.
54619         * io/pipe.c: Likewise.
54620         * io/pipe2.c: Likewise.
54621         * io/poll.c: Likewise.
54622         * io/posix_fadvise.c: Likewise.
54623         * io/posix_fadvise64.c: Likewise.
54624         * io/posix_fallocate.c: Likewise.
54625         * io/posix_fallocate64.c: Likewise.
54626         * io/read.c: Likewise.
54627         * io/readlink.c: Likewise.
54628         * io/readlinkat.c: Likewise.
54629         * io/rmdir.c: Likewise.
54630         * io/sendfile.c: Likewise.
54631         * io/sendfile64.c: Likewise.
54632         * io/statfs.c: Likewise.
54633         * io/statfs64.c: Likewise.
54634         * io/statvfs.c: Likewise.
54635         * io/statvfs64.c: Likewise.
54636         * io/symlink.c: Likewise.
54637         * io/symlinkat.c: Likewise.
54638         * io/ttyname.c: Likewise.
54639         * io/ttyname_r.c: Likewise.
54640         * io/umask.c: Likewise.
54641         * io/unlink.c: Likewise.
54642         * io/unlinkat.c: Likewise.
54643         * io/utime.c: Likewise.
54644         * io/utimensat.c: Likewise.
54645         * io/write.c: Likewise.
54646         * io/xmknod.c: Likewise.
54647         * io/xmknodat.c: Likewise.
54648         * io/xstat.c: Likewise.
54649         * io/xstat64.c: Likewise.
54650         * login/getpt.c: Likewise.
54651         * login/grantpt.c: Likewise.
54652         * login/unlockpt.c: Likewise.
54653         * math/e_acoshl.c: Likewise.
54654         * math/e_acosl.c: Likewise.
54655         * math/e_asinl.c: Likewise.
54656         * math/e_atan2l.c: Likewise.
54657         * math/e_atanhl.c: Likewise.
54658         * math/e_coshl.c: Likewise.
54659         * math/e_expl.c: Likewise.
54660         * math/e_fmodl.c: Likewise.
54661         * math/e_gammal_r.c: Likewise.
54662         * math/e_hypotl.c: Likewise.
54663         * math/e_j0l.c: Likewise.
54664         * math/e_j1l.c: Likewise.
54665         * math/e_jnl.c: Likewise.
54666         * math/e_lgammal_r.c: Likewise.
54667         * math/e_log10l.c: Likewise.
54668         * math/e_log2l.c: Likewise.
54669         * math/e_logl.c: Likewise.
54670         * math/e_powl.c: Likewise.
54671         * math/e_rem_pio2l.c: Likewise.
54672         * math/e_sinhl.c: Likewise.
54673         * math/e_sqrtl.c: Likewise.
54674         * math/fclrexcpt.c: Likewise.
54675         * math/fedisblxcpt.c: Likewise.
54676         * math/feenablxcpt.c: Likewise.
54677         * math/fegetenv.c: Likewise.
54678         * math/fegetexcept.c: Likewise.
54679         * math/fegetround.c: Likewise.
54680         * math/feholdexcpt.c: Likewise.
54681         * math/fesetenv.c: Likewise.
54682         * math/fesetround.c: Likewise.
54683         * math/feupdateenv.c: Likewise.
54684         * math/fgetexcptflg.c: Likewise.
54685         * math/fraiseexcpt.c: Likewise.
54686         * math/fsetexcptflg.c: Likewise.
54687         * math/ftestexcept.c: Likewise.
54688         * math/k_cosl.c: Likewise.
54689         * math/k_rem_pio2l.c: Likewise.
54690         * math/k_sinl.c: Likewise.
54691         * math/k_tanl.c: Likewise.
54692         * math/s_asinhl.c: Likewise.
54693         * math/s_atanl.c: Likewise.
54694         * math/s_cbrtl.c: Likewise.
54695         * math/s_erfl.c: Likewise.
54696         * math/s_expm1l.c: Likewise.
54697         * math/s_log1pl.c: Likewise.
54698         * math/s_tanhl.c: Likewise.
54699         * misc/acct.c: Likewise.
54700         * misc/brk.c: Likewise.
54701         * misc/chflags.c: Likewise.
54702         * misc/chroot.c: Likewise.
54703         * misc/fchflags.c: Likewise.
54704         * misc/fgetxattr.c: Likewise.
54705         * misc/flistxattr.c: Likewise.
54706         * misc/fremovexattr.c: Likewise.
54707         * misc/fsetxattr.c: Likewise.
54708         * misc/fsync.c: Likewise.
54709         * misc/ftruncate.c: Likewise.
54710         * misc/futimes.c: Likewise.
54711         * misc/futimesat.c: Likewise.
54712         * misc/getdomain.c: Likewise.
54713         * misc/getdtsz.c: Likewise.
54714         * misc/gethostid.c: Likewise.
54715         * misc/gethostname.c: Likewise.
54716         * misc/getloadavg.c: Likewise.
54717         * misc/getpagesize.c: Likewise.
54718         * misc/getsysstats.c: Likewise.
54719         * misc/getxattr.c: Likewise.
54720         * misc/gtty.c: Likewise.
54721         * misc/ioctl.c: Likewise.
54722         * misc/lgetxattr.c: Likewise.
54723         * misc/listxattr.c: Likewise.
54724         * misc/llistxattr.c: Likewise.
54725         * misc/lremovexattr.c: Likewise.
54726         * misc/lsetxattr.c: Likewise.
54727         * misc/lutimes.c: Likewise.
54728         * misc/madvise.c: Likewise.
54729         * misc/mincore.c: Likewise.
54730         * misc/mlock.c: Likewise.
54731         * misc/mlockall.c: Likewise.
54732         * misc/mmap.c: Likewise.
54733         * misc/mprotect.c: Likewise.
54734         * misc/msync.c: Likewise.
54735         * misc/munlock.c: Likewise.
54736         * misc/munlockall.c: Likewise.
54737         * misc/munmap.c: Likewise.
54738         * misc/preadv.c: Likewise.
54739         * misc/preadv64.c: Likewise.
54740         * misc/ptrace.c: Likewise.
54741         * misc/pwritev.c: Likewise.
54742         * misc/pwritev64.c: Likewise.
54743         * misc/readv.c: Likewise.
54744         * misc/reboot.c: Likewise.
54745         * misc/remap_file_pages.c: Likewise.
54746         * misc/removexattr.c: Likewise.
54747         * misc/revoke.c: Likewise.
54748         * misc/select.c: Likewise.
54749         * misc/setdomain.c: Likewise.
54750         * misc/setegid.c: Likewise.
54751         * misc/seteuid.c: Likewise.
54752         * misc/sethostid.c: Likewise.
54753         * misc/sethostname.c: Likewise.
54754         * misc/setregid.c: Likewise.
54755         * misc/setreuid.c: Likewise.
54756         * misc/setxattr.c: Likewise.
54757         * misc/sstk.c: Likewise.
54758         * misc/stty.c: Likewise.
54759         * misc/swapoff.c: Likewise.
54760         * misc/swapon.c: Likewise.
54761         * misc/sync.c: Likewise.
54762         * misc/syncfs.c: Likewise.
54763         * misc/syscall.c: Likewise.
54764         * misc/truncate.c: Likewise.
54765         * misc/ualarm.c: Likewise.
54766         * misc/usleep.c: Likewise.
54767         * misc/ustat.c: Likewise.
54768         * misc/utimes.c: Likewise.
54769         * misc/vhangup.c: Likewise.
54770         * misc/writev.c: Likewise.
54771         * posix/_exit.c: Likewise.
54772         * posix/alarm.c: Likewise.
54773         * posix/execve.c: Likewise.
54774         * posix/fexecve.c: Likewise.
54775         * posix/fork.c: Likewise.
54776         * posix/fpathconf.c: Likewise.
54777         * posix/getaddrinfo.c: Likewise.
54778         * posix/getegid.c: Likewise.
54779         * posix/geteuid.c: Likewise.
54780         * posix/getgid.c: Likewise.
54781         * posix/getgroups.c: Likewise.
54782         * posix/getlogin.c: Likewise.
54783         * posix/getlogin_r.c: Likewise.
54784         * posix/getpgid.c: Likewise.
54785         * posix/getpid.c: Likewise.
54786         * posix/getppid.c: Likewise.
54787         * posix/getresgid.c: Likewise.
54788         * posix/getresuid.c: Likewise.
54789         * posix/getsid.c: Likewise.
54790         * posix/getuid.c: Likewise.
54791         * posix/glob64.c: Likewise.
54792         * posix/nanosleep.c: Likewise.
54793         * posix/pathconf.c: Likewise.
54794         * posix/pause.c: Likewise.
54795         * posix/posix_madvise.c: Likewise.
54796         * posix/pread.c: Likewise.
54797         * posix/pread64.c: Likewise.
54798         * posix/pwrite.c: Likewise.
54799         * posix/pwrite64.c: Likewise.
54800         * posix/sched_getaffinity.c: Likewise.
54801         * posix/sched_getp.c: Likewise.
54802         * posix/sched_gets.c: Likewise.
54803         * posix/sched_primax.c: Likewise.
54804         * posix/sched_primin.c: Likewise.
54805         * posix/sched_rr_gi.c: Likewise.
54806         * posix/sched_setaffinity.c: Likewise.
54807         * posix/sched_setp.c: Likewise.
54808         * posix/sched_sets.c: Likewise.
54809         * posix/sched_yield.c: Likewise.
54810         * posix/setgid.c: Likewise.
54811         * posix/setlogin.c: Likewise.
54812         * posix/setpgid.c: Likewise.
54813         * posix/setresgid.c: Likewise.
54814         * posix/setresuid.c: Likewise.
54815         * posix/setsid.c: Likewise.
54816         * posix/setuid.c: Likewise.
54817         * posix/sleep.c: Likewise.
54818         * posix/spawni.c: Likewise.
54819         * posix/sysconf.c: Likewise.
54820         * posix/times.c: Likewise.
54821         * posix/wait.c: Likewise.
54822         * posix/wait3.c: Likewise.
54823         * posix/wait4.c: Likewise.
54824         * posix/waitpid.c: Likewise.
54825         * resolv/gai_sigqueue.c: Likewise.
54826         * resource/getpriority.c: Likewise.
54827         * resource/getrlimit.c: Likewise.
54828         * resource/getrusage.c: Likewise.
54829         * resource/nice.c: Likewise.
54830         * resource/setpriority.c: Likewise.
54831         * resource/setrlimit.c: Likewise.
54832         * resource/ulimit.c: Likewise.
54833         * rt/aio_cancel.c: Likewise.
54834         * rt/aio_fsync.c: Likewise.
54835         * rt/aio_read.c: Likewise.
54836         * rt/aio_sigqueue.c: Likewise.
54837         * rt/aio_suspend.c: Likewise.
54838         * rt/aio_write.c: Likewise.
54839         * rt/clock_getres.c: Likewise.
54840         * rt/clock_gettime.c: Likewise.
54841         * rt/clock_nanosleep.c: Likewise.
54842         * rt/clock_settime.c: Likewise.
54843         * rt/lio_listio.c: Likewise.
54844         * rt/mq_close.c: Likewise.
54845         * rt/mq_getattr.c: Likewise.
54846         * rt/mq_notify.c: Likewise.
54847         * rt/mq_open.c: Likewise.
54848         * rt/mq_receive.c: Likewise.
54849         * rt/mq_send.c: Likewise.
54850         * rt/mq_setattr.c: Likewise.
54851         * rt/mq_timedreceive.c: Likewise.
54852         * rt/mq_timedsend.c: Likewise.
54853         * rt/mq_unlink.c: Likewise.
54854         * rt/shm_open.c: Likewise.
54855         * rt/shm_unlink.c: Likewise.
54856         * rt/timer_create.c: Likewise.
54857         * rt/timer_delete.c: Likewise.
54858         * rt/timer_getoverr.c: Likewise.
54859         * rt/timer_gettime.c: Likewise.
54860         * rt/timer_settime.c: Likewise.
54861         * setjmp/__longjmp.c: Likewise.
54862         * setjmp/setjmp.c: Likewise.
54863         * signal/kill.c: Likewise.
54864         * signal/killpg.c: Likewise.
54865         * signal/raise.c: Likewise.
54866         * signal/sigaction.c: Likewise.
54867         * signal/sigaltstack.c: Likewise.
54868         * signal/sigblock.c: Likewise.
54869         * signal/sigignore.c: Likewise.
54870         * signal/sigintr.c: Likewise.
54871         * signal/signal.c: Likewise.
54872         * signal/sigpause.c: Likewise.
54873         * signal/sigpending.c: Likewise.
54874         * signal/sigqueue.c: Likewise.
54875         * signal/sigreturn.c: Likewise.
54876         * signal/sigset.c: Likewise.
54877         * signal/sigsetmask.c: Likewise.
54878         * signal/sigstack.c: Likewise.
54879         * signal/sigsuspend.c: Likewise.
54880         * signal/sigtimedwait.c: Likewise.
54881         * signal/sigvec.c: Likewise.
54882         * signal/sigwait.c: Likewise.
54883         * signal/sigwaitinfo.c: Likewise.
54884         * signal/sysv_signal.c: Likewise.
54885         * socket/accept.c: Likewise.
54886         * socket/accept4.c: Likewise.
54887         * socket/bind.c: Likewise.
54888         * socket/connect.c: Likewise.
54889         * socket/getpeername.c: Likewise.
54890         * socket/getsockname.c: Likewise.
54891         * socket/getsockopt.c: Likewise.
54892         * socket/isfdtype.c: Likewise.
54893         * socket/listen.c: Likewise.
54894         * socket/recv.c: Likewise.
54895         * socket/recvfrom.c: Likewise.
54896         * socket/recvmsg.c: Likewise.
54897         * socket/send.c: Likewise.
54898         * socket/sendmsg.c: Likewise.
54899         * socket/sendto.c: Likewise.
54900         * socket/setsockopt.c: Likewise.
54901         * socket/shutdown.c: Likewise.
54902         * socket/sockatmark.c: Likewise.
54903         * socket/socket.c: Likewise.
54904         * socket/socketpair.c: Likewise.
54905         * stdio-common/ctermid.c: Likewise.
54906         * stdio-common/cuserid.c: Likewise.
54907         * stdio-common/remove.c: Likewise.
54908         * stdio-common/rename.c: Likewise.
54909         * stdio-common/renameat.c: Likewise.
54910         * stdio-common/tempname.c: Likewise.
54911         * stdlib/getcontext.c: Likewise.
54912         * stdlib/makecontext.c: Likewise.
54913         * stdlib/setcontext.c: Likewise.
54914         * stdlib/swapcontext.c: Likewise.
54915         * stdlib/system.c: Likewise.
54916         * streams/fattach.c: Likewise.
54917         * streams/fdetach.c: Likewise.
54918         * streams/getmsg.c: Likewise.
54919         * streams/getpmsg.c: Likewise.
54920         * streams/putmsg.c: Likewise.
54921         * streams/putpmsg.c: Likewise.
54922         * sysdeps/unix/bsd/getpt.c: Likewise.
54923         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
54924         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
54925         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
54926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54927         Likewise.
54928         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
54929         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54930         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
54931         * sysvipc/msgctl.c: Likewise.
54932         * sysvipc/msgget.c: Likewise.
54933         * sysvipc/msgrcv.c: Likewise.
54934         * sysvipc/msgsnd.c: Likewise.
54935         * sysvipc/semctl.c: Likewise.
54936         * sysvipc/semget.c: Likewise.
54937         * sysvipc/semop.c: Likewise.
54938         * sysvipc/semtimedop.c: Likewise.
54939         * sysvipc/shmat.c: Likewise.
54940         * sysvipc/shmctl.c: Likewise.
54941         * sysvipc/shmdt.c: Likewise.
54942         * sysvipc/shmget.c: Likewise.
54943         * termios/tcdrain.c: Likewise.
54944         * termios/tcflow.c: Likewise.
54945         * termios/tcflush.c: Likewise.
54946         * termios/tcgetattr.c: Likewise.
54947         * termios/tcgetpgrp.c: Likewise.
54948         * termios/tcsendbrk.c: Likewise.
54949         * termios/tcsetattr.c: Likewise.
54950         * termios/tcsetpgrp.c: Likewise.
54951         * time/adjtime.c: Likewise.
54952         * time/clock.c: Likewise.
54953         * time/getitimer.c: Likewise.
54954         * time/gettimeofday.c: Likewise.
54955         * time/setitimer.c: Likewise.
54956         * time/settimeofday.c: Likewise.
54957         * time/stime.c: Likewise.
54958         * time/time.c: Likewise.
54960 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
54962         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
54963         /usr/old/bin.
54965         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
54966         instead of spaces.
54967         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
54969 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
54971         [BZ #14796]
54972         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
54973         FE_TONEAREST before applying Dekker multiplication and Knuth
54974         addition.  Clear inexact exceptions and check for exact zero
54975         results afterwards.
54976         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54977         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
54978         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54979         * math/libm-test.inc (fma_test): Add more tests.
54980         (fma_test_towardzero): Likewise.
54981         (fma_test_downward): Likewise.
54982         (fma_test_upward): Likewise.
54983         * sysdeps/generic/math_private.h (default_libc_fesetround): New
54984         function.
54985         (libc_fesetround): New macro.
54986         (libc_fesetroundf): Likewise.
54987         (libc_fesetroundl): Likewise.
54988         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
54989         function.
54990         (libc_fesetround_387): Likewise.
54991         (libc_fesetroundf): New macro.
54992         (libc_fesetround): Likewise.
54993         (libc_fesetroundl): Likewise.
54994         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
54995         function.
54996         (libc_fesetroundf): New macro.
54997         (libc_fesetround): Likewise.
54998         (libc_fesetroundl): Likewise.
54999         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
55000         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
55001         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
55002         libm_hidden_ver.
55003         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
55004         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
55005         libm_hidden_def.
55006         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
55007         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
55008         libm_hidden_ver.
55009         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
55010         libm_hidden_def.
55012         [BZ #3439]
55013         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
55014         integer constant usable in #if and use that to give value to enum
55015         constant.
55016         (FE_DIVBYZERO): Likewise.
55017         (FE_UNDERFLOW): Likewise.
55018         (FE_OVERFLOW): Likewise.
55019         (FE_INVALID): Likewise.
55020         (FE_INVALID_SNAN): Likewise.
55021         (FE_INVALID_ISI): Likewise.
55022         (FE_INVALID_IDI): Likewise.
55023         (FE_INVALID_ZDZ): Likewise.
55024         (FE_INVALID_IMZ): Likewise.
55025         (FE_INVALID_COMPARE): Likewise.
55026         (FE_INVALID_SOFTWARE): Likewise.
55027         (FE_INVALID_SQRT): Likewise.
55028         (FE_INVALID_INTEGER_CONVERSION): Likewise.
55029         (FE_TONEAREST): Likewise.
55030         (FE_TOWARDZERO): Likewise.
55031         (FE_UPWARD): Likewise.
55032         (FE_DOWNWARD): Likewise.
55033         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
55034         (FE_DIVBYZERO): Likewise.
55035         (FE_OVERFLOW): Likewise.
55036         (FE_UNDERFLOW): Likewise.
55037         (FE_INEXACT): Likewise.
55038         (FE_TONEAREST): Likewise.
55039         (FE_DOWNWARD): Likewise.
55040         (FE_UPWARD): Likewise.
55041         (FE_TOWARDZERO): Likewise.
55042         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
55043         (FE_UNDERFLOW): Likewise.
55044         (FE_OVERFLOW): Likewise.
55045         (FE_DIVBYZERO): Likewise.
55046         (FE_INVALID): Likewise.
55047         (FE_TONEAREST): Likewise.
55048         (FE_TOWARDZERO): Likewise.
55049         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
55050         (FE_OVERFLOW): Likewise.
55051         (FE_UNDERFLOW): Likewise.
55052         (FE_DIVBYZERO): Likewise.
55053         (FE_INEXACT): Likewise.
55054         (FE_TONEAREST): Likewise.
55055         (FE_TOWARDZERO): Likewise.
55056         (FE_UPWARD): Likewise.
55057         (FE_DOWNWARD): Likewise.
55058         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
55059         (FE_DIVBYZERO): Likewise.
55060         (FE_OVERFLOW): Likewise.
55061         (FE_UNDERFLOW): Likewise.
55062         (FE_INEXACT): Likewise.
55063         (FE_TONEAREST): Likewise.
55064         (FE_DOWNWARD): Likewise.
55065         (FE_UPWARD): Likewise.
55066         (FE_TOWARDZERO): Likewise.
55068 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
55070         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
55072 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
55074         * scripts/cross-test-ssh.sh (command): Use newlines to separate
55075         commands.  Quote $PWD.
55076         (blacklist_exports): Don't use remove_newlines.  Replace "declare
55077         -x" by "export".
55078         (remove_newlines): Remove.
55080 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
55082         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
55083         * stdlib/stdlib.h (atof): Moved to ...
55084         * include/bits/stdlib-float.h: Here.  New file.
55085         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
55086         * stdlib/bits/stdlib-float.h: New file.
55087         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
55088         -mno-sse -mno-mmx.
55089         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
55090         <xmmintrin.h>.
55092 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
55094         * conform/conformtest.pl (@headers): Add fenv.h.
55095         * conform/data/fenv.h-data: New file.
55096         * include/fenv.h [_ISOMAC]: Disable all contents of file except
55097         include of <math/fenv.h>.
55099         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
55100         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
55101         && !UNIX98].  Enables tests for XOPEN2K8.
55102         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
55103         POSIX2008]: Likewise.
55105         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
55106         (struct rusage): Do not expect type or its members.
55108         [BZ #3439]
55109         * math/math.h (FP_NAN): Define macro to integer constant usable in
55110         #if and use that to give value to enum constant.
55111         (FP_INFINITE): Likewise.
55112         (FP_ZERO): Likewise.
55113         (FP_SUBNORMAL): Likewise.
55114         (FP_NORMAL): Likewise.
55116 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
55118         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
55119         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
55120         arguments.
55122 2012-11-02  Roland McGrath  <roland@hack.frob.com>
55124         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
55125         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
55126         autoconf-time if not.
55127         * configure.in: Remove AC_PREREQ.
55129 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55131         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
55132         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
55133         of the internal implementation.
55135 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
55137         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
55138         except include of <misc/sys/syslog.h>.
55140 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
55143         function returns with a NULL context exit with zero.
55145 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55147         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
55149 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
55151         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
55152         (run_program_cmd): This.
55153         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
55154         (tst_langinfo): New variable.  Use it.
55156 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
55158         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
55159         floating point opcodes.
55161 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55163         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
55164         variable.
55166         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
55168         * sysdeps/mach/hurd/powerpc: Remove directory.
55169         * sysdeps/mach/powerpc: Likewise.
55171 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55173         * scripts/check-local-headers.sh: Ignore c++ headers.
55175 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55177         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
55178         __libc_cleanup_region_start argument.
55180 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
55182         [BZ #14784]
55183         [BZ #14785]
55184         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
55185         x * y using scaling, not as x * y + z.
55186         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55187         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55188         * math/libm-test.inc (fma_test): Add more tests.
55189         (fma_test_towardzero): Likewise.
55190         (fma_test_downward): Likewise.
55191         (fma_test_upward): Likewise.
55193 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55195         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
55197 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
55199         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
55200         New variable.
55202 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
55204         * rt/tst-shm.c (worker): Correct checking for mmap failure.
55206 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
55208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55209         Fix sort order.
55210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55211         Likewise.
55213 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55216         Fix the order of the list for glibc 2.17.
55217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55218         Likewise.
55220 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
55222         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55224 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
55226         [BZ #14610]
55227         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
55228         for low part of x being zero before using __atanl (y).
55229         * math/libm-test.inc (atan2_test): Add another test.
55231         * manual/install.texi (Configuring and compiling): Document
55232         general use of test-wrapper and test-wrapper-env.
55233         * INSTALL: Regenerated.
55235         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
55236         (__fma): Do not extract and scale down low bits on after-rounding
55237         systems when result rounded to normal precision would have normal
55238         exponent.
55239         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
55240         (__fmal): Do not extract and scale down low bits on after-rounding
55241         systems when result rounded to normal precision would have normal
55242         exponent.
55243         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
55244         (__fmal): Do not extract and scale down low bits on after-rounding
55245         systems when result rounded to normal precision would have normal
55246         exponent.
55247         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
55248         macro.
55249         (fma_test): Add more tests.
55250         (fma_test_towardzero): Likewise.
55251         (fma_test_downward): Likewise.
55252         (fma_test_upward): Likewise.
55254 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
55256         * sysdeps/i386/tininess.h: Renamed to ...
55257         * sysdeps/x86/tininess.h: This.
55258         * sysdeps/x86_64/tininess.h: Removed.
55260 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
55262         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
55263         input.  Use $(build-program-cmd).
55264         ($(objpfx)tst-array1-static.out): Likewise.
55265         ($(objpfx)tst-array2.out): Likewise.
55266         ($(objpfx)tst-array3.out): Likewise.
55267         ($(objpfx)tst-array4.out): Likewise.
55268         ($(objpfx)tst-array5.out): Likewise.
55269         ($(objpfx)tst-array5-static.out): Likewise.
55271 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
55273         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
55274         if defined.
55276         * nss/nsswitch.h (nss_interface_function): Provide new
55277         macro for use with NSS functions.
55278         * grp/initgroups.c: Use new macro.
55279         * nss/getXXbyYY.c: Likewise.
55280         * nss/getXXbyYY_r.c: Likewise.
55281         * nss/getXXent.c: Likewise.
55282         * nss/getXXent_r.c: Likewise.
55283         * sysdeps/posix/getaddrinfo.c: Likewise.
55285 2012-10-30  Andreas Jaeger  <aj@suse.de>
55287         * po/ru.po: Update Russion translation from translation project.
55289 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
55291         [BZ #14152]
55292         [BZ #14783]
55293         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
55294         result and shift together with sticky bit instead of replicating
55295         round-to-nearest rounding.
55296         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55297         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55298         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
55299         missing underflow exceptions.
55300         (fma_test_towardzero): Add more tests.
55301         (fma_test_downward): Likewise.
55302         (fma_test_upward): Likewise.
55304         [BZ #14047]
55305         * sysdeps/generic/tininess.h: New file.
55306         * sysdeps/i386/tininess.h: Likewise.
55307         * sysdeps/sh/tininess.h: Likewise.
55308         * sysdeps/x86_64/tininess.h: Likewise.
55309         * stdlib/tst-strtod-underflow.c: Likewise.
55310         * stdlib/tst-tininess.c: Likewise.
55311         * stdlib/strtod_l.c: Include <tininess.h>.
55312         (round_and_return): Do not set errno for exact underflow cases.
55313         Force an underflow exception when setting errno for underflow.
55314         Determine underflow based on rounding to normal precision if
55315         TININESS_AFTER_ROUNDING.
55316         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
55317         ERANGE for exact underflow cases.
55318         * stdlib/Makefile (tests): Add tst-tininess and
55319         tst-strtod-underflow.
55320         ($(objpfx)tst-tininess): Use $(link-libm).
55321         ($(objpfx)tst-strtod-underflow): Likewise.
55323 2012-10-30  Andreas Jaeger  <aj@suse.de>
55325         [BZ#14767]
55326         * elf/Makefile (tests): Remove conditional for have-initfini-array
55327         since this is now always required and the variable does not exist
55328         anymore.
55329         (tests-static): Likewise.
55330         (modules-names): Likewise.
55332         * po/eo.po: Add Esperanto translation from translation project.
55334         * elf/tst-array1.c (fini_array): Make writeable so that it can be
55335         merged with constructor/destructor.
55336         (init_array): Likewise.
55337         * elf/tst-array2dep.c (fini_array): Likewise.
55338         (init_array): Likewise.
55340 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
55342         * manual/message.texi: Delete @cartouche tags.
55344 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
55346         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
55347         EOPNOTSUPP.
55348         * sysdeps/mach/hurd/fsync.c: Likewise.
55350         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
55351         [_POSIX_REALTIME_SIGNALS]: Change condition to
55352         [_POSIX_REALTIME_SIGNALS > 0].
55354 2012-10-27  Andreas Jaeger  <aj@suse.de>
55356         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
55357         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
55358         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
55359         [__WORDSIZE != 64]: Likewise.
55361 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
55363         *  iconvdata/tst-table.sh: Remove ${SHELL}.
55364         *  iconvdata/tst-tables.sh: Likewise.
55366 2012-10-25  David S. Miller  <davem@davemloft.net>
55368         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55369         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
55370         of strtoull.
55372         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
55373         ifunc-impl-list.c
55374         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55375         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
55376         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
55377         file.
55379 2012-10-25  Roland McGrath  <roland@hack.frob.com>
55381         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55382         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
55383         __getdirentries.
55385 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
55386             Jim Blandy  <jimb@codesourcery.com>
55388         * scripts/cross-test-ssh.sh: New file.
55389         * manual/install.texi (Configuring and compiling): Document use of
55390         cross-test-ssh.sh.
55391         * INSTALL: Regenerated.
55393 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
55395         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
55396         EOPNOTSUPP.
55398 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
55400         * Makeconfig (run-program-prefix): Fix comment.
55402 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
55403             Jim Blandy  <jimb@codesourcery.com>
55405         * Makeconfig (test-wrapper): New variable,
55406         (test-wrapper-env): Likewise.
55407         [$(cross-compiling) = yes && $(test-wrapper) != ""]
55408         (run-built-tests): Define to yes.
55409         (run-program-prefix): Use $(test-wrapper).
55410         (built-program-cmd): Likewise.
55411         * Rules (make-test-out): Use $(test-wrapper-env) and
55412         $(host-built-program-cmd).
55413         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
55414         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
55415         tst-pathopt.sh.
55416         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
55417         $(test-wrapper-env) to tst-rtld-load-self.sh.
55418         ($(objpfx)order2.out): Use $(test-wrapper).
55419         ($(objpfx)tst-initorder.out): Likewise.
55420         ($(objpfx)tst-initorder2.out): Likewise.
55421         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
55422         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
55423         (test_wrapper_env): New variable.  Use it to run ld.so.
55424         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
55425         Use it to run ld.so.
55426         (test_wrapper_env): Likewise.
55427         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
55428         $(test-wrapper) to run-iconv-test.sh.
55429         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
55430         (ICONV): Use $test_wrapper.
55431         * posix/Makefile ($(objpfx)globtest.out): Pass
55432         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
55433         globtest.sh, not $(run-program-prefix).
55434         * posix/globtest.sh (run_via_rtld_prefix): New variable.
55435         (test_wrapper): Likewise.
55436         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
55437         set together with run_via_rtld_prefix.
55438         (run_program_prefix): Define in terms of test_wrapper and
55439         run_via_rtld_prefix.
55441 2012-10-24  Roland McGrath  <roland@hack.frob.com>
55443         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
55444         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
55445         Targets removed.
55447         [BZ #14743]
55448         * include/time.h: Remove librt_hidden_proto (clock_gettime).
55449         Declare __clock_getres, __clock_gettime, __clock_settime,
55450         __clock_nanosleep, and __clock_getcpuclockid.
55451         * rt/clock_gettime.c: Define __clock_gettime as an alias.
55452         Remove librt_hidden_def (clock_gettime).
55453         * sysdeps/unix/clock_gettime.c: Likewise.
55454         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
55455         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
55456         * rt/clock_getres.c: Define __clock_getres as an alias.
55457         * sysdeps/posix/clock_getres.c: Likewise.
55458         * rt/clock_settime.c: Define __clock_settime as an alias.
55459         * sysdeps/unix/clock_settime.c: Likewise.
55460         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
55461         * sysdeps/unix/clock_nanosleep.c: Likewise.
55462         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
55463         * rt/clock-compat.c: New file.
55464         * rt/Makefile (librt-routines): Add clock-compat and move
55465         $(clock-routines) to ...
55466         (routines): ... here, new variable.
55467         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
55468         Don't add get_clockfreq here.
55469         * rt/Versions (libc: GLIBC_2.17): New version set.
55470         Add clock_* symbols here.
55471         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
55472         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
55473         (GLIBC_2.17): Add clock_* symbols.
55474         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
55475         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
55476         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55478         Likewise.
55479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55480         Likewise.
55481         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55482         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
55483         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
55484         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
55485         * NEWS: Mention the move.
55487         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
55488         Use __open, __read, __close rather than their public counterparts.
55489         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55490         (__get_clockfreq_via_cpuinfo): Likewise.
55491         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
55492         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
55494         * config.h.in (HAVE_IFUNC): New #undef.
55495         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
55496         was successful.
55497         * configure: Regenerated.
55499 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
55501         * configure.in: Move READELF check to start of file.
55502         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
55503         libc_cv_asm_gnu_indirect_function in the process.
55504         * configure: Regenerated.
55506 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
55508         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
55509         send the output to /dev/null.
55510         (libc_cv_cc_with_libunwind): Likewise.
55511         (libc_cv_as_noexecstack): Likewise.
55512         * configure: Regenerate.
55514 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
55516         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
55518         * posix/globtest.sh (TMPDIR): Do not set.
55519         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
55520         (testout): Likewise.
55522 2012-10-24  Andreas Jaeger  <aj@suse.de>
55524         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
55525         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
55526         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
55527         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
55528         posix_fadvise64, posix_fallocate64.
55530         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
55531         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
55532         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
55533         Likewise.
55534         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
55535         Likewise.
55536         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
55538         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
55539         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
55540         <bits/fcntl-linux.h>.
55541         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
55543         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
55544         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
55545         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
55546         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
55547         [__WORDSIZE != 64]: Likewise.
55549 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55551         * Makeconfig (run-built-tests): New variable.
55552         * Rules [$(cross-compiling) = yes]: Change condition to
55553         [$(run-built-tests) = no].
55554         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
55555         to [$(run-built-tests) = yes].
55556         * elf/Makefile [$(cross-compiling) = no]: Likewise.
55557         * grp/Makefile [$(cross-compiling) = no]: Likewise.
55558         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
55559         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
55560         * intl/Makefile [$(cross-compiling) = no]: Likewise.
55561         * io/Makefile [$(cross-compiling) = no]: Likewise.
55562         * libio/Makefile [$(cross-compiling) = no]: Likewise.
55563         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
55564         * misc/Makefile [$(cross-compiling) = no]: Likewise.
55565         * posix/Makefile [$(cross-compiling) = no]: Likewise.
55566         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
55567         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
55568         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
55569         * string/Makefile [$(cross-compiling) = no]: Likewise.
55571         * posix/Makefile ($(objpfx)globtest.out): Pass
55572         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
55573         $(rtld-installed-name).
55574         * posix/globtest.sh (elf_objpfx): Remove variable.
55575         (rtld_installed_name): Likewise.
55576         (library_path): Likewise.
55577         (run_program_prefix): New variable.  Use for running globtest
55578         binary.
55580 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
55581             Joseph Myers  <joseph@codesourcery.com>
55583         * Makeconfig (host-built-program-cmd): New variable.
55584         * elf/Makefile (tst-stackguard1-ARGS): Use
55585         $(host-built-program-cmd).
55586         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
55587         (tst-spawn-ARGS): Likewise.
55588         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
55590 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55591             Jim Blandy  <jimb@codesourcery.com>
55593         * Makeconfig (run-via-rtld-prefix): New variable.
55594         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
55595         (built-program-cmd): Likewise.
55597 2012-10-22  Andreas Jaeger  <aj@suse.de>
55599         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
55600         __O_RSYNC if it exists, otherwise to O_SYNC.
55602 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
55603             Joseph Myers  <joseph@codesourcery.com>
55605         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
55606         /dev/null.
55607         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
55608         from /dev/null
55609         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
55610         /dev/null.
55612 2012-10-22  Andreas Jaeger  <aj@suse.de>
55614         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
55615         Define always.
55616         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
55618         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55619         bits/fcntl-linux.h.
55621         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
55622         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
55624         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
55625         to __O_LARGEFILE.
55626         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
55627         to __O_LARGEFILE.
55629 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
55630             Joseph Myers  <joseph@codesourcery.com>
55632         * config.make.in (NM): New variable.
55634 2012-10-21  Andreas Jaeger  <aj@suse.de>
55636         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
55637         definitions and declarations that are provided by
55638         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55640 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55642         [BZ #14683]
55643         * elf/Makefile (tests-static): Add tst-leaks1-static.
55644         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
55645         ($(objpfx)tst-leaks1-static): New rule.
55646         ($(objpfx)tst-leaks1-static-mem): Likewise.
55647         (tst-leaks1-static-ENV): New macro.
55648         * elf/dl-open.c (dl_open_worker): Check the main application
55649         only if SHARED is defined.
55650         * elf/tst-leaks1-static.c: New file.
55652 2012-10-20  Andreas Jaeger  <aj@suse.de>
55654         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
55655         generic values for Linux.
55656         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
55657         and declarations that are provided by <bits/fcntl-linux.h> and
55658         include <bits/fcntl-linux.h>.
55659         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55660         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55662 2012-10-20  Roland McGrath  <roland@hack.frob.com>
55664         * io/fcntl.h: Move include of <bits/types.h> to the top and
55665         include it unconditionally.
55667 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55669         * wcsmbs/Makefile (tests-ifunc): New variable.
55670         (tests): Add $(tests-ifunc).
55671         * wcsmbs/test-wcschr-ifunc.c: New file.
55672         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
55673         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
55674         * wcsmbs/test-wcslen-ifunc.c: Likewise.
55675         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
55676         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
55678         * string/Makefile (tests-ifunc): New variable.
55679         (tests): Add $(tests-ifunc).
55680         * string/test-memccpy.c (TEST_NAME): New macro.
55681         * string/test-memchr.c (TEST_NAME): Likewise.
55682         * string/test-memcmp.c (TEST_NAME): Likewise.
55683         * string/test-memcpy.c (TEST_NAME): Likewise.
55684         * string/test-memmem.c (TEST_NAME): Likewise.
55685         * string/test-memmove.c (TEST_NAME): Likewise.
55686         * string/test-memset.c (TEST_NAME): Likewise.
55687         * string/test-rawmemchr.c (TEST_NAME): Likewise.
55688         * string/test-stpcpy.c (TEST_NAME): Likewise.
55689         * string/test-stpncpy.c (TEST_NAME): Likewise.
55690         * string/test-strcasecmp.c (TEST_NAME): Likewise.
55691         * string/test-strcasestr.c (TEST_NAME): Likewise.
55692         * string/test-strcat.c (TEST_NAME): Likewise.
55693         * string/test-strchr.c (TEST_NAME): Likewise.
55694         * string/test-strcmp.c(TEST_NAME): Likewise.
55695         * string/test-strcpy.c (TEST_NAME): Likewise.
55696         * string/test-strcspn.c (TEST_NAME): Likewise.
55697         * string/test-strlen.c (TEST_NAME): Likewise.
55698         * string/test-strncasecmp.c (TEST_NAME): Likewise.
55699         * string/test-strncmp.c (TEST_NAME): Likewise.
55700         * string/test-strncpy.c (TEST_NAME): Likewise.
55701         * string/test-strnlen.c (TEST_NAME): Likewise.
55702         * string/test-strpbrk.c (TEST_NAME): Likewise.
55703         * string/test-strrchr.c (TEST_NAME): Likewise.
55704         * string/test-strspn.c (TEST_NAME): Likewise.
55705         * string/test-strstr.c (TEST_NAME): Likewise.
55706         * string/test-bcopy-ifunc.c: New file.
55707         * string/test-bzero-ifunc.c: Likewise.
55708         * string/test-memccpy-ifunc.c: Likewise.
55709         * string/test-memchr-ifunc.c: Likewise.
55710         * string/test-memcmp-ifunc.c: Likewise.
55711         * string/test-memcpy-ifunc.c: Likewise.
55712         * string/test-memmem-ifunc.c: Likewise.
55713         * string/test-memmove-ifunc.c: Likewise.
55714         * string/test-mempcpy-ifunc.c: Likewise.
55715         * string/test-memset-ifunc.c: Likewise.
55716         * string/test-rawmemchr-ifunc.c: Likewise.
55717         * string/test-stpcpy-ifunc.c: Likewise.
55718         * string/test-stpncpy-ifunc.c: Likewise.
55719         * string/test-strcasecmp-ifunc.c: Likewise.
55720         * string/test-strcasestr-ifunc.c: Likewise.
55721         * string/test-strcat-ifunc.c: Likewise.
55722         * string/test-strchr-ifunc.c: Likewise.
55723         * string/test-strchrnul-ifunc.c: Likewise.
55724         * string/test-strcmp-ifunc.c: Likewise.
55725         * string/test-strcpy-ifunc.c: Likewise.
55726         * string/test-strcspn-ifunc.c: Likewise.
55727         * string/test-strlen-ifunc.c: Likewise.
55728         * string/test-strncasecmp-ifunc.c: Likewise.
55729         * string/test-strncat-ifunc.c: Likewise.
55730         * string/test-strncmp-ifunc.c: Likewise.
55731         * string/test-strncpy-ifunc.c: Likewise.
55732         * string/test-strnlen-ifunc.c: Likewise.
55733         * string/test-strpbrk-ifunc.c: Likewise.
55734         * string/test-strrchr-ifunc.c: Likewise.
55735         * string/test-strspn-ifunc.c: Likewise.
55736         * string/test-strstr-ifunc.c: Likewise.
55738         * debug/Makefile (tests-ifunc): New variable.
55739         (tests): Add $(tests-ifunc).
55740         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
55741         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
55742         * debug/test-stpcpy_chk-ifunc.c: New file.
55743         * debug/test-strcpy_chk-ifunc.c: Likewise.
55745 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55747         [BZ #13601]
55748         * elf/dl-load.c (open_verify): Retry read if the entire ELF
55749         header is not read in.
55751 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
55753         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
55754         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
55755         directly.  Pass built executable to script as
55756         $(built-program-cmd).
55757         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
55758         $testprogram without using LD_LIBRARY_PATH and $ldso.
55760         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
55761         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
55762         $(rtld-installed-name).
55763         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
55764         (rtld_installed_name): Likewise.
55765         (library_path): Likewise.
55766         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
55767         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
55768         $(run-program-prefix) to tst-tables.sh.
55769         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
55770         it to run tst-table-from and tst-table-to.
55771         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
55772         Pass it to tst-table.sh.
55773         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
55774         $(run-program-prefix) to tst-gettext.sh.
55775         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
55776         tst-translit.sh.
55777         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
55778         tst-gettext2.sh.
55779         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
55780         to run tst-gettext.
55781         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
55782         to run tst-gettext2.
55783         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
55784         to run tst-translit.
55785         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
55786         $(run-program-prefix) to tst-mtrace.sh.
55787         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
55788         to run tst-mtrace.
55789         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
55790         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
55791         $(rtld-installed-name).
55792         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
55793         (rtld_installed_name): Likewise.
55794         (run_program_prefix): New variable.  Use it to run wordexp-test.
55796         * Makeconfig (ARCH): Remove all definitions.
55797         (machine): Likewise.
55798         [ARCH]: Remove conditional code.
55799         [!objdir]: Give error.
55800         [!objdir] (objpfx): Remove.
55801         [!objdir] (common-objpfx): Likewise.
55802         [!objdir] (common-objdir): Likewise.
55803         * configure.in (config_makefile): Remove.  Hardcode Makefile in
55804         AC_CONFIG_FILES call.
55805         * configure: Regenerated.
55807         [BZ #13888]
55808         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
55809         or TMPDIR.
55810         (testout): Likewise.
55812         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
55813         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
55814         $(rtld-installed-name).
55815         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
55816         (rtld_installed_name): Likwise.
55817         (runit): Remove function.
55818         (run_getconf): New variable,  Use it for running getconf binary.
55820 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
55822         [BZ #14716]
55823         * string/test-memmem.c (check_result): New function.
55824         (do_one_test): Use it.
55825         (check1): New function.
55826         (test_main): Use it.
55828 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
55830         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
55832 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
55834         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
55835         (_G_LSEEK64): Likewise.
55836         (_G_MMAP64): Likewise.
55837         (_G_FSTAT64): Likewise.
55838         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
55839         (_G_LSEEK64): Likewise.
55840         (_G_MMAP64): Likewise.
55841         (_G_FSTAT64): Likewise.
55842         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
55843         unconditional.  Call __mmap64 directly.
55844         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
55845         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
55846         __lseek64 directly.
55847         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
55848         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
55849         __mmap64 directly.
55850         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
55851         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
55852         __lseek64 directly.
55853         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
55854         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
55855         __lseek64 directly.
55856         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
55857         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
55858         __lseek64 directly.
55859         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
55860         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
55861         __fxstat64 directly.
55862         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
55863         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
55864         unconditional.
55865         (freopen64) [!_G_OPEN64]: Remove conditional code.
55866         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
55867         unconditional.
55868         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
55869         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
55870         unconditional.
55871         (ftello64) [!_G_LSEEK64]: Remove conditional code.
55872         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
55873         unconditional.
55874         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
55875         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
55876         unconditional.
55877         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
55878         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
55879         unconditional.
55880         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
55881         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
55882         unconditional.
55883         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
55884         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
55885         unconditional.
55886         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
55888 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55890         [BZ #12140]
55891         * manual/memory.texi (Malloc Tunable Parameters): Add note
55892         about free list pointers overwriting some perturb bytes.
55893         Wording suggested by Roland McGrath.
55895 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
55897         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
55898         (lgamma_test): Likewise.
55899         (tgamma_test): Likewise.
55901 2012-10-16  Florian Weimer  <fweimer@redhat.com>
55903         [BZ #14700]
55904         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
55905         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
55907 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
55909         * NEWS: Mention BZ #14716.
55910         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
55911         when removing AVAILABLE1_USES_J macro.
55913 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
55915         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
55916         (__bswap_64): __uint64_t for unsigned 64-bit int.
55918 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
55920         * include/string.h (memmem): Declare libc hidden alias.
55921         * string/memmem.c (memmem): Define libc hidden alias.
55922         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
55923         __read, __close instead of open, read, close.
55925 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
55927         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
55928         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
55929         global and hidden.
55930         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
55931         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
55932         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
55933         Likewise.
55934         (__rawmemchr_sse2): Likewise.
55935         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
55936         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
55937         (__strchr_sse2): Likewise.
55938         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
55939         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
55940         (__strcasecmp_sse2): Likewise.
55941         (__strncasecmp_sse2): Likewise.
55942         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
55943         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
55944         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
55945         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
55946         (__strrchr_sse2): Likewise.
55947         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
55948         ifunc-impl-list.c.
55949         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
55950         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
55951         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
55952         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55953         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
55954         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
55955         * sysdeps/x86_64/multiarch/memset.S: Likewise.
55956         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
55957         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
55958         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
55959         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
55960         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
55961         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
55962         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
55963         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
55964         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
55965         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
55966         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
55967         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
55968         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
55969         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
55970         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
55971         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
55972         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
55973         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
55974         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55975         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
55976         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
55977         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
55978         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
55980         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
55981         global and hidden.
55982         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
55983         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
55984         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
55985         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
55986         Likewise.
55987         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
55988         Likewise.
55989         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
55990         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
55991         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
55992         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
55993         ifunc-impl-list.c.
55994         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
55995         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
55996         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
55997         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
55998         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
55999         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56000         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56001         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56002         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56003         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56004         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56005         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56006         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56007         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
56008         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
56009         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56010         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
56011         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
56012         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56013         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56014         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56015         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56016         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56017         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56018         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56019         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
56020         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
56021         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
56022         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
56023         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56024         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
56025         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56026         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56027         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
56028         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56029         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56030         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56031         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56032         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56033         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56034         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
56036         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
56037         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
56038         * include/ifunc-impl-list.h: New file.
56039         * misc/ifunc-impl-list.c: Likewise.
56040         * misc/Makefile (routines): Add ifunc-impl-list.
56041         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
56042         * string/test-string.h: Include <ifunc-impl-list.h>.
56043         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
56044         TEST_NAME]: New variables.
56045         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
56046         are defined.
56047         (test_init): Call __libc_ifunc_impl_list to initialize
56048         func_list if TEST_IFUNC and TEST_NAME are defined.
56050         * string/Makefile (strop-tests): Add bcopy and bzero.
56051         * string/test-bcopy.c: New file.
56052         * string/test-bzero.c: Likewise.
56053         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
56054         defined.
56055         * string/test-memset.c: Support bzero test if TEST_BZERO is
56056         defined.
56057         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
56058         __libc_memmove.
56059         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
56060         __libc_memset.
56061         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
56062         of memset.
56064 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
56066         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
56067         * configure: Regenerated.
56069         * Makeconfig (+link-static-before-libc): Don't include
56070         $(link-static-libc).
56072         * libio/libio.h (_IO_pos_t): Remove.
56074 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56076         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
56077         McGrath.
56079 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56081         * crypt/crypt-entry.c: Include fips-private.h.
56082         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
56083         * crypt/md5c-test.c (main): Tolerate disabled MD5.
56084         * sysdeps/unix/sysv/linux/fips-private.h: New file.
56085         * sysdeps/generic/fips-private.h: New file, dummy fallback.
56087 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56089         * crypt/crypt-private.h: Include stdbool.h.
56090         (_ufc_setup_salt_r): Return bool.
56091         * crypt/crypt-entry.c: Include errno.h.
56092         (__crypt_r): Return NULL with EINVAL for bad salt.
56093         * crypt/crypt_util.c (bad_for_salt): New.
56094         (_ufc_setup_salt_r): Check that salt is long enough and within
56095         the specified alphabet.
56096         * crypt/badsalttest.c: New file.
56097         * crypt/Makefile (tests): Add it.
56098         ($(objpfx)badsalttest): New.
56100 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
56102         * NEWS: Add entry for BZ #14602.
56104 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
56106         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
56107         type-generic.
56108         * math/libm-test.inc: Update comment listing what functions and
56109         macros are tested.
56110         (isgreater_test): New function.
56111         (isgreaterequal_test): Likewise.
56112         (isless_test): Likewise.
56113         (islessequal_test): Likewise.
56114         (islessgreater_test): Likewise.
56115         (isunordered_test): Likewise.
56116         (main): Call the new functions.
56118 2012-10-09  Roland McGrath  <roland@hack.frob.com>
56120         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
56121         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
56122         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
56123         * sysdeps/i386/configure: Regenerated.
56124         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
56125         * sysdeps/mach/configure: Regenerated.
56126         * sysdeps/mach/hurd/configure: Regenerated.
56127         * sysdeps/powerpc/configure: Regenerated.
56128         * sysdeps/powerpc/powerpc32/configure: Regenerated.
56129         * sysdeps/powerpc/powerpc64/configure: Regenerated.
56130         * sysdeps/s390/s390-32/configure: Regenerated.
56131         * sysdeps/s390/s390-64/configure: Regenerated.
56132         * sysdeps/sh/configure: Regenerated.
56133         * sysdeps/sparc/configure: Regenerated.
56134         * sysdeps/unix/sysv/linux/configure: Regenerated.
56135         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
56136         * sysdeps/x86_64/configure: Regenerated.
56138         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
56139         defined.  Don't check if MAP is NULL.
56141 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
56143         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
56144         (_G_stat64): Likewise.
56145         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
56146         (_G_stat64): Likewise.
56147         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
56148         instead of struct _G_stat64.
56149         * libio/fileops.c (mmap_remap_check): Likewise.
56150         (decide_maybe_mmap): Likewise.
56151         (_IO_new_file_seekoff): Likewise.
56152         (_IO_file_stat): Likewise.
56153         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
56154         _G_off64_t.
56155         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
56156         instead of struct _G_stat64.
56157         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
56159 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
56161         [BZ #14602]
56162         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56163         Replace with ...
56164         (CHECK_EOL): New macro.
56165         (two_way_short_needle): Check beginning of haystack for EOL.  Use
56166         CHECK_EOL.
56167         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56168         Replace with CHECK_EOL.
56169         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56170         Replace with CHECK_EOL.
56172 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
56174         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
56175         type-generic.
56176         * math/libm-test.inc: Update comment listing what functions and
56177         macros are tested.
56178         (finite_test): New function.
56179         (isinf_test): Likewise.
56180         (isnan_test): Likewise.
56181         (fpclassify_test): Test subnormal input.
56182         (isfinite_test): Likewise.
56183         (isnormal_test): Likewise.
56184         (main): Call the new functions.
56186 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
56188         [BZ #14660]
56189         * Makerules (%.dynsym): Force C locale when running
56190         $(OBJDUMP) --dynamic-syms.
56192 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
56194         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
56195         <stdint.h>.
56197 2012-10-06  David S. Miller  <davem@davemloft.net>
56199         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
56200         upper 32-bits of the length value in %o2 since we use branch-on-register
56201         tests which consider the entire 64-bit register.
56203 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
56205         * string/test-strstr.c (check2): Add a test for page boundary.
56207 2012-10-05  David S. Miller  <davem@davemloft.net>
56209         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
56210         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
56211         file.
56212         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
56213         sysdep_routines.
56214         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
56215         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
56216         and bzero when HWCAP_SPARC_CRYPTO is present.
56218 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
56220         [BZ #14602]
56221         * string/test-strstr.c (check2): New function.
56222         (test_main): Call check2.
56224         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
56225         and bug-strchr1.
56226         * string/bug-strcasestr1.c (do_test): Moved to ...
56227         * string/test-strcasestr.c (check1): Here.  New function.
56228         (do_one_test): Break out result checking code into ...
56229         (check_result): This.  New function.
56230         (do_one_test): Call check_result.
56231         (test_main): Call check1.
56232         * string/bug-strchr1.c (do_test): Moved to ...
56233         * string/test-strchr.c (check1): Here.  New function.
56234         (do_one_test): Break out result checking code into ...
56235         (check_result): This.  New function.
56236         (do_one_test): Call check_result.
56237         (test_main): Call check1.
56238         * string/bug-strstr1.c (main): Moved to ...
56239         * string/test-strstr.c (check1): Here.  New function.
56240         (do_one_test): Break out result checking code into ...
56241         (check_result): This.  New function.
56242         (do_one_test): Call check_result.
56243         (test_main): Call check1.
56244         * string/bug-strcasestr1.c: Removed.
56245         * string/bug-strchr1.c: Likewise.
56246         * string/bug-strstr1.c: Likewise.
56248         * elf/Makefile (dl-routines): Add hwcaps.
56249         * elf/dl-support.c (_dl_important_hwcaps): Removed.
56250         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
56251         (_dl_important_hwcaps): Moved to ...
56252         * elf/dl-hwcaps.c: Here.  New file.
56253         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
56255         [BZ #14557]
56256         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
56257         if IS_IN_rtld isn't defined.
56259         * elf/dl-support.c (_dl_sysinfo_map): New.
56260         Include "get-dynamic-info.h" and "setup-vdso.h".
56261         (_dl_non_dynamic_init): Call setup_vdso.
56262         * elf/dynamic-link.h: Don't include <assert.h>.
56263         (elf_get_dynamic_info): Moved to ...
56264         * elf/get-dynamic-info.h: Here.  New file.
56265         * elf/dynamic-link.h: Include "get-dynamic-info.h".
56266         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
56267         * elf/setup-vdso.h: Here.  New file.
56268         * elf/rtld.c: Include "setup-vdso.h".
56269         (dl_main): Call setup_vdso.
56271 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
56273         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
56274         creal in comment listing functions tested.  List finite, isinf,
56275         isnan, isless, islessequal, isgreater, isgreaterequal,
56276         islessgreater, isunordered, lgamma_r and pow10 as functions and
56277         macros not tested.  Mention which functions not tested are aliases
56278         for other functions.  Fix typo.  Note that signs of NaNs are not
56279         tested.
56281         * scripts/config.guess: Update from config.git.
56282         * scripts/config.sub: Likewise.
56284 2012-10-04  Roland McGrath  <roland@hack.frob.com>
56286         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
56287         * misc/madvise.c (madvise): Renamed to __madvise.
56288         Make madvise a weak alias.
56289         * include/sys/mman.h: Declare __madvise.
56290         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
56291         * sysdeps/unix/syscalls.list
56292         (madvise): Make __madvise the strong name, and madvise a weak alias.
56293         * sysdeps/unix/sysv/linux/syscalls.list
56294         (madvise, mmap): Remove redundant entries.
56295         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
56296         * malloc/malloc.c (mtrim): Likewise.
56297         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
56299 2012-10-03  Roland McGrath  <roland@hack.frob.com>
56301         * sysdeps/mach/hurd/dl-cache.c: File removed.
56302         * config.h.in (USE_LDCONFIG): New #undef.
56303         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
56304         * configure: Regenerated.
56305         * elf/Makefile (dl-routines): Add dl-cache only under
56306         [$(use-ldconfig) = yes].
56307         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
56308         cache on [USE_LDCONFIG].
56309         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
56310         [USE_LDCONFIG].
56311         * elf/rtld.c (dl_main): Likewise.
56313 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
56315         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
56316         _SC_LEVEL4_CACHE_LINESIZE.
56318 2012-10-03  Roland McGrath  <roland@hack.frob.com>
56320         * sysdeps/unix/bsd/confstr.h: File removed.
56322 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
56324         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
56325         sys/sdt-config.h.
56327 2012-10-02  Roland McGrath  <roland@hack.frob.com>
56329         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
56330         Make 'mapoff' field ElfW(Off) rather than off_t.
56332 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
56334         * nscd/Makefile: Remove nscd-cflags and all its users.
56335         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
56336         (CFLAGS-nonlib): Add compiler flags for nscd modules.
56338         [BZ #10631]
56339         * malloc.c (malloc_printerr): Clarify error message.
56341 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
56343         [BZ #14648]
56344         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56345         Set bit_FMA_Usable if FMA is supported.
56346         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
56347         macro.
56348         (bit_FMA4_Usable): Updated.
56349         (index_FMA_Usable): New macro.
56350         (CPUID_FMA): Likewise.
56351         (HAS_FMA): Defined with bit_FMA_Usable.
56353 2012-10-01  Roland McGrath  <roland@hack.frob.com>
56355         * bits/types.h (__swblk_t): Type removed.
56356         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
56357         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
56358         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56359         (__SWBLK_T_TYPE): Likewise.
56360         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
56361         (__SWBLK_T_TYPE): Likewise.
56362         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56363         (__SWBLK_T_TYPE): Likewise.
56364         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56365         (__SWBLK_T_TYPE): Likewise.
56367 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
56368             Honza Horak <hhorak@redhat.com>
56370         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
56371         (xdr_mapname): Use YPMAXMAP as maxsize.
56372         (xdr_peername): Use YPMAXPEER as maxsize.
56373         (xdr_keydat): Use YPAXRECORD as maxsize.
56374         (xdr_valdat): Use YPMAXRECORD as maxsize.
56376 2012-10-01  Roland McGrath  <roland@hack.frob.com>
56378         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
56380         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
56381         * csu/init-first.c: ... here.
56382         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
56383         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
56384         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
56385         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
56386         * sysdeps/i386/init-first.c: File removed.
56387         * sysdeps/sh/init-first.c: File removed.
56389 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
56391         [BZ #14645]
56392         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
56393         if x * y might underflow to zero and z is zero.
56394         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56395         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56396         * math/libm-test.inc (min_subnorm_value): New variable.
56397         (fma_test): Add more tests.
56398         (fma_test_towardzero): Likewise.
56399         (fma_test_downward): Likewise.
56400         (fma_test_upward): Likewise.
56401         (initialize): Set min_subnorm_value.
56403 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
56405         [BZ #14638]
56406         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
56407         0 + 0.
56408         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
56409         mode for addition resulting in exact zero.
56410         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
56411         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
56412         exact 0 + 0.
56413         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56414         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56415         * math/libm-test.inc (fma_test): Add more tests.
56416         (fma_test_towardzero): New function.
56417         (fma_test_downward): Likewise.
56418         (fma_test_upward): Likewise.
56419         (main): Call the new functions.
56421 2012-09-28  David S. Miller  <davem@davemloft.net>
56423         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
56425 2012-09-28  Roland McGrath  <roland@hack.frob.com>
56427         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
56428         instead of SIGALRM.
56430         * sysdeps/gnu/_G_config.h: Moved to ...
56431         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
56432         * sysdeps/mach/hurd/_G_config.h: Moved to ...
56433         * sysdeps/generic/_G_config.h: ... here.
56435         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
56437         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
56439         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
56440         Conditionalize target on [libnss_test1.so-version].
56442         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
56444         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
56445         (elfobjdir): Move out of conditionals.
56447         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
56448         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
56449         (__nss_lookup_function): Conditionalize label remove_from_tree on
56450         [!DO_STATIC_NSS || SHARED], matching its only use.
56452 2012-09-28  David S. Miller  <davem@davemloft.net>
56454         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
56455         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
56456         file.
56457         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
56458         sysdep_routines.
56459         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
56460         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
56461         when HWCAP_SPARC_CRYPTO is present.
56463 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56465         * io/tst-mknodat.c: Create a FIFO instead of a socket.
56467 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
56469         [BZ #6530]
56470         * stdio-common/vfprintf.c (process_string_arg): Revert
56471         2000-07-22 change.
56473 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
56475         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
56476         for testcase.
56477         * stdio-common/tst-sprintf.c: Include <locale.h>
56478         (main): Test sprintf's handling of incomplete multibyte
56479         characters.
56481 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
56483         * elf/dl-runtime.c (VERSYMIDX): Removed.
56484         * elf/dl-version.c (VERSYMIDX): Likewise.
56485         * elf/do-rel.h (VERSYMIDX): Likewise.
56486         (VALIDX): Likewise.
56487         * elf/dynamic-link.h (VERSYMIDX): Likewise.
56488         * elf/rtld.c (VALIDX): Likewise.
56489         (ADDRIDX): Likewise.
56490         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
56491         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
56492         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
56493         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
56494         (VALIDX): Likewise.
56495         (ADDRIDX): Likewise.
56497 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56499         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
56501 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
56503         [BZ #11438]
56504         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
56505         to global scope.
56506         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
56507         addresses are in the same scope as 192.0.2/24.
56508         * posix/gai.conf: Document new scope table defaults.
56510 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56512         [BZ #5298]
56513         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
56514         for ftell.  Compute offsets from write pointers instead.
56515         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
56517 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56519         [BZ #14543]
56520         * libio/Makefile (tests): New test case tst-fseek.
56521         * libio/tst-fseek.c: New test case to verify that fseek/ftell
56522         combination works in wide mode.
56523         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
56524         state when the external buffer state changes.
56526 2012-09-27  David S. Miller  <davem@davemloft.net>
56528         [BZ #14376]
56529         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
56530         pass reloc->r_addend in as the 'high' argument to
56531         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
56533         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56535 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56537         * rt/tst-aio2.c: Include <pthread.h>.
56538         * rt/tst-aio3.c: Likewise.
56540 2012-09-27  Steve Ellcey  <sellcey@mips.com>
56542         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
56544 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
56546         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
56547         contents on [SHARED].
56549 2012-09-26  Marek Polacek  <polacek@redhat.com>
56551         [BZ #14530]
56552         [BZ #13741]
56553         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
56554         for C++ and GCC <4.3 as well as for non GCC compilers.
56556 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
56558         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56560 2012-09-25  Roland McGrath  <roland@hack.frob.com>
56562         * Makefile.in (all, install): Declare with .PHONY.
56563         Reported by Michael Hope <michael.hope@linaro.org>.
56565 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56567         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
56568         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
56569         system header.
56570         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
56571         Likewise.
56572         (sydep_routines): Add the new and the internal functions.
56573         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
56574         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
56575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
56576         (GLIBC_2.17): Add the new function.
56577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
56578         (GLIBC_2.17): Likewise.
56579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
56580         (GLIBC_2.17): Likewise.
56581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
56582         (GLIBC_2.17): Likewise.
56583         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
56585 2012-09-25  Alan Modra  <amodra@gmail.com>
56587         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
56588         Add release barrier before setting once_control to say
56589         initialisation is done.  Add hints on lwarx.  Use macro in
56590         place of isync.
56591         (clear_once_control): Add release barrier.
56593 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56595         [BZ #13629]
56596         * math/s_clog.c (__clog): Handle more values close to |z| = 1
56597         specially.
56598         * math/s_clog10.c (__clog10): Likewise.
56599         * math/s_clog10f.c (__clog10f): Likewise.
56600         * math/s_clog10l.c (__clog10l): Likewise.
56601         * math/s_clogf.c (__clogf): Likewise.
56602         * math/s_clogl.c (__clogl): Likewise.
56603         * math/Makefile (libm-calls): Add x2y2m1.
56604         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
56605         (__x2y2m1): Likewise.
56606         (__x2y2m1l): Likewise.
56607         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
56608         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
56609         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
56610         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
56611         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
56612         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
56613         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
56614         * sysdeps/i386/fpu/libm-test-ulps: Update.
56615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56617         [BZ #14621]
56618         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
56619         int as type of variable DEPTH.
56620         (glob): Use size_t instead of int as type of variables NEWCOUNT
56621         and OLD_PATHC.
56623 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56625         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
56626         Add s_sincosf-sse2.
56627         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
56628         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
56629         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
56630         macros for using routine as __sincosf_ia32.
56631         Use macro for function declaration and weak_alias.
56632         * sysdeps/i386/fpu/libm-test-ulps: Update.
56634         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
56635         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56637         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
56638         subnormal argument.
56639         * math/s_cexpf.c (__cexpf): Likewise.
56640         * math/s_csinf.c (__csinf): Likewise.
56641         * math/s_csinhf.c (__csinhf): Likewise.
56642         * math/s_ctanf.c (__ctanf): Likewise.
56643         * math/s_ctanhf.c (__ctanhf): Likewise.
56644         * math/s_ccosh.c (__ccoshf): Likewise.
56645         * math/s_cexp.c (__cexpl): Likewise.
56646         * math/s_csin.c (__csin): Likewise.
56647         * math/s_csinh.c (__csinh): Likewise.
56648         * math/s_ctan.c (__ctan): Likewise.
56649         * math/s_ctanh.c (ctanh): Likewise.
56650         * math/s_ccoshl.c (__ccoshl): Likewise.
56651         * math/s_cexpl.c (__cexpl): Likewise.
56652         * math/s_csinl.c (__csinl): Likewise.
56653         * math/s_csinhl.c (__csinhl): Likewise.
56654         * math/s_ctanl.c (__ctanl): Likewise.
56655         * math/s_ctanhl.c (__ctanhl): Likewise.
56657 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56659         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
56660         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
56661         (_IO_off_t): Define to __off_t, not _G_off_t.
56662         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
56663         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
56664         (_IO_wint_t): Define to wint_t, not _G_wint_t.
56665         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
56666         type of __dummy and __dummy2 fields.
56667         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
56668         (_G_ssize_t): Likewise.
56669         (_G_off_t): Likewise.
56670         (_G_pid_t): Likewise.
56671         (_G_uid_t): Likewise.
56672         (_G_wchar_t): Likewise.
56673         (_G_wint_t): Likewise.
56674         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
56675         (_G_ssize_t): Likewise.
56676         (_G_off_t): Likewise.
56677         (_G_pid_t): Likewise.
56678         (_G_uid_t): Likewise.
56679         (_G_wchar_t): Likewise.
56680         (_G_wint_t): Likewise.
56681         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
56682         (_G_ssize_t): Likewise.
56683         (_G_off_t): Likewise.
56684         (_G_pid_t): Likewise.
56685         (_G_uid_t): Likewise.
56686         (_G_wchar_t): Likewise.
56687         (_G_wint_t): Likewise.
56689 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56691         * malloc/arena.c: Include malloc-sysdep.h.
56692         (shrink_heap): Use check_may_shrink_heap to decide if madvise
56693         is sufficient to shrink the heap or an unmap is needed.
56694         * sysdeps/generic/malloc-sysdep.h: New file.  Define
56695         new function check_may_shrink_heap.
56696         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
56697         new function check_may_shrink_heap.
56699 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56701         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
56702         comments.
56704 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
56706         * catgets/test-gencat.sh: Add "set -e".
56707         * elf/tst-pathopt.sh: Likewise.
56708         * grp/tst_fgetgrent.sh: Likewise.
56709         * iconvdata/run-iconv-test.sh: Likewise.
56710         * intl/tst-gettext.sh: Likewise.
56711         * intl/tst-gettext2.sh: Likewise.
56712         * intl/tst-gettext4.sh: Likewise.
56713         * intl/tst-gettext6.sh: Likewise.
56714         * intl/tst-translit.sh: Likewise.
56715         * io/ftwtest-sh: Likewise.
56716         * libio/test-freopen.sh: Likewise.
56717         * malloc/tst-mtrace.sh: Likewise.
56718         * posix/globtest.sh: Likewise.
56719         * posix/tst-getconf.sh: Likewise.
56720         * posix/wordexp-tst.sh: Likewise.
56721         * stdio-common/tst-printf.sh: Likewise.
56722         * stdio-common/tst-unbputc.sh: Likewise.
56723         * stdlib/tst-fmtmsg.sh: Likewise.
56724         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
56725         * catgets/Makefile: Do not specify -e option when running
56726         testsuite shell scripts.
56727         * elf/Makefile: Likewise.
56728         * grp/Makefile: Likewise.
56729         * iconvdata/Makefile: Likewise.
56730         * intl/Makefile: Likewise.
56731         * io/Makefile: Likewise.
56732         * libio/Makefile: Likewise.
56733         * malloc/Makefile: Likewise.
56734         * posix/Makefile: Likewise.
56735         * stdio-common/Makefile: Likewise.
56736         * stdlib/Makefile: Likewise.
56737         * sysdeps/x86_64/Makefile: Likewise.
56739         * io/ftwtest-sh: Add copyright header.
56740         * posix/globtest.sh: Likewise.
56741         * posix/tst-getconf.sh: Likewise.
56742         * posix/wordexp-tst.sh: Likewise.
56743         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
56745 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
56747         [BZ #13679]
56748         * Makeconfig (+link): Defined as $(+link-static) if
56749         $(build-shared) isn't yes.
56750         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
56751         isn't yes.
56752         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
56754         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
56756         [BZ #14562]
56757         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
56758         new chunk size with MALLOC_ALIGN_MASK.
56760 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
56762         [BZ #5044]
56763         * stdio-common/printf_fphex.c: Include <stdbool.h> and
56764         <rounding-mode.h>.
56765         (__printf_fphex): Determine rounding using get_rounding_mode and
56766         round_away.
56767         * stdio-common/tst-printf-round.c (struct hex_test): New
56768         structure.
56769         (hex_tests): New variable.
56770         (test_hex_in_one_mode): New function.
56771         (do_test): Also run tests for hex float output.
56773 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
56775         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
56776         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
56777         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
56778         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
56779         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
56780         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
56781         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
56782         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
56784 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
56786         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
56787         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
56788         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
56789         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
56791 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
56793         [BZ #14579]
56794         * elf/rtld.c (dl_main): Limit the check for self loading to normal
56795         mode only.
56796         * elf/tst-rtld-load-self.sh: New test.
56797         * elf/Makefile: Run it.
56799 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
56801         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
56802         (tst-writev-ENV): Remove.
56803         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
56805 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
56807         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
56809 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
56811         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
56812         unconditional.
56813         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
56814         Likewise.
56815         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
56816         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
56817         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
56818         Likewise.
56820 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
56822         [BZ #14587]
56823         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
56824         * config.make.in (have-cpp-asm-debuginfo): Removed.
56825         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
56826         * configure: Regenerated.
56828 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
56830         [BZ #5044]
56831         * stdio-common/printf_fp.c: Include <stdbool.h> and
56832         <rounding-mode.h>.
56833         (___printf_fp): Determine rounding using get_rounding_mode and
56834         round_away.
56835         * stdio-common/tst-printf-round.c: New file.
56836         * stdio-common/Makefile (tests): Add tst-printf-round.
56837         (link-libm): New variable.
56838         ($(objpfx)tst-printf-round): Depend in $(link-libm).
56840 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
56842         [BZ #14576]
56843         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
56844         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
56845         Likewise.
56846         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
56847         Likewise.
56849 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
56851         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
56852         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56853         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56854         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56856 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
56858         [BZ #14518]
56859         * include/rounding-mode.h: New file.
56860         * sysdeps/generic/get-rounding-mode.h: Likewise.
56861         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
56862         * stdlib/strtod_l.c: Include <rounding-mode.h>.
56863         (MAX_VALUE): New macro.
56864         (MIN_VALUE): Likewise.
56865         (overflow_value): New function.
56866         (underflow_value): Likewise.
56867         (round_and_return): Use overflow_value and underflow_value to
56868         determine return values in overflow and underflow cases.  Use
56869         round_away to determine rounding depending on rounding mode.
56870         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
56871         determine return values in overflow and underflow cases.
56872         * stdlib/tst-strtod-round.c: Include <fenv.h>.
56873         (struct test_results): New structure.
56874         (struct test): Use struct test_results to store expected results
56875         for all rounding modes.
56876         (TEST): Include expected results for all rounding modes.
56877         (test_in_one_mode): New function.
56878         (do_test): Use test_in_one_mode to compute and check results.
56879         Check results for all rounding modes.
56880         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
56881         $(link-libm).
56883 2012-12-09  Allan McRae  <allan@archlinux.org>
56885         * sysdeps/i386/fpu/libm-test-ulps: Update
56887 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
56889         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
56890         (_G_int32_t): Likewise.
56891         (_G_uint16_t): Likewise.
56892         (_G_uint32_t): Likewise.
56893         (_G_HAVE_BOOL): Likewise.
56894         (_G_HAVE_ATEXIT): Likewise.
56895         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56896         (_G_HAVE_IO_FILE_OPEN): Likewise.
56897         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
56898         (_G_int32_t): Likewise.
56899         (_G_uint16_t): Likewise.
56900         (_G_uint32_t): Likewise.
56901         (_G_HAVE_BOOL): Likewise.
56902         (_G_HAVE_ATEXIT): Likewise.
56903         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56904         (_G_HAVE_IO_FILE_OPEN): Likewise.
56905         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
56906         (_G_int32_t): Likewise.
56907         (_G_uint16_t): Likewise.
56908         (_G_uint32_t): Likewise.
56909         (_G_HAVE_BOOL): Likewise.
56910         (_G_HAVE_ATEXIT): Likewise.
56911         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56912         (_G_HAVE_IO_FILE_OPEN): Likewise.
56914 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
56916         * csu/libc-tls.c: Update copyright years.
56918 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
56920         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
56921         [!_G_USING_THUNKS]: Remove conditional code.
56922         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
56923         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
56925         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
56926         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
56927         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56928         (_G_VTABLE_LABEL_PREFIX): Likewise.
56929         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56930         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56931         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56932         (_G_VTABLE_LABEL_PREFIX): Likewise.
56933         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
56934         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56935         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56936         (_G_VTABLE_LABEL_PREFIX): Likewise.
56937         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
56939 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
56941         * libio/Makefile: Include ../Makeconfig before tests.
56942         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
56943         only if $(build-shared) is yes.
56945         * iconv/gconv_db.c: Update copyright years.
56947 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56949         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
56950         unwind info if defined PIC. Fix special cases description.
56951         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
56953         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
56954         DP_HI_MASK entry.
56955         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
56957 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
56959         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
56961         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
56962         is NULL.
56964         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
56965         (LDLIBS-tst-chk4): This.
56966         (LDFLAGS-tst-chk5): Renamed to ...
56967         (LDLIBS-tst-chk5): This.
56968         (LDFLAGS-tst-chk6): Renamed to ...
56969         (LDLIBS-tst-chk6): This.
56970         (LDFLAGS-tst-lfschk4): Renamed to ...
56971         (LDLIBS-tst-lfschk4): This.
56972         (LDFLAGS-tst-lfschk5): Renamed to ...
56973         (LDLIBS-tst-lfschk5): This.
56974         (LDFLAGS-tst-lfschk6): Renamed to ...
56975         (LDLIBS-tst-lfschk6): This.
56977         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
56978         on $(common-objpfx)soversions.mk.
56980 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
56982         [BZ #10014]
56983         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
56984         example host name.
56986 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56988         * malloc/arena.c (arena_get_retry): New function that gets
56989         another arena for the caller to try its request on.
56990         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
56991         current arena cannot fulfill the request.
56992         (__libc_memalign): Likewise.
56993         (__libc_memalign): Likewise.
56994         (__libc_pvalloc): Likewise.
56995         (__libc_calloc): Likewise.
56997 2012-09-05  John Tobey  <john.tobey@gmail.com>
56999         [BZ #13542]
57000         * manual/arith.texi (Operations on Complex): Fix description
57001         of carg branch cut.
57003 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
57005         [BZ #10014]
57006         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
57007         host name.
57009         [BZ #10038]
57010         * manual/memory.texi (Memory): Make order of menu items match
57011         order of sections.
57013 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57015         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
57016         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
57017         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
57019 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57021         * csu/libc-tls.c (static_dtv): Renamed to ...
57022         (_dl_static_dtv): This.  Make it global.
57023         (_dl_initial_dtv): Removed.
57024         (__libc_setup_tls): Updated.
57025         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
57026         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
57027         DL_INITIAL_DTV.
57029 2012-09-06  Petr Machata  <pmachata@redhat.com>
57031         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
57032         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
57033         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
57034         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
57036 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57038         [BZ #14545]
57039         * csu/libc-tls.c (_dl_initial_dtv): New variable.
57040         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
57041         freeing dtv[-1].
57043 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57045         [BZ #14544]
57046         * Makeconfig (link-static-before-libc): Replace $(+prector)
57047         with $(+prectorT).
57048         (link-static-after-libc): Replace $(+postctor) with
57049         $(+postctorT).
57050         (link-bounded): Replace $(+prector)/$(+postctor) with
57051         $(+prectorT)/$(+postctorT).
57052         (+prectorT): New macro.
57053         (+postctorT): Likewise.
57055 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
57057         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
57058         (round_str): Handle values above the maximum for IBM long double
57059         as inexact.
57060         * stdlib/tst-strtod-round.c (tests): Regenerated.
57062 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57064         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
57065         assembler flag.
57066         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
57067         zarch_nohighgprs around the zarch optimized routines.
57068         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
57069         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
57070         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
57071         for zarch.
57073 2012-09-05  David S. Miller  <davem@davemloft.net>
57075         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57077         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
57078         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
57079         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
57080         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57081         entries.
57083 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57085         * malloc/arena.c: Fold copyright years.
57086         * malloc/mcheck.c, malloc/memusage.c: Likewise.
57088 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57090         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
57092 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57094         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
57096 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57098         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
57099         change internal state upon failure.
57101 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57103         * malloc/mcheck.c (mcheck_check_all): Fix typo.
57104         * malloc/memusage.c (mmap): Likewise.
57105         (mmap64, mremap): Likewise.  Adjust name in comment.
57107 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57109         * libio/fileops.c: Fix typos in comments.
57110         * libio/oldfileops.c: Likewise.
57111         * libio/wfileops.c: Likewise.
57113 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57115         [BZ #1349]
57116         * malloc/Makefile (tests): Add tst-malloc-usable test case.
57117         (tst-malloc-usable-ENV): Set environment for test case.
57118         * malloc/hooks.c (malloc_check_get_size): New function to get
57119         requested size.
57120         * malloc/malloc.c (musable): Use malloc_check_get_size.
57121         * malloc/tst-malloc-usable.c: New test case.
57123 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57125         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
57127 2012-09-05  Allan McRae  <allan@archlinux.org>
57129         [BZ #13966]
57130         * configure.in (CXX_SYSINCLUDES): Use compiler output to
57131         determine header location.
57132         * configure: Regenerated.
57134 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57136         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
57137         float format.
57138         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
57139         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
57140         format.
57141         (test): Regenerate.
57143 2012-09-04  David S. Miller  <davem@davemloft.net>
57145         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
57146         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
57147         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
57149 2012-09-04  Florian Weimer  <fweimer@redhat.com>
57151         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
57152         failures.
57154         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
57156 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
57158         [BZ #9914]
57159         * libio/iogetdelim.c: Include <limits.h>.
57160         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
57161         + len + 1 would overflow.
57163 2012-09-03  Andreas Jaeger  <aj@suse.de>
57165         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57166         * sysdeps/i386/fpu/libm-test-ulps: Update.
57168 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57170         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
57171         Add s_sinf-sse2, s_conf-sse2.
57173         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
57174         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
57175         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
57176         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
57178         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
57179         for using routine as __sinf_ia32.
57180         Use macro for function declaration and weak_alias.
57181         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
57182         for using routine as __cosf_ia32.
57183         Use macro for function declaration and weak_alias.
57185         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
57186         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
57188         * sysdeps/x86_64/fpu/s_sinf.S: New file.
57189         * sysdeps/x86_64/fpu/s_cosf.S: New file.
57190         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57192         * math/libm-test.inc (cos_test): Add more test cases.
57193         (sin_test): Likewise.
57194         (sincos_test): Likewise.
57196 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57198         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
57199         (IFUNC_RESOLVE): Make pointers to the specialized implementations
57200         hidden.
57201         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
57203 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
57205         [BZ #14538]
57206         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
57207         first element of the GOT.
57208         (elf_machine_load_address): Return the difference between
57209         the runtime address of _DYNAMIC and elf_machine_dynamic ().
57211 2012-09-01  Allan McRae  <allan@archlinux.org>
57213         [BZ #13412]
57214         * configure.in (AWK): Require gawk version 3.0 or later.
57215         * configure: Regenerated.
57217 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
57219         * sysdeps/unix/sysv/linux/kernel-features.h
57220         (__ASSUME_POSIX_CPU_TIMERS): Remove.
57221         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57222         [__NR_clock_getres]: Make code unconditional.
57223         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
57224         (clock_getcpuclockid): Remove code left unreachable by removal of
57225         conditionals.
57226         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
57227         code unconditional.
57228         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
57229         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57230         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
57231         Make code unconditional.
57232         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
57233         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57234         * sysdeps/unix/sysv/linux/clock_settime.c
57235         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
57236         conditional code.
57237         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
57238         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57240 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
57242         [BZ #14476]
57243         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
57244         scripts/test-installation.pl.
57246         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
57247         and $ld_so_version if it is set.
57249 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57251         [BZ #14516]
57252         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
57253         failure if reading from procfs failed.
57254         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
57256 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
57258         * sysdeps/unix/sysv/linux/kernel-features.h
57259         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
57260         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
57261         Remove conditional code.
57262         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57263         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
57264         Remove conditional code.
57265         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57266         * sysdeps/unix/sysv/linux/i386/fxstat.c
57267         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57268         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57269         * sysdeps/unix/sysv/linux/i386/fxstatat.c
57270         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57271         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57272         * sysdeps/unix/sysv/linux/i386/lxstat.c
57273         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57274         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57275         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
57276         Remove conditional code.
57277         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57278         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
57279         Remove conditional code.
57280         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57281         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
57282         <kernel-features.h>.
57283         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
57284         Remove.
57285         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
57286         Remove conditional code.
57287         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57288         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
57289         Remove conditional.
57291 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
57293         [BZ #5400]
57294         * NEWS: Add fixed bug number.
57296 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
57298         [BZ #14519]
57299         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
57300         underflowing exponent in case of negative sign.
57301         * stdlib/tst-strtod-round-data: Add more tests.
57302         * stdlib/tst-strtod-round.c (tests): Regenerated.
57304         [BZ #3479]
57305         * stdlib/strtod_l.c (NDIG): Remove.
57306         (HEXNDIG): Likewise.
57307         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
57308         smallest representable value.
57309         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
57310         lie within an exact representation of 1/2 ulp of the result.
57311         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
57312         unconditionally.
57313         (TENS_P9_IDX): Define unconditionally.
57314         (TENS_P9_SIZE): Likewise.
57315         (TENS_P10_IDX): Likewise.
57316         (TENS_P10_SIZE): Likewise.
57317         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
57318         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
57319         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
57320         entries for 10^2^13 and 10^2^14.
57321         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
57322         (TENS_P13_IDX): Define.
57323         (TENS_P13_SIZE): Likewise.
57324         (TENS_P14_IDX): Likewise.
57325         (TENS_P14_SIZE): Likewise.
57326         (_fpioconst_pow10): Change array size to
57327         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
57328         unconditional.
57329         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
57330         1024]: Add entries for 10^2^13 and 10^2^14.
57331         [LAST_POW10 > _LAST_POW10]: Remove #error.
57332         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
57333         (_fpioconst_pow10): Change array size to
57334         FPIOCONST_POW10_ARRAY_SIZE.
57335         * stdlib/gen-fpioconst.c: New file.
57336         * stdlib/gen-tst-strtod-round.c: Likewise.
57337         * stdlib/tst-strtod-round-data: Likewise.
57338         * stdlib/tst-strtod-round.c: Likewise.
57339         * stdlib/Makefile (tests): Add tst-strtod-round.
57341         [BZ #14459]
57342         * stdlib/strtod_l.c: Include <stdint.h>.
57343         (NDEBUG): Do not define.
57344         (round_and_return): Change EXPONENT parameter to type intmax_t.
57345         Rearrange calculations to avoid internal overflow possibilities.
57346         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
57347         Rearrange calculations to avoid internal overflow possibilities.
57348         Assert that number fits inside MPNSIZE limbs.
57349         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
57350         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
57351         calculations and add assertions to avoid internal overflow
57352         possibilities.  Add casts to avoid signed/unsigned operations.
57353         * stdlib/tst-strtod-overflow.c: New file.
57354         * stdlib/Makefile (tests): Add tst-strtod-overflow.
57356 2012-08-25  Marek Polacek  <polacek@redhat.com>
57358         * time/time.h: Fix some typos in comments.
57360 2012-08-23  Roland McGrath  <roland@hack.frob.com>
57362         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
57363         * posix/tst-rfc3484-2.c: Likewise.
57364         * posix/tst-rfc3484-3.c: Likewise.
57366 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
57368         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
57369         (EF_ARM_ABI_FLOAT_HARD): Likewise.
57371 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
57373         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
57374         #include of fxstatat64.c.
57376 2012-08-22  Roland McGrath  <roland@hack.frob.com>
57378         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
57379         * shadow/getspent_r.c: Likewise.
57380         * shadow/getspnam.c: Likewise.
57381         * shadow/getspnam_r.c: Likewise.
57382         * gshadow/getsgent.c: Likewise.
57383         * gshadow/getsgent_r.c: Likewise.
57384         * gshadow/getsgnam.c: Likewise.
57385         * gshadow/getsgnam_r.c: Likewise.
57386         * inet/getnetbyad.c: Likewise.
57387         * inet/getnetbyad_r.c: Likewise.
57388         * inet/getnetbynm.c: Likewise.
57389         * inet/getnetbynm_r.c: Likewise.
57390         * inet/getnetent.c: Likewise.
57391         * inet/getnetent_r.c: Likewise.
57392         * inet/getproto.c: Likewise.
57393         * inet/getproto_r.c: Likewise.
57394         * inet/getprtent.c: Likewise.
57395         * inet/getprtent_r.c: Likewise.
57396         * inet/getprtname.c: Likewise.
57397         * inet/getprtname_r.c: Likewise.
57398         * inet/getrpcbyname.c: Likewise.
57399         * inet/getrpcbyname_r.c: Likewise.
57400         * inet/getrpcbynumber.c: Likewise.
57401         * inet/getrpcbynumber_r.c: Likewise.
57402         * inet/getrpcent.c: Likewise.
57403         * inet/getrpcent_r.c: Likewise.
57404         * inet/getaliasent.c: Likewise.
57405         * inet/getaliasent_r.c: Likewise.
57406         * inet/getaliasname.c: Likewise.
57407         * inet/getaliasname_r.c: Likewise.
57408         * nscd/getgrgid_r.c: Likewise.
57409         * nscd/getgrnam_r.c: Likewise.
57410         * nscd/gethstbyad_r.c: Likewise.
57411         * nscd/gethstbynm3_r.c: Likewise.
57412         * nscd/getpwnam_r.c: Likewise.
57413         * nscd/getpwuid_r.c: Likewise.
57414         * nscd/getsrvbynm_r.c: Likewise.
57415         * nscd/getsrvbypt_r.c: Likewise.
57416         * nscd/gai.c: Likewise.
57418         * configure.in (build_nscd): New substituted variable, set
57419         by --disable-build-nscd and defaults to $use_nscd.
57420         * configure: Regenerated.
57421         * config.make.in (build-nscd): New substituted variable.
57422         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
57423         Change conditional to require [$(build-nscd) = yes] as well.
57424         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
57426         [BZ# 13696]
57427         * configure.in (use_nscd): New substituted variable, set by
57428         --disable-nscd.  If enabled, define USE_NSCD.
57429         * configure: Regenerated.
57430         * config.h.in: Add USE_NSCD.
57431         * config.make.in (use-nscd): New substituted variable.
57432         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
57433         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
57434         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
57435         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
57436         (CFLAGS-getgrnam_r.c): Likewise.
57437         (CFLAGS-initgroups.c): Likewise.
57438         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
57439         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
57440         Variables removed.
57441         * inet/getnetgrent_r.c
57442         (nscd_setnetgrent): New function, broken out of ...
57443         (setnetgrent): ... here.  Call it.
57444         (innetgr): Conditionalize nscd bits on [USE_NSCD].
57445         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
57446         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
57447         * nscd/Makefile (routines, aux): Move definitions after include of
57448         Makeconfig.  Conditionalize on [$(use-nscd) != no].
57449         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
57450         Conditionalize on [USE_NSCD].
57451         (is_nscd, nscd_init_cb): Likewise.
57452         (nss_load_library): Conditionalize init callback on [USE_NSCD].
57453         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
57454         * nss/nss_db/db-init.c: Likewise.
57455         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
57456         [USE_NSCD].
57457         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
57458         (make_request): Use it.
57459         (cache_valid_p): New function.
57460         (__check_pf): Use it.
57461         * NEWS: Add item for --disable-nscd.
57463 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
57465         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
57466         to support sed >= 4.2.1-20-ga9bf076.
57467         * configure: Regenerated.
57469 2012-08-22  Roland McGrath  <roland@hack.frob.com>
57471         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
57472         Conditionalize whole body on [IREL].
57474 2012-08-22  Jeff Law <law@redhat.com>
57476         [BZ #14505]
57477         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
57478         if the family is PF_UNSPEC.
57480 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
57482         * Makerules (lib-version): Rename from V.
57483         (install-lib-nosubdir): Change V to lib-version.
57485 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
57487         [BZ #14252]
57488         * powerpc32/power6/wcschr.c: New file.
57489         * powerpc32/power6/wcscpy.c: New file.
57490         * powerpc32/power6/wcsrchr.c: New file.
57491         * powerpc64/power6/wcschr.c: New file.
57492         * powerpc64/power6/wcscpy.c: New file.
57493         * powerpc64/power6/wcsrchr.c: New file.
57495 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
57497         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
57498         (two_way_short_needle): Use it.
57499         * string/strstr.c (AVAILABLE1_USES_J): Define.
57500         * string/strcasestr.c: Likewise.
57502         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
57503         array references.
57504         * string/strcasestr.c (TOLOWER): Make side-effect safe.
57506         [BZ #11607]
57507         * NEWS: Add an entry.
57508         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
57509         define their defaults.
57510         (two_way_short_needle): Detect end-of-string on-the-fly.
57511         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
57512         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
57513         * string/bug-strcasestr1.c: New test.
57514         * string/Makefile: Run it.
57516 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
57518         [BZ #11607]
57519         * string/str-two-way.h (two_way_short_needle): Optimize matching of
57520         the first character.
57522 2012-08-21  Roland McGrath  <roland@hack.frob.com>
57524         * csu/elf-init.c (__libc_csu_irel): Function removed.
57525         * csu/libc-start.c (apply_irel): New function.
57526         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
57528 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
57530         * sysdeps/unix/sysv/linux/kernel-features.h
57531         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
57532         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
57533         <kernel-features.h>.
57534         [__NR_fadvise64_64]: Make code unconditional.
57535         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
57536         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
57537         !__NR_fadvise64_64)]: Likewise.
57538         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
57539         !__NR_fadvise64_64))]: Likewise.
57540         [__NR_fadvise64]: Make code unconditional.
57541         [!__NR_fadvise64]: Remove conditional code.
57542         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
57543         <kernel-features.h>.
57544         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57545         unconditional.
57546         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57547         conditional code.
57548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
57549         not include <kernel-features.h>.
57550         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57551         unconditional.
57552         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57553         conditional code.
57554         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
57555         include <kernel-features.h>.
57556         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57557         unconditional.
57558         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57559         conditional code.
57561 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57563         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
57564         slight instruction rearrangements per scrollpipe analysis.
57565         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57567 2012-08-20  Roland McGrath  <roland@hack.frob.com>
57569         * manual/syslog.texi (syslog; vsyslog, closelog):
57570         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
57571         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
57573         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
57574         DSOCAPS to match condition on defining it.
57576 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
57578         * sysdeps/unix/sysv/linux/kernel-features.h
57579         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
57580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
57581         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57582         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
57584         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57585         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
57587         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57588         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57590         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
57591         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
57593         * sysdeps/unix/sysv/linux/kernel-features.h
57594         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
57595         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
57596         unconditional.
57597         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57598         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
57599         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57600         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57601         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
57602         Make code unconditional.
57603         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57604         (__mmap64) [!__NR_mmap2]: Likewise.
57605         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
57606         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57607         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57608         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
57609         [__NR_mmap2]: Make code unconditional.
57610         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57611         (__mmap64) [!__NR_mmap2]: Likewise.
57613 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57615         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
57617 2012-08-18  Andreas Jaeger  <aj@suse.de>
57619         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
57621 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57623         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
57624         * include/unistd.h (__have_sock_cloexec): Likewise.
57625         (__have_pipe2): Likewise.
57626         (__have_dup3): Likewise.
57628 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57630         [BZ #9685]
57631         * include/unistd.h (__have_pipe2): Change define into an extern int.
57632         (__have_dup3): Likewise.
57633         * socket/have_sock_cloexec.c: Include fcntl.h.
57634         (__have_pipe2): New variable.
57635         (__have_dup3): Likewise.
57637 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
57639         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
57641 2012-08-17  Marek Polacek  <polacek@redhat.com>
57643         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
57644         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
57646 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57648         * configure.in: Add AC_SUBST for sysheaders.
57649         * configure: Regenerated.
57650         * config.make.in (sysheaders): New substituted variable.
57652         * sysdeps/unix/mkfifo.c: Moved ...
57653         * sysdeps/posix/mkfifo.c: ... here.
57654         * sysdeps/unix/mkfifoat.c: Moved ...
57655         * sysdeps/posix/mkfifoat.c: ... here.
57657         * sysdeps/unix/utime.c: Moved ...
57658         * sysdeps/posix/utime.c: ... here.
57660         * sysdeps/unix/time.c: Moved ...
57661         * sysdeps/posix/time.c: ... here.
57662         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
57663         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
57665         * sysdeps/unix/nice.c: Moved ...
57666         * sysdeps/posix/nice.c: ... here.
57668         * sysdeps/unix/alarm.c: Moved ...
57669         * sysdeps/posix/alarm.c: ... here.
57671         * intl/Makefile ($(codeset_mo)): Depend on the input file.
57673 2012-08-17  Jeff Law <law@redhat.com>
57675         * intl/Makefile (codeset_mo): New variable.
57676         ($(codeset_mo)): New target.
57677         (tst-codeset.out): Depend on that.  Remove explicit rule.
57678         (tst-gettext3.out, tst-gettext5.out): Likewise.
57679         (LOCPATH-ENV, tst-codeset-ENV): New variables.
57680         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
57681         * intl/tst-codeset.sh: Remove.
57682         * intl/tst-gettext3.sh: Likewise.
57683         * intl/tst-gettext5.sh: Likewise.
57685 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57687         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
57688         * sysdeps/unix/syscalls.list: ... here.
57690         * sysdeps/posix/getaddrinfo.c
57691         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
57692         (gaiconf_init, gaiconf_reload): Use them.
57693         [!_STATBUF_ST_NSEC]
57694         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
57695         Define using time_t rather than struct timespec.
57697         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
57698         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
57699         Macros removed.
57700         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
57701         [!NO_THREADS].
57702         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
57703         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
57704         Likewise.
57706         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
57707         __libc_cleanup_push argument.
57709         * bits/param.h: New file.
57710         * misc/sys/param.h: New file.
57711         * include/sys/param.h: New file.
57712         * misc/Makefile (headers): Add bits/param.h.
57713         * sysdeps/generic/sys/param.h: File removed.
57714         * sysdeps/unix/sysv/linux/bits/param.h: New file.
57715         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
57716         * sysdeps/mach/hurd/bits/param.h: New file.
57717         * sysdeps/mach/hurd/sys/param.h: File removed.
57719         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
57720         last change.
57722         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
57723         [_IO_MTSAFE_IO].
57724         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
57725         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
57726         New macros.
57728         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
57729         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
57730         rather than -D_IO_MTSAFE_IO conditionally.
57731         * stdio-common/Makefile (CPPFLAGS): Likewise.
57732         * wcsmbs/Makefile (CPPFLAGS): Likewise.
57733         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
57734         Use $(libio-mtsafe).
57735         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
57736         of -D_IO_MTSAFE_IO.
57737         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
57738         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
57739         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
57740         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
57741         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
57742         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
57743         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
57744         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
57745         (CFLAGS-fread_u_chk.c): Likewise.
57746         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
57747         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
57748         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
57749         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
57750         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
57751         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
57752         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
57753         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
57754         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
57756         * libio/Makefile: Test [$(libc-reentrant) = yes]
57757         instead of [$(filter %REENTRANT, $(defines)) nonempty].
57759         * Makeconfig
57760         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
57761         * sysdeps/pthread/configure: File removed.
57762         * sysdeps/pthread/Makeconfig: New file.
57763         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
57764         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
57766 2012-08-16  Gary Benson  <gbenson@redhat.com>
57768         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
57769         unmapping the first object in a namespace.
57771 2012-08-16  Roland McGrath  <roland@hack.frob.com>
57773         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
57774         (__internal_setnetgrent): ... this.  Add internal_function to
57775         definition.  Add libc_hidden_def.
57776         (setnetgrent): Update caller.
57777         (internal_endnetgrent): Renamed to ...
57778         (__internal_endnetgrent): ... this.  Add internal_function to
57779         definition.  Add libc_hidden_def.
57780         (endnetgrent): Update caller.
57781         (internal_getnetgrent_r): Renamed to ...
57782         (__internal_getnetgrent_r): ... this.  Add internal_function to
57783         definition.  Add libc_hidden_def.
57784         (__getnetgrent_r): Update caller.
57785         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
57787 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
57789         * stdlib/longlong.h: Update from GCC.
57791 2012-08-16  Roland McGrath  <roland@hack.frob.com>
57793         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
57794         on _QL, which is set by umul_ppmm but never used.
57795         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
57796         variables, which are set by GMP macros but never used.
57797         * stdio-common/_itowa.c (_itowa): Likewise.
57798         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
57799         * stdlib/mod_1.c (mpn_mod_1): Likewise.
57801 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
57803         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
57804         struct La_sh_regs is not constant.
57805         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
57806         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
57807         and struct La_sparc64_regs are not constant.
57809 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
57811         * sysdeps/unix/sysv/linux/kernel-features.h
57812         (__ASSUME_POSIX_TIMERS): Remove.
57813         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57814         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57815         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
57816         Make code unconditional.
57817         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57818         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
57819         Make code unconditional.
57820         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57821         * sysdeps/unix/sysv/linux/clock_nanosleep.c
57822         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
57823         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57824         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
57825         Make code unconditional.
57826         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57827         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
57828         (__libc_missing_posix_timers): Remove.
57830 2012-08-15  Roland McGrath  <roland@hack.frob.com>
57832         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
57833         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
57835         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
57837         * elf/dl-sym.c: Include <stdlib.h>.
57839         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
57840         constants, which avoids warnings in 32-bit builds.
57842         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
57843         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
57845         * misc/lseek.c: File moved to ...
57846         * io/lseek.c: ... here.
57848         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
57850         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
57851         shifting LEN more than 31 bits at once.
57853 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57855         [BZ #14195]
57856         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
57857         segmentation fault for a case of two empty input strings.
57858         * string/test-strncasecmp.c (check1): Renamed to...
57859         (bz12205): ...this.
57860         (bz14195): Add new testcase for two empty input strings and N > 0.
57861         (test_main): Call new testcase, adapt for renamed function.
57863 2012-08-15  Andreas Jaeger  <aj@suse.de>
57865         [BZ #14090]
57866         * crypt/md5test2.c: New test, based on test supplied by Serge
57867         Belyshev <belyshev@depni.sinp.msu.ru>.
57868         * crypt/Makefile (xtests): Add md5test-giant..
57869         * crypt/Makefile ($(objpfx)md5test-giant): Add.
57871 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
57873         [BZ #14090]
57874         * crypt/md5.c (md5_process_block): Don't assume the buffer
57875         length is less than 2**32.
57876         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
57877         length is less than 2**64.
57879 2012-08-15  Roland McGrath  <roland@hack.frob.com>
57881         * string/str-two-way.h: Include <sys/param.h>.
57882         (MAX): Macro removed.
57884         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
57885         Move #define and #undef of memmove to just before and after
57886         including <string.h>.
57888         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
57889         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
57890         and after including <string.h>.  Move declarations of
57891         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
57892         to before #include "string/memmove.c".
57894         * include/dirent.h: Declare __getdirentries.
57896         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
57897         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
57899 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
57901         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
57902         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
57903         * sysdeps/i386/configure: Regenerated.
57904         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
57905         STABS_CURRENT_FILE, and STABS_FUN.
57906         (END): Remove call to STABS_FUN_END.
57907         (STABS_CURRENT_FILE1): Delete.
57908         (STABS_CURRENT_FILE): Likewise.
57909         (STABS_FUN): Likewise.
57910         (STABS_FUN_END): Likewise.
57911         (STABS_FUN2): Likewise.
57912         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
57913         * sysdeps/x86_64/configure: Regenerated.
57915 2012-08-14  Roland McGrath  <roland@hack.frob.com>
57917         * elf/dl-open.c: Include <atomic.h>.
57918         * elf/dl-lookup.c: Likewise.
57920 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
57922         * sysdeps/unix/sysv/linux/kernel-features.h
57923         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
57924         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
57925         unconditionally.
57926         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
57927         unconditionally.
57928         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
57929         condition on __ASSUME_CLONE_THREAD_FLAGS.
57931 2012-08-14  Andreas Jaeger  <aj@suse.de>
57933         * sysdeps/i386/fpu/libm-test-ulps: Update.
57935 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
57937         * include/atomic.h (atomic_exchange_and_add): Split into ...
57938         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
57939         New atomic macros.
57941 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
57943         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57945 2012-08-13  Jeff Law <law@redhat.com>
57947         * manual/stdio.texi (snprintf): Clarify handling of the trailing
57948         null byte in the output string.
57950 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
57952         * sysdeps/unix/sysv/linux/kernel-features.h
57953         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
57954         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
57955         (__ASSUME_ARG_MAX_STACK_BASED): Define.
57956         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
57957         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
57958         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
57959         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
57961 2012-08-09  Jeff Law <law@redhat.com>
57963         [BZ #13939]
57964         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
57965         When avoid_arena is set, don't retry in the that arena.  Pick the
57966         next one, whatever it might be.
57967         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
57968         (arena_lock): Pass in new parameter to arena_get2.
57969         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
57970         arena_get2.
57971         (__libc_malloc): Unify retrying after main arena failure with
57972         __libc_memalign version.
57973         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
57975 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
57977         [BZ #14166]
57978         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
57979         to __redirect_strstr.
57980         (__strstr_sse42): Use typeof __redirect_strstr.
57981         (__strstr_ia32): Likewise.
57982         (__libc_strstr): New prototype.
57983         (strstr): Renamed to ...
57984         (__libc_strstr): This.
57985         (strstr): New strong alias of __libc_strstr.
57986         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57987         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
57988         __redirect_time.
57989         Include <time.h>.
57990         (__libc_time): New prototype.
57991         (time_ifunc): Replace time with __libc_time.
57992         (time): New strong alias and hidden definition of __libc_time.
57993         (__GI_time): Remove strong alias.
57994         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
57995         Include <stddef.h>.
57996         (memmove): Redefined to __redirect_memmove.
57997         (__memmove_sse2): Use typeof __redirect_memmove.
57998         (__memmove_ssse3): Likewise.
57999         (__memmove_ssse3_back): Likewise.
58000         (__libc_memmove): New prototype.
58001         (memmove): Renamed to ...
58002         (__libc_memmove): This.
58003         (memmove): New strong alias of __libc_memmove.
58005 2012-08-08  Mark Salter  <msalter@redhat.com>
58007         * elf/elf.h
58008         (R_MN10300_TLS_GD): Define.
58009         (R_MN10300_TLS_LD): Likewise.
58010         (R_MN10300_TLS_LDO): Likewise.
58011         (R_MN10300_TLS_GOTIE): Likewise.
58012         (R_MN10300_TLS_IE): Likewise.
58013         (R_MN10300_TLS_LE): Likewise.
58014         (R_MN10300_TLS_DTPMOD): Likewise.
58015         (R_MN10300_TLS_DTPOFF): Likewise.
58016         (R_MN10300_TLS_TPOFF): Likewise.
58017         (R_MN10300_SYM_DIFF): Likewise.
58018         (R_MN10300_ALIGN): Likewise.
58019         (R_MN10300_NUM): Update.
58021 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
58023         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
58024         Remove.
58026 2012-08-08  Roland McGrath  <roland@hack.frob.com>
58028         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
58030         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
58031         sysdeps/unix -> sysdeps/posix move.
58032         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
58034 2012-08-07      Allan McRae     <allan@archlinux.org>
58036         [BZ #14303]
58037         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
58038         (SUNOS_CPP): Likewise.
58039         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
58040         not found.
58041         (open_input): Call CPP using execvp.
58043 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
58045         * sysdeps/unix/sysv/linux/kernel-features.h
58046         (__ASSUME_PROT_GROWSUPDOWN): Remove.
58047         (__ASSUME_NO_CLONE_DETACHED): Likewise.
58048         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
58049         (__ASSUME_WAITID_SYSCALL): Likewise.
58050         * sysdeps/unix/sysv/linux/dl-execstack.c
58051         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
58052         code unconditional.
58053         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
58054         conditional code.
58055         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
58056         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
58057         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
58058         code.
58059         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
58060         unconditional.
58061         [__ASSUME_WAITID_SYSCALL]: Likewise.
58062         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
58064 2012-08-07  Roland McGrath  <roland@hack.frob.com>
58066         * sysdeps/unix/closedir.c: Renamed to ...
58067         * sysdeps/posix/closedir.c: ... here.
58068         * sysdeps/unix/dirfd.c: Renamed to ...
58069         * sysdeps/posix/dirfd.c: ... here.
58070         * sysdeps/unix/dirstream.h: Renamed to ...
58071         * sysdeps/posix/dirstream.h: ... here.
58072         * sysdeps/unix/fdopendir.c: Renamed to ...
58073         * sysdeps/posix/fdopendir.c: ... here.
58074         * sysdeps/unix/opendir.c: Renamed to ...
58075         * sysdeps/posix/opendir.c: ... here.
58076         * sysdeps/unix/readdir.c: Renamed to ...
58077         * sysdeps/posix/readdir.c: ... here.
58078         * sysdeps/unix/readdir_r.c: Renamed to ...
58079         * sysdeps/posix/readdir_r.c: ... here.
58080         * sysdeps/unix/rewinddir.c: Renamed to ...
58081         * sysdeps/posix/rewinddir.c: ... here.
58082         * sysdeps/unix/seekdir.c: Renamed to ...
58083         * sysdeps/posix/seekdir.c: ... here.
58084         * sysdeps/unix/telldir.c: Renamed to ...
58085         * sysdeps/posix/telldir.c: ... here.
58086         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
58087         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
58088         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
58089         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
58091         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
58092         * bits/fcntl.h: ... here.
58094         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
58095         not 0.
58096         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
58097         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
58098         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
58099         (struct flock): Move l_start, l_len to the beginning.
58100         Use __pid_t for l_pid.
58101         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
58102         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
58103         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
58104         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
58105         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
58106         [__USE_LARGEFILE64] (struct flock64): New type.
58107         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
58109         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
58110         * bits/dirent.h: ... here.
58112         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
58113         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
58115 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
58117         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58118         Change from 2.6.0 to 2.6.16.
58119         * sysdeps/unix/sysv/linux/configure: Regenerated.
58120         * sysdeps/unix/sysv/linux/kernel-features.h
58121         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
58122         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
58123         version.
58124         (__ASSUME_UTIMES): Likewise.
58125         (__ASSUME_CLONE_STOPPED): Remove.
58126         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
58127         architectures, not kernel version.
58128         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
58129         (__ASSUME_NO_CLONE_DETACHED): Likewise.
58130         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
58131         (__ASSUME_WAITID_SYSCALL): Likewise.
58132         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
58133         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
58134         * README: State 2.6.16 as minimum Linux kernel version.  Do not
58135         refer to older versions.
58137 2012-08-06  Roland McGrath  <roland@hack.frob.com>
58139         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
58140         Define alphasort64 as an alias.
58141         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
58142         Define versionsort64 as an alias.
58143         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
58144         Define scandir64 as an alias.
58145         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
58146         Define scandirat64 as an alias.
58147         * dirent/alphasort64.c (alphasort64):
58148         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
58149         * dirent/versionsort64.c: Likewise.
58150         * dirent/scandir64.c: Likewise.
58151         * dirent/scandirat64.c: Likewise.
58152         * sysdeps/wordsize-64/alphasort.c: File removed.
58153         * sysdeps/wordsize-64/alphasort64.c: File removed.
58154         * sysdeps/wordsize-64/scandir.c: File removed.
58155         * sysdeps/wordsize-64/scandir64.c: File removed.
58156         * sysdeps/wordsize-64/scandirat.c: File removed.
58157         * sysdeps/wordsize-64/scandirat64.c: File removed.
58158         * sysdeps/wordsize-64/versionsort.c: File removed.
58159         * sysdeps/wordsize-64/versionsort64.c: File removed.
58160         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
58161         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
58162         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
58163         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
58164         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
58165         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
58166         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
58167         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
58169         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
58170         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
58171         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
58172         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58173         [defined __arch64__ || defined __sparcv9]
58174         (__INO_T_MATCHES_INO64_T): New macro.
58175         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58176         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
58177         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
58178         * sysdeps/unix/sysv/linux/bits/dirent.h
58179         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
58180         (_DIRENT_MATCHES_DIRENT64): New macro.
58182         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
58183         Define lockf64 as an alias.
58184         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
58185         Define fseeko64 as an alias.
58186         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
58187         Define ftello64 as an alias.
58188         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
58189         Define _IO_fgetpos64 and fgetpos64 as aliases.
58190         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
58191         Define _IO_fsetpos64 and fsetpos64 as aliases.
58192         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
58193         Conditionalize body on this.
58194         * libio/fseeko64.c: Likewise.
58195         * libio/ftello64.c: Likewise.
58196         * libio/iofgetpos64.c: Likewise.
58197         * libio/iofsetpos64.c: Likewise.
58198         * sysdeps/wordsize-64/lockf.c: File removed.
58199         * sysdeps/wordsize-64/lockf64.c: File removed.
58200         * sysdeps/wordsize-64/fseeko.c: File removed.
58201         * sysdeps/wordsize-64/fseeko64.c: File removed.
58202         * sysdeps/wordsize-64/ftello.c: File removed.
58203         * sysdeps/wordsize-64/ftello64.c: File removed.
58204         * sysdeps/wordsize-64/iofgetpos.c: File removed.
58205         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
58206         * sysdeps/wordsize-64/iofsetpos.c: File removed.
58207         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
58208         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
58209         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
58210         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
58211         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
58212         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
58213         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
58214         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
58215         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
58216         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
58217         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
58219         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
58220         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
58221         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
58222         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58223         [defined __arch64__ || defined __sparcv9]
58224         (__OFF_T_MATCHES_OFF64_T): New macro.
58225         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58226         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
58227         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58228         (__OFF_T_MATCHES_OFF64_T): New macro.
58230 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
58232         * stdlib/secure-getenv.c (__secure_getenv): Replace
58233         GLIBC_2_16 with GLIBC_2_17.
58235 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
58237         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
58238         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
58240 2012-08-03  David S. Miller  <davem@davemloft.net>
58242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58244 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
58246         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
58247         Remove.
58248         (__ASSUME_CORRECT_SI_PID): Likewise.
58249         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
58250         (__ASSUME_TMPFS_NAME): Likewise.
58251         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
58252         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
58253         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
58254         (HAVE_AUX_SECURE): Make definition unconditional.
58255         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
58256         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
58258 2012-08-03  Roland McGrath  <roland@hack.frob.com>
58260         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
58261         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
58262         * sysdeps/mach/hurd/eloop-threshold.h: New file.
58263         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
58264         __eloop_threshold instead of SYMLOOP_MAX.
58266         * sysdeps/generic/eloop-threshold.h: New file.
58267         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
58268         of MAXSYMLINKS.
58269         * elf/chroot_canon.c (chroot_canon): Likewise.
58271 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
58273         [BZ #13717]
58274         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58275         Change to 2.6.0 everywhere.
58276         * sysdeps/unix/sysv/linux/configure: Regenerated.
58277         * sysdeps/unix/sysv/linux/kernel-features.h
58278         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
58279         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
58280         kernel versions.
58281         (__ASSUME_POSIX_TIMERS): Define unconditionally.
58282         (__ASSUME_FUTEX_REQUEUE): Remove.
58283         (__ASSUME_STATFS64): Define unconditionally.
58284         (__ASSUME_AT_SECURE): Likewise.
58285         (__ASSUME_CORRECT_SI_PID): Likewise.
58286         (__ASSUME_TGKILL): Define without depending on kernel version for
58287         i386.
58288         (__ASSUME_UTIMES): Likewise.
58289         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
58290         kernel version.
58291         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
58292         (__ASSUME_TMPFS_NAME): Likewise.
58293         * README: Update reference to Linux kernel versions.
58295 2012-08-02  Marek Polacek  <polacek@redhat.com>
58297         [BZ# 14150]
58298         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
58299         libc_cv_asm_type_prefix with %.
58300         * configure: Regenerated.
58301         * include/libc-symbols.h: Remove comment about
58302         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
58303         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
58304         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
58305         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
58306         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
58307         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
58308         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
58309         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
58310         * elf/tst-unique2mod1.c: Likewise.
58311         * elf/tst-unique1mod2.c: Likewise.
58312         * elf/tst-unique1mod1.c: Likewise.
58313         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
58314         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
58315         Replace ASM_TYPE_DIRECTIVE with .type.
58316         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58317         * sysdeps/i386/sysdep.h: Likewise.
58318         * sysdeps/x86_64/sysdep.h: Likewise.
58319         * sysdeps/sh/sysdep.h: Likewise.
58320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
58321         Do not define ASM_TYPE_DIRECTIVE.
58322         * sysdeps/powerpc/sysdep.h: Likewise.
58323         * sysdeps/powerpc/powerpc32/sysdep.h:
58324         Replace ASM_TYPE_DIRECTIVE with .type.
58325         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
58326         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58327         * sysdeps/i386/fpu/e_powf.S: Likewise.
58328         * sysdeps/i386/fpu/e_expl.S: Likewise.
58329         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58330         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58331         * sysdeps/i386/fpu/e_pow.S: Likewise.
58332         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
58333         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58334         * sysdeps/i386/fpu/s_expm1.S: Likewise.
58335         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
58336         * sysdeps/i386/fpu/e_log2.S: Likewise.
58337         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58338         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58339         * sysdeps/i386/fpu/e_powl.S: Likewise.
58340         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58341         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
58342         * sysdeps/i386/fpu/e_logl.S: Likewise.
58343         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
58344         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
58345         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
58346         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58347         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58348         * sysdeps/i386/fpu/e_log.S: Likewise.
58349         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58350         * sysdeps/i386/fpu/e_logf.S: Likewise.
58351         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58352         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58353         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
58354         * sysdeps/i386/fpu/e_log10.S: Likewise.
58355         * sysdeps/i386/fpu/s_frexp.S: Likewise.
58356         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58357         * sysdeps/i386/fpu/s_asinh.S: Likewise.
58358         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
58359         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58360         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
58361         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
58362         * sysdeps/i386/i686/strtok.S: Likewise.
58363         * sysdeps/i386/i386-mcount.S: Likewise.
58364         * sysdeps/i386/strtok.S: Likewise.
58365         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
58366         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58367         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58368         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58369         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
58370         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58371         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
58372         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
58373         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58374         * sysdeps/x86_64/_mcount.S: Likewise.
58375         * sysdeps/x86_64/strtok.S: Likewise.
58376         * sysdeps/sh/_mcount.S: Likewise.
58378 2012-08-01  Roland McGrath  <roland@hack.frob.com>
58380         * libio/iofopen.c: Include <fcntl.h>.
58381         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
58382         (_IO_fopen64, fopen64): Define as aliases.
58383         * libio/iofopen64.c: Include <fcntl.h>.
58384         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
58385         Conditionalize body on this.
58386         * sysdeps/wordsize-64/iofopen.c: File removed.
58387         * sysdeps/wordsize-64/iofopen64.c: File removed.
58389 2012-08-01  Marek Polacek  <polacek@redhat.com>
58391         * libc/Makeconfig: Use elf in place of binfmt-subdir.
58392         Use dlfcn directly instead of a variable.
58393         (binfmt-subdir): Do not define.
58394         (dlfcn): Likewise.
58396 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
58398         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
58399         Remove all definitions.
58400         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
58401         <kernel-features.h>.
58402         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
58403         (miss_F_GETOWN_EX): Remove all definitions.
58404         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
58405         macro definition.
58406         [!__ASSUME_FCNTL64]: Remove conditional code.
58407         [__ASSUME_FCNTL64]: Make code unconditional.
58408         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
58409         <kernel-features.h>.
58410         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
58411         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
58412         (lockf64) [__NR_fcntl64]: Make code unconditional.
58413         (lockf64) [__ASSUME_FCNTL64]: Likewise.
58415         * sysdeps/unix/sysv/linux/kernel-features.h
58416         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
58417         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
58418         Make code unconditional.
58419         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58420         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
58422         [__NR_vfork]: Make code unconditional.
58423         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58424         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
58426         [__NR_vfork]: Make code unconditional.
58427         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58428         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58430 2012-08-01  Roland McGrath  <roland@hack.frob.com>
58432         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
58433         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
58435         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58436         Define mkstemp64 as an alias.
58437         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58438         Define mkstemps64 as an alias.
58439         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58440         Define mkostemp64 as an alias.
58441         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58442         Define mkostemps64 as an alias.
58443         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
58444         Conditionalize body on this.
58445         * misc/mkostemp64.c: Likewise.
58446         * misc/mkostemps64.c: Likewise.
58447         * misc/mkstemps64.c: Likewise.
58448         * sysdeps/wordsize-64/mkstemp64.c: File removed.
58449         * sysdeps/wordsize-64/mkostemp64.c: File removed.
58450         * sysdeps/wordsize-64/mkostemp.c: File removed.
58451         * sysdeps/wordsize-64/mkstemp.c: File removed.
58452         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
58453         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
58454         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
58455         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
58457         [BZ #14138]
58458         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
58459         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
58460         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
58461         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
58463         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
58464         compat_symbol macros from <shlib-compat.h> rather than the underlying
58465         default_symbol_version and symbol_version macros, so that DEFAULT
58466         lines in shlib-versions are respected.
58467         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
58469 2012-08-01  Florian Weimer  <fweimer@redhat.com>
58471         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
58472         Declare with warn_unused_result.
58473         (setgid, setregid, setegid, setresgid): Likewise.
58474         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
58475         Likewise.
58476         * WUR-REPORT: Remove set*id functions.
58478 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
58480         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
58482 2012-07-31  Roland McGrath  <roland@hack.frob.com>
58484         [BZ #10191]
58485         * include/sys/socket.h (__libc_accept, __libc_accept4):
58486         Add attribute_hidden.
58487         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
58489         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
58490         use of PTR_MANGLE.
58491         * inet/getnetgrent_r.c (setup): Likewise.
58493         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
58495 2012-07-31  David S. Miller  <davem@davemloft.net>
58497         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58499 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
58501         [BZ #13629]
58502         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
58503         value between 1.0 and 2.0 and smaller part has absolute value less
58504         than 1.0.
58505         * math/s_clog10.c (__clog10): Likewise.
58506         * math/s_clog10f.c (__clog10f): Likewise.
58507         * math/s_clog10l.c (__clog10l): Likewise.
58508         * math/s_clogf.c (__clogf): Likewise.
58509         * math/s_clogl.c (__clogl): Likewise.
58510         * math/libm-test.inc (clog_test): Add more tests.
58511         (clog10_test): Likewise.
58512         * sysdeps/i386/fpu/libm-test-ulps: Update.
58513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58515 2012-07-31  Florian Weimer  <fweimer@redhat.com>
58517         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
58518         Exit with zero in case no suitable GID is found, and write a
58519         message to standard error.
58521 2012-07-30  Roland McGrath  <roland@hack.frob.com>
58523         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
58524         rather than to 1.
58525         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
58526         (MAXPATHLEN): Removed.
58527         (NOGROUP, NODEV): New macros.
58528         (setbit, clrbit, isset, isclr): New macros.
58529         (howmany, roundup, powerof2): New macros.
58530         (DEV_BSIZE): New macro.
58532         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
58533         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
58535         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
58536         definition on [!__NO_LONG_DOUBLE_MATH].
58538         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
58539         PTR_MANGLE and PTR_DEMANGLE.
58541         * socket/accept4.c (accept4): Rename to __libc_accept4.
58542         Define accept4 as a weak alias.
58544         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
58545         on [_DIRENT_HAVE_D_TYPE].
58546         * io/ftw.c (ftw_dir): Likewise.
58548         * io/xmknod.c (__xmknod): Don't check PATH for being null.
58550         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
58552         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
58553         Use the BSD numbers rather than the arbitrary ones we had.
58554         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
58555         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
58556         (SIGXCPU, SIGXFSZ): New macros.
58557         (_NSIG): Now 32.
58559         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
58560         initializer on [_LIBC_REENTRANT].
58562         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
58563         definitions inside [_POSIX_MAPPED_FILES].
58565         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
58567         * dirent/opendir.c: Include <fcntl.h>.
58569         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
58570         (__libc_getspecific): Likewise.
58571         (__libc_key_create): Likewise.
58573         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
58574         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
58575         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
58576         (tmpfile64): Define as alias.
58577         * sysdeps/wordsize-64/tmpfile.c: File removed.
58578         * sysdeps/wordsize-64/tmpfile64.c: File removed.
58579         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
58580         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
58582         * stdio-common/vfscanf.c: Include <stdbool.h>.
58583         * nss/makedb.c: Likewise.
58584         * stdio-common/_i18n_number.h: Likewise.
58585         * argp/argp-help.c: Likewise.
58586         * posix/wordexp.c: Likewise.
58587         * sysdeps/posix/spawni.c: Likewise.
58588         * nss/nss_files/files-initgroups.c: Likewise.
58589         * stdio-common/reg-modifier.c: Include <stdlib.h>.
58590         * nss/nss_files/files-initgroups.c: Likewise.
58591         * nss/nss_db/db-netgrp.c: Likewise.
58592         * nss/nss_db/db-initgroups.c: Likewise.
58593         * io/fchmodat.c: Include <sys/stat.h>.
58595         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
58596         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
58598         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
58599         [HAVE_MMAP].
58601         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
58602         Add multiple inclusion protection.
58604 2012-07-27  David S. Miller  <davem@davemloft.net>
58606         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58608 2012-07-27  Gary Benson  <gbenson@redhat.com>
58610         [BZ #14298]
58611         * elf/rtld.c: Include <stap-probe.h>.
58612         (dl_main): Added static probes "init_start" and "init_complete".
58613         * elf/dl-load.c: Include <stap-probe.h>.
58614         (lose): Take new parameter "nsid".
58615         Added static probe "map_failed".
58616         (_dl_map_object_from_fd): Pass namespace id to lose.
58617         Added static probe "map_start".
58618         (open_verify): Pass namespace id to lose.
58619         * elf/dl-open.c: Include <stap-probe.h>.
58620         (dl_open_worker) Added static probes "map_complete", "reloc_start"
58621         and "reloc_complete".
58622         * elf/dl-close.c: Include <stap-probe.h>.
58623         (_dl_close_worker): Added static probes "unmap_start" and
58624         "unmap_complete".
58625         * elf/rtld-debugger-interface.txt: New file documenting the above.
58627 2012-07-26  Roland McGrath  <roland@hack.frob.com>
58629         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
58630         rather than a string variable.
58631         * sunrpc/rpc_main.c (h_output): Likewise.
58632         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
58634 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
58636         * inet/check_native.c: New file.
58638 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
58640         [BZ #13629]
58641         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
58642         if larger part has absolute value 1.0.
58643         * math/s_clog10.c (__clog10): Likewise.
58644         * math/s_clog10f.c (__clog10f): Likewise.
58645         * math/s_clog10l.c (__clog10l): Likewise.
58646         * math/s_clogf.c (__clogf): Likewise.
58647         * math/s_clogl.c (__clogl): Likewise.
58648         * math/libm-test.inc (clog_test): Add more tests.
58649         (clog10_test): Likewise.
58650         * sysdeps/i386/fpu/libm-test-ulps: Update.
58651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58653         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
58654         (pltexit): Likewise.
58655         (La_regs): Likewise.
58656         (La_retval): Likewise.
58657         (int_retval): Likewise.
58658         Update #error for removed macros to refer only to definitions in
58659         tst-audit.h.
58660         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
58661         macro.
58662         (pltexit): Likewise.
58663         (La_regs): Likewise.
58664         (La_retval): Likewise.
58665         (int_retval): Likewise.
58666         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
58667         macro.
58668         (pltexit): Likewise.
58669         (La_regs): Likewise.
58670         (La_retval): Likewise.
58671         (int_retval): Likewise.
58672         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
58673         macro.
58674         (pltexit): Likewise.
58675         (La_regs): Likewise.
58676         (La_retval): Likewise.
58677         (int_retval): Likewise.
58678         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
58679         macro.
58680         (pltexit): Likewise.
58681         (La_regs): Likewise.
58682         (La_retval): Likewise.
58683         (int_retval): Likewise.
58684         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
58685         macro.
58686         (pltexit): Likewise.
58687         (La_regs): Likewise.
58688         (La_retval): Likewise.
58689         (int_retval): Likewise.
58690         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
58691         macro.
58692         (pltexit): Likewise.
58693         (La_regs): Likewise.
58694         (La_retval): Likewise.
58695         (int_retval): Likewise.
58696         * sysdeps/generic/tst-audit.h: Update comment to refer only to
58697         macro definitions in tst-audit.h.
58698         * sysdeps/i386/tst-audit.h: New file.
58699         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
58700         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
58701         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
58702         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
58703         * sysdeps/sh/tst-audit.h: Likewise.
58704         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
58705         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
58706         * sysdeps/x86_64/tst-audit.h: Likewise.
58708 2012-07-26  Andreas Jaeger  <aj@suse.de>
58710         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
58711         ptrace.
58713         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
58714         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
58715         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
58716         PTRACE_O_MASK.
58717         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
58718         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
58719         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
58721         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
58722         value.
58724         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
58725         _sigsys.
58726         (si_call_addr, si_syscall, si_arch): Define new macro.
58727         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
58728         _sigsys.
58729         (si_call_addr, si_syscall, si_arch): Define new marcro.
58730         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
58731         _sigsys.
58732         (si_call_addr, si_syscall, si_arch): Define new macro.
58733         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
58734         _sigsys.
58735         (si_call_addr, si_syscall, si_arch): Define new macro.
58737 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
58739         [BZ #13717]
58740         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58741         Change to 2.4.21 where previously 2.4.1.
58742         * sysdeps/unix/sysv/linux/configure: Regenerated.
58743         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
58744         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
58745         Linux kernel version.
58746         (__ASSUME_STD_AUXV): Remove.
58747         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
58748         kernel version.
58749         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
58750         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
58751         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
58752         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
58753         (__ASSUME_NETLINK_SUPPORT): Likewise.
58754         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
58755         (__no_netlink_support): Remove conditional definition.
58756         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
58757         Remove.
58758         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
58759         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
58760         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
58761         (if_nameindex_ioctl): Remove.
58762         (if_nameindex_netlink): Do not handle __no_netlink_support.
58763         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
58764         code.
58765         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
58766         Remove conditional code.
58767         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
58768         code.
58769         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
58770         unconditional.
58771         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
58772         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
58773         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
58774         Remove.
58775         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
58776         [!__ASSUME_STD_AUXV]: Remove conditional code.
58777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
58778         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
58779         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
58780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
58781         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
58782         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
58783         code.
58784         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
58785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58786         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
58787         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
58788         conditional code.
58789         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
58790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
58791         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
58792         code.
58793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58794         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
58795         conditional code.
58796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
58797         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58798         code unconditional.
58799         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58800         conditional code.
58801         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58802         unconditional.
58803         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58804         conditional code.
58805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58806         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58807         unconditional.
58808         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58809         conditional code.
58810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
58811         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58812         code unconditional.
58813         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58814         conditional code.
58815         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58816         unconditional.
58817         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58818         conditional code.
58819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
58820         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58821         code unconditional.
58822         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58823         conditional code.
58824         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58825         unconditional.
58826         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58827         conditional code.
58829 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
58831         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
58832         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
58833         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
58834         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
58835         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
58836         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
58837         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
58838         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
58839         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
58840         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
58841         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
58842         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
58843         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
58844         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
58845         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
58846         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
58847         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
58848         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
58849         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
58850         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
58851         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
58852         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
58853         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
58855 2012-07-25  Florian Weimer  <fweimer@redhat.com>
58857         * Versions.def: Add GLIBC_2.17.
58858         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
58859         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
58860         Introduce __libc_secure_getenv.
58861         * stdlib/Versions (2.17): Add secure_getenv
58862         (GLIBC_PRIVATE): Add __libc_secure_getenv.
58863         * stdlib/secure-getenv.c: Rename __secure_getenv to
58864         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
58865         symbol __secure_getenv for GLIBC_2.0.
58866         * stdlib/tst-secure-getenv.c: New.
58867         * stdlib/Makefile (tests): Add testcase.
58868         * manual/startup.texi (Environment Access): Document
58869         secure_getenv.
58870         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
58871         __libc_secure_getenv.
58872         * inet/ruserpass.c (ruserpass): Likewise.
58873         * malloc/mtrace.c (mtrace): Likewise.
58874         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
58875         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
58876         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
58877         * sysdeps/posix/tempname.c: Likewise.  Evaluate
58878         HAVE_SECURE_GETENV.
58879         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
58880         __secure_getenv to __libc_secure_getenv.
58881         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
58882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58883         Likewise.
58884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58885         Likewise.
58886         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
58887         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
58888         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58889         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
58890         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
58891         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58892         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
58894 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
58896         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
58897         (struct La_i86_retval): Likewise.
58898         (struct La_x86_64_regs): Likewise.
58899         (struct La_x86_64_retval): Likewise.
58900         (struct La_x32_regs): Likewise.
58901         (struct La_x32_retval): Likewise.
58902         (struct La_ppc32_regs): Likewise.
58903         (struct La_ppc32_retval): Likewise.
58904         (struct La_ppc64_regs): Likewise.
58905         (struct La_ppc64_retval): Likewise.
58906         (struct La_sh_regs): Likewise.
58907         (struct La_sh_retval): Likewise.
58908         (struct La_s390_32_regs): Likewise.
58909         (struct La_s390_32_retval): Likewise.
58910         (struct La_s390_64_regs): Likewise.
58911         (struct La_s390_64_retval): Likewise.
58912         (struct La_sparc32_regs): Likewise.
58913         (struct La_sparc32_retval): Likewise.
58914         (struct La_sparc64_regs): Likewise.
58915         (struct La_sparc64_retval): Likewise.
58916         (struct audit_ifaces): Remove architecture-specific pltenter and
58917         pltexit members.
58918         * sysdeps/i386/ldsodefs.h: New file.
58919         * sysdeps/powerpc/ldsodefs.h: Likewise.
58920         * sysdeps/s390/ldsodefs.h: Likewise.
58921         * sysdeps/sh/ldsodefs.h: Likewise.
58922         * sysdeps/sparc/ldsodefs.h: Likewise.
58923         * sysdeps/x86_64/ldsodefs.h: Likewise.
58925 2012-07-25  Marek Polacek  <polacek@redhat.com>
58927         [BZ #6808]
58928         * math/libm-test.inc (yn_test): Add another test.
58929         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
58930         to ERANGE when the result is +-Inf.
58931         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
58932         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
58933         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
58934         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
58936 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
58938         * conform/data/time.h-data (NULL): Use macro-constant.  Require
58939         equal to 0.
58940         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
58941         clock_t.
58942         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
58944 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
58946         * configure.in <sysdeps resolving>: Correct printing
58947         Implies_before.
58948         * configure: Regenerate.
58950 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
58952         * math/w_ilogb.c: Include <limits.h>.
58953         * math/w_ilogbl.c: Likewise.
58955 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
58957         * manual/lang.texi (__va_copy): Document primarily as ISO C99
58958         va_copy.  Document allowing for unavailable va_copy only as
58959         pre-C99 compatibility.
58960         * manual/string.texi (Copying and Concatenation): Use va_copy
58961         instead of __va_copy in concat example.
58963 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
58965         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
58966         (__sendto): Use create_address_port.  Initialize APORT and deallocate
58967         it if not null.
58969         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
58970         with O_NOLINK passed to __file_name_lookup.
58972         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
58973         with O_NOLINK passed to __file_name_lookup.
58975         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
58976         negative N or less than NGIDS.
58978         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
58979         type to string_t.  Set ERANGE as errno and return it if NAME is not big
58980         enough.  Use memcpy instead of strncpy.
58982 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
58984         * elf/Makefile (check-data): Remove.
58985         (localplt.data): New vpath directive.
58986         ($(objpfx)check-localplt.out): Use localplt.data from vpath
58987         instead of $(check-data).
58988         * scripts/data/localplt-generic.data: Move to ...
58989         * sysdeps/generic/localplt.data: ... here.
58990         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
58991         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
58992         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
58993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
58994         ... here.
58995         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
58996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
58997         ... here.
58998         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
58999         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
59000         ... here.
59001         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
59002         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
59003         ... here.
59004         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
59005         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
59006         ... here.
59007         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
59008         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
59009         ... here.
59011 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59013         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
59014         PPC32 and PPC64 files.
59015         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
59016         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
59018 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59020         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
59021         __makecontext_ret to ...
59022         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
59023         ... here and call exit if uc_link is NULL.  New file.
59024         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
59025         __makecontext_ret.S.
59026         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
59027         __makecontext_ret to ...
59028         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
59029         ... here and call exit if uc_link is NULL.  New file.
59030         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
59031         __makecontext_ret.S.
59033 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59035         * elf/elf.h (R_390_IRELATIVE): New definition.
59036         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
59037         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
59038         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
59039         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
59040         (elf_machine_lazy_rel): Likewise.
59041         * sysdeps/s390/dl-irel.h: New file.
59042         * sysdeps/s390/s390-64/memcpy.S: New asm code.
59043         * sysdeps/s390/s390-64/memset.S: New asm code.
59044         * sysdeps/s390/s390-64/memcmp.S: New asm code.
59045         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
59046         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
59047         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
59048         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
59049         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
59050         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
59051         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
59052         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
59053         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
59054         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
59055         * sysdeps/s390/s390-32/memcpy.S: New asm code.
59056         * sysdeps/s390/s390-32/memset.S: New asm code.
59057         * sysdeps/s390/s390-32/memcmp.S: New asm code.
59059 2012-07-17  Marek Polacek  <polacek@redhat.com>
59061         [BZ #14349]
59062         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
59063         * sysdeps/s390/s390-64/configure.in: Likewise.
59064         * sysdeps/sparc/configure.in: Likewise.
59065         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
59066         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
59067         * sysdeps/i386/configure.in: Likewise.
59068         * sysdeps/x86_64/configure.in: Likewise.
59069         * sysdeps/sh/configure.in: Likewise.
59070         * sysdeps/s390/s390-32/configure: Regenerated.
59071         * sysdeps/s390/s390-64/configure: Likewise.
59072         * sysdeps/x86_64/configure: Likewise.
59073         * sysdeps/sh/configure: Likewise.
59074         * sysdeps/powerpc/powerpc64/configure: Likewise.
59075         * sysdeps/powerpc/powerpc32/configure: Likewise.
59076         * sysdeps/sparc/configure: Likwise.
59077         * sysdeps/i386/configure: Likewise.
59079         * elf/dl-open.c: Comment fixes.
59081 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
59083         * Makefile [CXX] (check-data): Remove.
59084         [CXX] (c++-types.data): New vpath directive.
59085         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
59086         vpath.  Do not allow for C++ type data being missing.
59087         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
59088         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
59089         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
59090         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
59091         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
59092         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
59093         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
59094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
59095         ... here.
59096         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
59097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
59098         ... here.
59099         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
59100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
59101         ... here.
59102         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
59103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
59104         ... here.
59105         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
59106         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
59107         ... here.
59108         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
59109         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
59110         ... here.
59111         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
59112         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
59113         ... here.
59114         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
59115         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
59117         * elf/tls-macros.h (TLS_LE): Move architecture-specific
59118         definitions to architecture-specific files.
59119         (TLS_IE): Likewise.
59120         (TLS_LD): Likewise.
59121         (TLS_GD): Likewise.
59122         * sysdeps/i386/tls-macros.h: New file.
59123         * sysdeps/powerpc/tls-macros.h: Likewise.
59124         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
59125         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
59126         * sysdeps/sh/tls-macros.h: Likewise.
59127         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
59128         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
59129         * sysdeps/x86_64/tls-macros.h: Likewise.
59131 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
59133         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
59134         zero value for regular exit case.
59136         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
59137         (__start_context): Preserve zero value for regular exit case.
59139 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
59140             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59142         * manual/setjmp.texi (setcontext): Clarify normal process
59143         termination when uc_link is the null pointer.
59144         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
59145         exit call.
59147 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
59149         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
59150         preprocessor.  Test for each exception mask separately.
59152 2012-07-16  Andreas Jaeger  <aj@suse.de>
59154         * po/ru.po: Update from translation team.
59156 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
59158         * conform/data/string.h-data (NULL): Use macro-constant.  Require
59159         equal to 0.
59160         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
59161         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
59162         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
59163         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
59164         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59166 2012-07-13  Andreas Jaeger  <aj@suse.de>
59168         * po/fr.po: Update from translation team.
59170 2012-07-12  Marek Polacek  <polacek@redhat.com>
59172         [BZ #14173]
59173         * math/libm-test.inc (yn_test): Add test for BZ #14173.
59174         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
59175         loop condition.
59177 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
59179         [BZ #13717]
59180         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59181         Change to 2.4.1 where previously 2.4.0.
59182         * sysdeps/unix/sysv/linux/configure: Regenerated.
59183         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
59184         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
59185         version.
59186         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
59187         (__ASSUME_AT_CLKTCK): Remove.
59188         (__ASSUME_AT_PAGESIZE): Likewise.
59189         (__ASSUME_AT_XID): Likewise.
59190         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
59191         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
59192         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
59193         unconditionally.
59194         (HAVE_AUX_PAGESIZE): Likewise.
59195         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
59196         [__ASSUME_AT_CLKTCK]: Make code unconditional.
59197         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
59199 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
59201         [BZ #14307]
59202         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
59203         the temporary buffer used to invoke __gethostbyname2_r,
59204         __gethostbyaddr_r and gethostbyname4_r to make room for struct
59205         host_data / struct gaih_addrtuple.
59206         * resolv/nss_dns/dns-host.c (global scope): Move definition of
59207         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
59208         header file nss/nsswitch.h.
59209         * nss/nsswitch.h (global scope): Add definition of implementation
59210         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
59211         resolv/nss_dns/dns-host.c).
59213 2012-07-11  Andreas Jaeger  <aj@suse.de>
59215         * po/fr.po: Update from translation team.
59217         * po/sv.po: Update from translation team
59218         * po/fr.po: Another update from translation team.
59220 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59222         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
59223         for subnormals or multiply small sinh result by itself.
59224         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
59225         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59227 2012-07-11  David S. Miller  <davem@davemloft.net>
59229         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59231 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
59233         [BZ #14347]
59234         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
59235         (INTERNAL_MARK): Shift it here.
59237 2012-07-10  Marek Polacek  <polacek@redhat.com>
59239         [BZ #14151]
59240         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
59241         libc_cv_asm_global_directive with .globl.
59242         * configure: Regenerated.
59243         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
59244         with .globl.
59245         * sysdeps/i386/configure: Regenerated.
59246         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
59247         with .globl.
59248         * sysdeps/x86_64/configure: Regenerated.
59249         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
59250         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
59251         * elf/tst-unique2mod2.c: Likewise.
59252         * elf/tst-unique2mod1.c: Likewise.
59253         * elf/tst-unique1mod2.c: Likewise.
59254         * elf/tst-unique1mod1.c: Likewise.
59255         * sysdeps/s390/s390-32/sysdep.h: Likewise.
59256         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59257         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59258         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59259         * sysdeps/mach/sysdep.h: Likewise.
59260         * sysdeps/i386/sysdep.h: Likewise.
59261         * sysdeps/i386/i386-mcount.S: Likewise.
59262         * sysdeps/x86_64/_mcount.S: Likewise.
59263         * sysdeps/x86_64/sysdep.h: Likewise.
59264         * sysdeps/sh/_mcount.S: Likewise.
59265         * sysdeps/sh/sysdep.h: Likewise.
59266         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
59267         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
59268         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
59269         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
59270         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
59271         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
59272         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
59273         * locale/localeinfo.h: Likewise.
59274         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
59275         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
59277 2012-07-09  Roland McGrath  <roland@hack.frob.com>
59279         [BZ #14336]
59280         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
59281         system".
59282         * manual/message.texi (The Uniforum approach): Likewise.
59283         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
59284         (glibc iconv Implementation): Likewise.
59286 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
59288         [BZ #14337]
59289         * math/s_clog.c (__clog): Avoid scaling a value down where that
59290         could result in underflow.
59291         * math/s_clog10.c (__clog10): Likewise.
59292         * math/s_clog10f.c (__clog10f): Likewise.
59293         * math/s_clog10l.c (__clog10l): Likewise.
59294         * math/s_clogf.c (__clogf): Likewise.
59295         * math/s_clogl.c (__clogl): Likewise.
59296         * math/libm-test.inc (clog_test): Add more tests.
59297         (clog10_test): Likewise.
59298         * sysdeps/i386/fpu/libm-test-ulps: Update.
59299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59301 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
59303         [BZ #14283]
59304         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
59305         by 7 not 8 to examine high bit of fractional part.
59307         [BZ #14042]
59308         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
59309         for call to __mcount_internal.
59310         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
59311         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
59312         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
59314 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
59316         [BZ #14154]
59317         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
59318         approximation for values within 0x1p-13f of an odd multiple of
59319         pi/4.
59320         * math/libm-test.inc (tan_test): Do not allow spurious underflow
59321         exception.  Add more tests.
59322         * sysdeps/i386/fpu/libm-test-ulps: Update.
59324         [BZ #6778]
59325         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
59326         inputs and return -1 for them.  Do not check for +Inf in case not
59327         reachable for +Inf.
59328         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
59329         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
59330         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
59331         and return -1 for them.  Do not check for +Inf in case not
59332         reachable for +Inf.
59333         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
59334         define.
59335         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
59336         and return -1 for them.  Do not check for +Inf in case not
59337         reachable for +Inf.
59338         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
59339         spurious underflow.
59340         * sysdeps/i386/fpu/libm-test-ulps: Update.
59341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59343 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
59345         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
59347 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
59349         [BZ #14157]
59350         [BZ #14331]
59351         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
59352         could result in spurious underflow.  Scale down values above
59353         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
59354         * math/s_csqrtf.c (__csqrtf): Likewise.
59355         * math/s_csqrtl.c (__csqrtl): Likewise.
59356         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
59357         spurious underflow.
59358         * sysdeps/i386/fpu/libm-test-ulps: Update.
59359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59361 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
59363         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
59364         xopen-msg.sed.
59365         * catgets/xopen-msg.awk: New file.
59366         * catgets/xopen-msg.sed: Removed.
59368         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
59369         po2text.sed.
59370         * intl/po2test.awk: New file.
59371         * intl/po2test.sed: Removed.
59373 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
59375         [BZ #14328]
59376         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
59377         or multiply small sinh result by itself.
59378         * math/s_ctanf.c (__ctanf): Likewise.
59379         * math/s_ctanh.c (__ctanh): Likewise.
59380         * math/s_ctanhf.c (__ctanhf): Likewise.
59381         * math/s_ctanhl.c (__ctanhl): Likewise.
59382         * math/s_ctanl.c (__ctanl): Likewise.
59383         * math/libm-test.inc (ctan_test_tonearest): New function.
59384         (ctan_test_towardzero): Likewise.
59385         (ctan_test_downward): Likewise.
59386         (ctan_test_upward): Likewise.
59387         (ctanh_test_tonearest): Likewise.
59388         (ctanh_test_towardzero): Likewise.
59389         (ctanh_test_downward): Likewise.
59390         (ctanh_test_upward): Likewise.
59391         (main): Call these new functions.
59392         * sysdeps/i386/fpu/libm-test-ulps: Update.
59393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59395 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
59397         * .gitignore: Delete /ports entry.
59399 2012-07-03  Andreas Jaeger  <aj@suse.de>
59401         * po/bg.po: Update from translation team.
59402         * po/cs.po: Likewise.
59403         * po/de.po: Likewise.
59404         * po/hr.po: Likewise.
59405         * po/nl.pl: Likewise.
59406         * po/pl.po: Likewise.
59407         * po/vi.po: Likewise.
59409 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
59411         * Makeconfig [!+link] (+link-before-libc): New variable.
59412         [!+link] (+link-after-libc): Likewise.
59413         [!+link] (+link-tests): Likewise.
59414         [!+link] (+link): Define in terms of $(+link-before-libc) and
59415         $(+link-after-libc).
59416         [!+link-static] (+link-static-before-libc): New variable.
59417         [!+link-static] (+link-static-after-libc): Likewise.
59418         [!+link-static] (+link-static-tests): Likewise.
59419         [!+link-static] (+link-static): Define in terms of
59420         $(+link-static-before-libc) and $(+link-static-after-libc).
59421         [build-shared] (link-libc-before-gnulib): New variable.
59422         [build-shared] (link-libc-tests): Likewise.
59423         [build-shared] (link-libc): Define in terms of
59424         $(link-libc-before-gnulib).
59425         [!build-shared] (link-libc-tests): New variable.
59426         (link-libc-static-tests): New variable.
59427         [!gnulib] (gnulib-arch): New variable.
59428         [!gnulib] (gnulib-tests): Likewise.
59429         [!gnulib] (static-gnulib-arch): Likewise.
59430         [!gnulib] (static-gnulib-tests): Likewise.
59431         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
59432         Define with "=" instead of ":=".
59433         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
59434         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
59435         * Rules (binaries-all-notests): New variable.
59436         (binaries-all-tests): Likewise.
59437         (binaries-static-notests): Likewise.
59438         (binaries-static-tests): Likewise.
59439         (binaries-all): Define using $(binaries-all-notests) and
59440         $(binaries-all-tests).
59441         (binaries-static): Define using $(binaries-static-notests) and
59442         $(binaries-static-tests).
59443         (binaries-shared-tests): New variable.
59444         (binaries-shared-notests): Likewise.
59445         (binaries-shared): Remove variable.
59446         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
59447         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
59448         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
59449         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
59450         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
59451         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
59452         * elf/Makefile (sln-modules): New variable.
59453         (extra-objs): Add $(sln-modules:=.o).
59454         (ldconfig-modules): Add static-stubs.
59455         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
59456         * elf/static-stubs.c: New file.
59458         [BZ #14283]
59459         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
59460         by 7 not 8 to examine high bit of fractional part.  Use volatile
59461         variables when splitting into final array of floats if
59462         __FLT_EVAL_METHOD__ != 0.
59463         * math/libm-test.inc (cos_test): Add another test.
59464         (sin_test): Likewise.
59465         * sysdeps/i386/fpu/libm-test-ulps: Update.
59467         [BZ #14273]
59468         * math/libm-test.inc (cosh_test): Add more tests.
59470         * version.h (RELEASE): Set to "development".
59471         (VERSION): Set to "2.16.90".
59473 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
59475         * NEWS: Update copyright. Remove last-updated date.
59476         Mention math library bug fixes and timezone data changes.
59477         * README: Mention GNU/Hurd, x32, and HPPA support status.
59479 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
59481         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
59483 2012-06-27  Andreas Jaeger  <aj@suse.de>
59485         * manual/contrib.texi (Contributors): Add Samuel Thibault.
59487 2012-06-25  Andreas Jaeger  <aj@suse.de>
59489         * sysdeps/s390/fpu/libm-test-ulps: Update.
59491 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
59492             Thomas Schwinge  <thomas@codesourcery.com>
59494         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
59495         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
59496         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
59497         fanotify_mark.
59499 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
59501         * sysdeps/mach/start.c: Remove file.
59502         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
59503         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
59504         * sysdeps/sh/init-first.c: Likewise.
59506         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
59507         registers for frame unwinding purposes, add CFI directives.
59508         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
59509         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
59510         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
59511         Likewise.
59513         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
59514         __fortify_fail returning.
59515         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
59517         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
59518         sysdeps/sh/____longjmp_chk.S.
59519         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
59520         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
59521         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
59522         (gen-as-const-headers): Append sigaltstack-offsets.sym.
59524         * sysdeps/sh/abort-instr.h: New file.
59525         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
59526         process in case exit returns.
59528         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
59529         initialize the GOT register before use.
59531         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
59532         calculation of ARGC > 4.
59534         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
59535         meaningful names to some local labels.
59537 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59538             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59540         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
59541         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
59542         (__arch_compare_and_exchange_val_16_acq): Likewise.
59543         (__arch_compare_and_exchange_val_32_acq): Likewise.
59544         (atomic_exchange_and_add): Fix gUSA sequence.
59545         (atomic_add): Likewise.
59546         (atomic_add_negative): Likewise.
59547         (atomic_add_zero): Likewise.
59548         (atomic_bit_test_set): Likewise.
59550 2012-06-22  Andreas Schwab  <schwab@redhat.com>
59552         [BZ #13579]
59553         * include/link.h (struct link_map): Add l_free_initfini.
59554         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
59555         l_initfini.
59556         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
59557         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
59558         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
59559         set.
59561 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
59563         * configure.in: Use AC_LANG_SOURCE.
59564         * configure: Regenerate.
59566 2012-06-22  Roland McGrath  <roland@hack.frob.com>
59568         * configure.in (libc_cv_localstatedir): New substituted variable.
59569         * configure: Regenerated.
59570         * config.make.in (localstatedir): New variable, substituted from
59571         libc_cv_localstatedir.
59572         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
59573         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
59574         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
59575         * sysdeps/gnu/configure: Regenerated.
59577 2012-06-21  Jeff Law  <law@redhat.com>
59579         [BZ #14277]
59580         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
59581         free.  Simplify list management for _LIBC case.
59583 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
59585         [BZ #14273]
59586         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
59587         Clear sign bit of 64-bit integer value before comparing against
59588         overflow value.
59590         * sysdeps/mach/configure: Regenerated.
59592 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
59594         [BZ #14278]
59595         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
59597 2012-06-21  Jeff Law  <law@redhat.com>
59599         [BZ #13882]
59600         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
59601         uint16_t for elements in the "seen" array to avoid char overflows.
59602         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59603         * elf/dl-open.c (dl_open_worker): Likewise.
59605 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
59607         * scripts/list-sources.sh: Scan PORTS for translations.
59608         * po/libc.pot: Regenerated.
59610 2012-06-21  Andreas Jaeger  <aj@suse.de>
59612         [BZ #12194]
59613         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
59614         warning.
59615         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
59616         * bits/byteswap-16.h (__bswap_16): Likewise.
59617         * bits/byteswap.h (__bswap_constant_16): Likewise.
59619 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
59621         [BZ #14117]
59622         * sysdeps/i386/fpu_control.h: Removed.
59623         * sysdeps/x86_64/fpu_control.h: Moved to ...
59624         * sysdeps/x86/fpu_control.h: Here.
59626         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
59627         (_FPU_SETCW): Likewise.
59629 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
59631         [BZ #14117]
59632         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
59633         * sysdeps/x86/fpu/bits/mathinline.h: This.
59634         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
59636         [BZ #14050]
59637         [BZ #14117]
59638         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
59639         functions if __x86_64__ is defined.
59641 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
59643         * string/endian.h: Add !__ASSEMBLER__ condition for including
59644         conversion interfaces.
59646 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
59648         [BZ #14241]
59649         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
59650         of ABS(x) in calculating zero to negative powers other than odd
59651         integers.
59652         * math/libm-test.inc (pow_test): Add more tests.
59654 2012-06-15  Andreas Jaeger  <aj@suse.de>
59656         * manual/contrib.texi (Contributors): Update entry of Liubov
59657         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
59658         Machado Filho.
59660 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
59662         * string/string.h: Add __wur to GNU version of strerror_r.
59664 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
59666         [BZ #14229]
59667         * string/Makefile (tests): Add tst-strtok_r.
59668         * string/tst-strtok_r.c: New file.
59669         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
59670         RAX_LP/RDX_LP on SAVE_PTR.
59672 2012-06-14  Roland McGrath  <roland@hack.frob.com>
59674         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
59676 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
59678         * libm_test.inc (csqrt_test): Allow more spurious underflow
59679         exceptions.
59680         (j0_test): Likewise.
59681         (j1_test): Likewise.
59682         (y0_test): Likewise.
59683         (y1_test): Likewise.
59685 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
59687         * po/Makefile (libc.pot): Use UTF-8 charset.
59689 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
59691         [BZ #14210]
59692         Suppress sign-conversion warning from FD_SET.
59693         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
59694         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
59695         not unsigned long int.
59696         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
59698 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
59700         [BZ #14050]
59701         [BZ #14117]
59702         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
59703         __extern_always_inline instead of __extern_inline.
59704         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
59705         (__signbit): Likewise.
59706         (__signbitl): Support C++ namespace.
59707         (lrintf): New inline function.
59708         (lrint): Likewise.
59709         (llrintf): Likewise.
59710         (llrint): Likewise.
59711         (fmaxf): Likewise.
59712         (fmax): Likewise.
59713         (fminf): Likewise.
59714         (fmin): Likewise.
59715         (rint): Likewise.
59716         (rintf): Likewise.
59717         (ceil): Likewise.
59718         (ceilf): Likewise.
59719         (floor): Likewise.
59720         (floorf): Likewise.
59721         (nearbyint): Likewise.
59722         (nearbyintf): Likewise.
59724 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
59726         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
59727         non-default versions.
59729 2012-06-11  Roland McGrath  <roland@hack.frob.com>
59731         [BZ #14218]
59732         * manual/argp.texi (Argp): Reword argp_parse description slightly.
59734 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
59736         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
59737         (FE_UPWARD, FE_DOWNWARD): Don't define.
59738         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
59739         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
59741         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
59742         reading it.
59743         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
59744         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59746 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59748         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
59749         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
59750         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
59751         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
59753 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
59755         [BZ #14117]
59756         * sysdeps/i386/fpu/bits/fenv.h: Removed.
59757         * sysdeps/i386/fpu/Implies: New file.
59758         * sysdeps/x86_64/fpu/Implies: Likewise.
59759         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
59760         * sysdeps/x86/fpu/bits/fenv.h: This.
59762         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
59763         __SSE_MATH__.
59765 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
59767         [BZ #14134]
59768         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
59769         character 0xffff that matches the last element of the
59770         conversion table.
59772 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59774         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
59775         fmodl commit.
59777 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59779         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
59780         values higher than 25.6283.
59782 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59784         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
59785         subnormal exponent extraction and add some __builtin_expect.
59786         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
59787         Fix for subnormal mantissa calculation.
59789 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
59791         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
59792         cpu2 is -1 and errno is not ENOSYS.
59794 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
59796         [BZ #14117]
59797         * sysdeps/i386/i486/bits/string.h: Renamed to ...
59798         * sysdeps/x86/bits/string.h: This.
59799         * sysdeps/x86_64/bits/string.h: Removed.
59801         * sysdeps/i386/i486/bits/string.h: Define inline functions only
59802         if not compiling for x86-64, but compiling for >= i486.
59804         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
59805         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
59807         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
59808         New macro from Linux kernel 3.4.0.
59809         (FP_XSTATE_MAGIC2): Likewise.
59810         (FP_XSTATE_MAGIC2_SIZE): Likewise.
59811         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
59812         (struct _fpx_sw_bytes): New struct.
59813         (struct _xsave_hdr): Likewise.
59814         (struct _ymmh_state): Likewise.
59815         (struct _xstate): Likewise.
59817         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
59818         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
59819         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
59820         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
59821         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
59822         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
59824         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
59825         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
59826         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
59827         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
59828         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
59829         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
59831 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59833         [BZ #13743]
59834         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
59835         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
59836         (sysdep_headers): Include sys/platform/ppc.h.
59837         * sysdeps/powerpc/test-gettimebase.c: Test for
59838         __ppc_get_timebase() to catch future ISA opcode/insn changes.
59839         * manual/Makefile (appendices): Include platform.texi.
59840         * manual/contrib.texi (Contributors): Update @node pointers.
59841         * manual/maint.texi (Maintenance): Likewise.
59842         (Platform): New node.
59843         * manual/platform.texi: New file.  Document the new features.
59845 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59846             Jakub Jelinek  <jakub@redhat.com>
59848         [BZ #14188]
59849         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
59850         where __builtin_expect is unavailable.
59852 2012-06-03  David S. Miller  <davem@davemloft.net>
59854         * stdlib/longlong.h: Updated from GCC.
59856 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
59858         [BZ #14042]
59859         * sysdeps/powerpc/powerpc32/mcount.c: New file.
59860         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
59861         __mcount_internal.
59862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
59863         (GLIBC_2.16): Likewise.
59865 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59867         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
59869 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
59871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
59872         (default-abi): New variable.
59873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
59874         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
59875         variable.
59876         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
59877         Likewise.
59878         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
59879         Likewise.
59880         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
59881         Likewise.
59883         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
59884         definition.  Document in comment.
59886 2012-06-01  David S. Miller  <davem@davemloft.net>
59888         * stdlib/longlong.h: Updated from GCC.
59890 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59892         [BZ #14117]
59893         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
59894         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
59895         sys/debugreg.h sys/io.h here.
59896         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
59897         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
59898         sys/io.h.
59899         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
59900         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
59901         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
59902         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
59903         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
59904         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
59906         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
59907         Define only if __x86_64__ is defined.
59909 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
59911         [BZ #14048]
59912         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
59913         Use int64_t for variable i.
59914         * math/libm-test.inc (fmod_test): Add more tests.
59916         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
59917         z computation is not scheduled after fetestexcept.
59918         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
59919         Use math_force_eval instead of asm to ensure calculation scheduled
59920         before exception test.
59921         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
59922         Ensure a1 + u.d computation is not scheduled after fetestexcept.
59924 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
59926         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
59927         computation is not scheduled after fetestexcept.
59929 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59931         [BZ #14117]
59932         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
59933         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
59935 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59937         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
59938         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
59940 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
59942         [BZ #14117]
59943         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
59944         <bits/wordsize.h>.
59945         (__WCHAR_MIN): Support __WORDSIZE == 64.
59946         (__WCHAR_MAX): Likewise.
59948         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
59949         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
59951         [BZ #14183]
59952         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
59953         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
59955         [BZ #14117]
59956         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
59957         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
59959         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
59960         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
59962         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
59963         Defined to 1 if __x86_64__ isn't defined.
59964         (_STAT_VER_LINUX_OLD): New.
59965         (st_atime): Remove duplicate.
59966         (st_mtime): Likewise.
59967         (st_ctime): Likewise.
59969 2012-05-31  David S. Miller  <davem@davemloft.net>
59971         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
59972         entries.
59974 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
59976         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
59977         gen-libm-test.pl.
59979         [BZ #14132]
59980         * elf/dl-reloc.c: Include <_itoa.h>.
59981         (_dl_reloc_bad_type): Remove use of INTUSE.
59982         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
59983         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
59984         * stdio-common/psiginfo.c (psiginfo): Likewise.
59985         * stdio-common/psignal.c (psignal): Likewise.
59986         * string/strsignal.c (strsignal): Likewise.
59987         * include/signal.h (_sys_siglist): Declare hidden proto.
59988         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
59989         INTVARDEF with libc_hidden_data_def.
59990         * stdio-common/itoa-udigits.c: Likewise.
59991         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
59992         (_itoa_lower_digits_internal): Remove declaration.
59993         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
59994         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
59995         (_sys_sigabbrev_internal): Remove aliases.
59996         (_sys_siglist): Define hidden alias.
59998 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
60000         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60001         bits/sysctl.h.
60003 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
60005         [BZ #14117]
60006         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
60007         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
60009         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
60010         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
60011         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
60012         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
60013         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
60014         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
60016         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
60017         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
60018         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
60020         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
60021         with __addr.
60022         (insw): Likewise.
60023         (insl): Likewise.
60024         (outsb): Likewise.
60025         (outsw): Likewise.
60026         (outsl): Likewise.
60028         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
60029         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
60030         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
60032         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
60033         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
60034         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
60035         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
60036         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
60037         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
60039         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
60040         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
60042         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
60043         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
60045         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
60046         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
60047         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
60049         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
60050         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
60051         to ...
60052         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
60054         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
60055         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
60056         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
60058         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
60059         for x86-64.
60060         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
60062 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
60064         * math/math.h (M_El): Use two more decimal places.
60065         (M_LOG2El): Likewise.
60066         (M_LOG10El): Likewise.
60067         (M_LN2l): Likewise.
60068         (M_LN10l): Likewise.
60069         (M_PIl): Likewise.
60070         (M_PI_2l): Likewise.
60071         (M_PI_4l): Likewise.
60072         (M_1_PIl): Likewise.
60073         (M_2_PIl): Likewise.
60074         (M_2_SQRTPIl): Likewise.
60075         (M_SQRT2l): Likewise.
60076         (M_SQRT1_2l): Likewise.
60078 2012-05-31  David S. Miller  <davem@davemloft.net>
60080         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
60081         values between float registers.
60082         * sysdeps/sparc/sparc64/memset.S: Likewise.
60083         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
60085 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
60087         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
60088         -D_FORTIFY_SOURCE=1.
60089         (CPPFLAGS-tst-longjmp_chk.c): Define.
60090         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
60091         (CPPFLAGS-tst-longjmp_chk2.c): Define.
60092         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
60093         CFLAGS-tst-wchar-h.c.
60095 2012-05-31  Marek Polacek  <polacek@redhat.com>
60097         [BZ #14132]
60098         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
60099         __endmntent_internal): Remove declaration.
60100         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
60101         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
60102         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
60104 2012-05-30  David S. Miller  <davem@davemloft.net>
60106         * sysdeps/sparc/sparc32/soft-fp/q_util.c
60107         (___Q_simulate_exceptions): Use real FP ops rather than writing
60108         into the %fsr.
60109         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
60110         Likewise.
60112 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60114         [BZ #14117]
60115         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
60116         * sysdeps/x86/bits/xtitypes.h: This.
60118         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
60119         * sysdeps/x86/bits/wordsize.h: This.
60121         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
60122         * sysdeps/x86/bits/huge_vall.h: This.
60124         * sysdeps/i386/bits/select.h: Removed.
60125         * sysdeps/x86_64/bits/select.h: Renamed to ...
60126         * sysdeps/x86/bits/select.h: This.
60128         * sysdeps/i386/bits/setjmp.h: Removed.
60129         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
60130         * sysdeps/x86/bits/setjmp.h: This.
60132         * sysdeps/i386/bits/mathdef.h: Removed.
60133         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
60134         * sysdeps/x86/bits/mathdef.h: This.
60136 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
60138         [BZ #14132]
60139         * include/sys/socket.h (__connect_internal)
60140         (__libc_sa_len_internal): Remove declaration.
60141         (__connect, __libc_sa_len): Declare hidden_proto.
60142         (SA_LEN): Remove use of INTUSE.
60143         * socket/connect.c: Add libc_hidden_def.
60144         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
60145         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
60146         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
60147         alias.
60148         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
60149         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
60150         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
60151         of adding _internal alias.
60153 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60155         [BZ #14117]
60156         * sysdeps/i386/bits/link.h: Removed.
60157         * sysdeps/i386/bits/linkmap.h: Likewise.
60158         * sysdeps/x86_64/bits/link.h: Renamed to ...
60159         * sysdeps/x86/bits/link.h: This.
60160         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
60161         * sysdeps/x86/bits/linkmap.h: This.
60163         * sysdeps/i386/bits/endian.h: Removed.
60164         * sysdeps/x86_64/bits/endian.h: Renamed to ...
60165         * sysdeps/x86/bits/endian.h: This.
60167         * sysdeps/i386/bits/byteswap.h: Removed.
60168         * sysdeps/i386/bits/byteswap-16.h: Likewise.
60169         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
60170         * sysdeps/x86/bits/byteswap.h: This.
60171         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
60172         * sysdeps/x86/bits/byteswap-16.h: This.
60173         * sysdeps/i386/Implies: Add x86.
60174         * sysdeps/x86_64/Implies: Likewise.
60176 2012-05-30  David S. Miller  <davem@davemloft.net>
60178         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
60179         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
60180         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
60181         (FP_TRAPPING_EXCEPTIONS): Define.
60182         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
60183         (FP_TRAPPING_EXCEPTIONS): Define.
60184         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
60185         subnormals only when inexact has been signalled or underflow
60186         exceptions are enabled.
60187         (_FP_PACK_CANONICAL): Likewise.
60189 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60191         [BZ #14183]
60192         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
60193         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
60195 2012-05-30  Richard Henderson  <rth@twiddle.net>
60197         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
60198         with #ifndef NOT_IN_libc.
60200         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
60201         marked to avoid plt entry.
60203 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60205         [BZ #14112]
60206         * Makeconfig (default-abi): New macro.
60207         (abi-includes): Likewise.
60208         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
60209         $(abi-$(default-abi)-lib-soname) for soname if defined.
60210         ($(common-objpfx)gnu/lib-names.stmp): Generate from
60211         abi-variants.
60212         * Makefile (installed-stubs): Likewise.
60213         * include/stubs-biarch.h: Removed.
60214         * scripts/lib-names.awk: Only handle one library at a time.
60215         * scripts/soversions.awk: Remove WORDSIZE support.
60216         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
60217         entries.
60218         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
60219         Removed.
60220         (syscall-list-default-condition): Likewise.
60221         (syscall-list-default-condition): Likewise.
60222         (syscall-list-includes): Likewise.
60223         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
60224         syscall-list-* with abi-*.  Handle undefined abi-variants.
60225         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
60226         * sysdeps/unix/sysv/linux/i386/Implies: New file.
60227         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
60228         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
60229         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
60230         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
60231         Removed.
60232         (syscall-list-32-options): Likewise.
60233         (syscall-list-32-condition): Likewise.
60234         (syscall-list-64-options): Likewise.
60235         (syscall-list-64-condition): Likewise.
60236         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
60237         macro.
60238         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
60239         Renamed to ...
60240         (abi-*): This.
60241         (abi-64-ld-soname): New macro.
60242         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
60243         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
60244         Renamed to ...
60245         (abi-*): This.
60246         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
60247         * sysdeps/x86_64/x32/shlib-versions: Likewise.
60249 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
60251         * sysdeps/unix/sysv/linux/kernel-features.h
60252         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
60253         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
60254         include <kernel-features.h>.
60255         [!__NR_ftruncate64]: Remove conditional code.
60256         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60257         [__NR_ftruncate64]: Make code unconditional.
60258         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60259         * sysdeps/unix/sysv/linux/truncate64.c: Do not
60260         include <kernel-features.h>.
60261         [!__NR_ftruncate64]: Remove conditional code.
60262         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60263         [__NR_ftruncate64]: Make code unconditional.
60264         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
60266         include <kernel-features.h>.
60267         [!__NR_ftruncate64]: Remove conditional code.
60268         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60269         [__NR_ftruncate64]: Make code unconditional.
60270         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
60272         include <kernel-features.h>.
60273         [!__NR_ftruncate64]: Remove conditional code.
60274         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60275         [__NR_ftruncate64]: Make code unconditional.
60276         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60278         * configure.in (libc_cv_fpie): Weaken to a compile test using
60279         LIBC_TRY_CC_OPTION.
60280         * configure: Regenerated.
60282 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
60285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
60286         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
60287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60288         Refreshed.
60289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
60290         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
60291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
60292         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
60293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
60294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60295         Refreshed.
60297 2012-05-27  David S. Miller  <davem@davemloft.net>
60299         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
60300         (___Q_zero): New.
60301         (__Q_simulate_exceptions): Return void.  Change to simulate
60302         exceptions by writing into the %fsr.
60303         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
60304         (__Qp_handle_exceptions): Likewise.
60305         (numbers): Delete.
60306         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
60307         __Qp_handle_exceptions.
60308         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
60309         __Qp_handle_exceptions.
60310         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
60311         as unused and give dummy FP_RND_NEAREST initializer.
60312         (FP_INHIBIT_RESULTS): Define.
60313         (___Q_simulate_exceptions): Update declaration.
60314         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
60315         formatting.
60316         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
60317         as unused and give dummy FP_RND_NEAREST initializer.
60318         (__Qp_handle_exceptions): Update declaration.
60319         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
60320         formatting.
60322 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
60324         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
60325         the temporary FPU control word.
60326         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
60327         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
60328         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
60329         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
60330         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
60331         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
60332         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
60333         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
60334         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
60335         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
60336         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60338 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60340         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
60341         fields.
60343 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
60345         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
60346         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
60347         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
60348         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
60349         Likewise.
60350         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
60351         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
60352         Likewise.
60354 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
60356         * po/h.po: Update from translation team.
60358 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
60360         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
60362         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
60363         handling of denormals.
60364         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
60365         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
60366         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
60367         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
60368         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60369         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
60370         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
60371         Likewise.
60373 2012-05-26  Marek Polacek  <polacek@redhat.com>
60375         [BZ #14152]
60376         * math/libm-test.inc (fma_test): Don't always expect underflow
60377         exception.
60379 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60381         [BZ #12416]
60382         * elf/tst-execstack.c: Include stackinfo.h.
60383         (do_test): Adjust test case to ensure that pthread_getattr_np
60384         behaviour remains the same after marking stack executable.
60386 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
60388         * sysdeps/unix/sysv/linux/kernel-features.h
60389         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
60390         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
60391         kernel-features.h.
60392         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
60393         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
60394         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
60395         kernel-features.h.
60396         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
60397         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
60399 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
60401         * configure.in: Define the default includes to being none.
60402         * configure: Regenerated.
60404 2012-05-25  Roland McGrath  <roland@hack.frob.com>
60406         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
60407         * sysdeps/x86_64/setjmp.S: Likewise.
60408         * sysdeps/i386/bsd-setjmp.S: Likewise.
60409         * sysdeps/i386/bsd-_setjmp.S: Likewise.
60410         * sysdeps/i386/setjmp.S: Likewise.
60411         * sysdeps/i386/__longjmp.S: Likewise.
60412         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
60413         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
60415         * include/stap-probe.h: New file.
60416         * configure.in: Handle --enable-systemtap.
60417         * configure: Regenerated.
60418         * config.h.in (USE_STAP_PROBE): New #undef.
60419         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
60420         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
60421         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
60423 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
60425         [BZ #13717]
60426         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
60427         to 2.4.0 where earlier.
60428         * sysdeps/unix/sysv/linux/configure: Regenerated.
60429         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
60430         <kernel-features.h>.
60431         [__ASSUME_32BITUIDS]: Make code unconditional.
60432         [!__ASSUME_32BITUIDS]: Remove conditional code.
60433         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
60434         <kernel-features.h>.
60435         [__ASSUME_32BITUIDS]: Make code unconditional.
60436         [!__ASSUME_32BITUIDS]: Remove conditional code.
60437         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
60438         [__ASSUME_32BITUIDS]: Make code unconditional.
60439         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
60440         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
60441         <kernel-features.h>.
60442         [__ASSUME_32BITUIDS]: Make code unconditional.
60443         [!__ASSUME_32BITUIDS]: Remove conditional code.
60444         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
60445         <kernel-features.h>.
60446         [__ASSUME_32BITUIDS]: Make code unconditional.
60447         [!__ASSUME_32BITUIDS]: Remove conditional code.
60448         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
60449         <kernel-features.h>.
60450         [__ASSUME_32BITUIDS]: Make code unconditional.
60451         [!__ASSUME_32BITUIDS]: Remove conditional code.
60452         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
60453         <kernel-features.h>.
60454         [__ASSUME_32BITUIDS]: Make code unconditional.
60455         [!__ASSUME_32BITUIDS]: Remove conditional code.
60456         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
60457         <kernel-features.h>.
60458         [__ASSUME_32BITUIDS]: Make code unconditional.
60459         [!__ASSUME_32BITUIDS]: Remove conditional code.
60460         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
60461         <kernel-features.h>.
60462         [__ASSUME_32BITUIDS]: Make code unconditional.
60463         [!__ASSUME_32BITUIDS]: Remove conditional code.
60464         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
60465         <kernel-features.h>.
60466         [__ASSUME_32BITUIDS]: Make code unconditional.
60467         [!__ASSUME_32BITUIDS]: Remove conditional code.
60468         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
60469         <kernel-features.h>.
60470         [__ASSUME_32BITUIDS]: Make code unconditional.
60471         [!__ASSUME_32BITUIDS]: Remove conditional code.
60472         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
60473         <kernel-features.h>.
60474         [__ASSUME_32BITUIDS]: Make code unconditional.
60475         [!__ASSUME_32BITUIDS]: Remove conditional code.
60476         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
60477         <kernel-features.h>.
60478         [__ASSUME_32BITUIDS]: Make code unconditional.
60479         [!__ASSUME_32BITUIDS]: Remove conditional code.
60480         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
60481         <kernel-features.h>.
60482         [__NR_setresgid] (__setresgid): Do not declare.
60483         [__ASSUME_32BITUIDS]: Make code unconditional.
60484         [!__ASSUME_32BITUIDS]: Remove conditional code.
60485         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
60486         <kernel-features.h>.
60487         [__NR_setresuid] (__setresuid): Do not declare.
60488         [__ASSUME_32BITUIDS]: Make code unconditional.
60489         [!__ASSUME_32BITUIDS]: Remove conditional code.
60490         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
60491         <kernel-features.h>.
60492         [__ASSUME_32BITUIDS]: Make code unconditional.
60493         [!__ASSUME_32BITUIDS]: Remove conditional code.
60494         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
60495         <kernel-features.h>.
60496         [__ASSUME_32BITUIDS]: Make code unconditional.
60497         [!__ASSUME_32BITUIDS]: Remove conditional code.
60498         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
60499         <kernel-features.h>.
60500         [__ASSUME_32BITUIDS]: Make code unconditional.
60501         [!__ASSUME_32BITUIDS]: Remove conditional code.
60502         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
60503         <kernel-features.h>.
60504         [__ASSUME_32BITUIDS]: Make code unconditional.
60505         [!__ASSUME_32BITUIDS]: Remove conditional code.
60506         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
60507         <kernel-features.h>.
60508         [__ASSUME_32BITUIDS]: Make code unconditional.
60509         [!__ASSUME_32BITUIDS]: Remove conditional code.
60510         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
60511         <kernel-features.h>.
60512         [__ASSUME_32BITUIDS]: Make code unconditional.
60513         [!__ASSUME_32BITUIDS]: Remove conditional code.
60514         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
60515         <kernel-features.h>.
60516         [__ASSUME_32BITUIDS]: Make code unconditional.
60517         [!__ASSUME_32BITUIDS]: Remove conditional code.
60518         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
60519         <kernel-features.h>.
60520         [__ASSUME_32BITUIDS]: Make code unconditional.
60521         [!__ASSUME_32BITUIDS]: Remove conditional code.
60522         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
60523         <kernel-features.h>.
60524         [__ASSUME_32BITUIDS]: Make code unconditional.
60525         [!__ASSUME_32BITUIDS]: Remove conditional code.
60526         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
60527         <kernel-features.h>.
60528         [__ASSUME_32BITUIDS]: Make code unconditional.
60529         [!__ASSUME_32BITUIDS]: Remove conditional code.
60530         * sysdeps/unix/sysv/linux/kernel-features.h
60531         (__ASSUME_SETRESUID_SYSCALL): Remove.
60532         (__ASSUME_SETRESGID_SYSCALL): Likewise.
60533         (__ASSUME_32BITUIDS): Likewise.
60534         (__ASSUME_LDT_WORKS): Likewise.
60535         (__ASSUME_O_DIRECTORY): Likewise.
60536         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
60537         architecture but not kernel version.
60538         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
60539         (__ASSUME_MMAP2_SYSCALL): Likewise.
60540         (__ASSUME_STAT64_SYSCALL): Likewise.
60541         (__ASSUME_IPC64): Likewise.
60542         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
60543         <kernel-features.h>.
60544         [__ASSUME_32BITUIDS]: Make code unconditional.
60545         [!__ASSUME_32BITUIDS]: Remove conditional code.
60546         * sysdeps/unix/sysv/linux/opendir.c: Do not include
60547         <kernel-features.h>.
60548         [__ASSUME_O_DIRECTORY]: Make code unconditional.
60549         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
60550         132096]: Remove conditional code.
60551         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
60552         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
60553         <kernel-features.h>.
60554         [__ASSUME_32BITUIDS]: Make code unconditional.
60555         [!__ASSUME_32BITUIDS]: Remove conditional code.
60556         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
60557         <kernel-features.h>.
60558         [__ASSUME_32BITUIDS]: Make code unconditional.
60559         [!__ASSUME_32BITUIDS]: Remove conditional code.
60560         * sysdeps/unix/sysv/linux/setegid.c: Do not include
60561         <kernel-features.h>.
60562         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
60563         unconditional.
60564         (__setresgid): Do not declare.
60565         [__ASSUME_32BITUIDS]: Make code unconditional.
60566         [!__ASSUME_32BITUIDS]: Remove conditional code.
60567         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
60568         <kernel-features.h>.
60569         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
60570         unconditional.
60571         (__setresuid): Do not declare.
60572         [__ASSUME_32BITUIDS]: Make code unconditional.
60573         [!__ASSUME_32BITUIDS]: Remove conditional code.
60574         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
60575         <kernel-features.h>.
60576         [__ASSUME_32BITUIDS]: Make code unconditional.
60577         [!__ASSUME_32BITUIDS]: Remove conditional code.
60578         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
60579         <kernel-features.h>.
60580         [__ASSUME_32BITUIDS]: Make code unconditional.
60581         [!__ASSUME_32BITUIDS]: Remove conditional code.
60583 2012-05-25  Richard Henderson  <rth@twiddle.net>
60585         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
60586         dl_hwcap to ifunc resolver.
60587         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
60588         elf_ifunc_invoke.
60589         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
60590         dl_hwcap to ifunc resolver.
60591         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
60593 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60595         [BZ #14153]
60596         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
60597         for |x| <= 2**-26, not 2**-57.
60598         * math/libm-test.inc (acos_test): Do not allow spurious underflow
60599         exception.
60601 2012-05-24  Jeff Law  <law@redhat.com>
60603         * stdio-common/Makefile (tests): Add bug25.
60604         * stdio-common/bug25.c: New test.
60606 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60608         [BZ #13576]
60609         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
60610         multiple of MALLOC_ALIGNMENT in size.
60611         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
60613 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60615         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
60616         Require >= 256.
60617         (FILENAME_MAX): Use macro-int-constant.
60618         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
60619         (_IOFBF): Use macro-int-constant.
60620         (_IOLBF): Likewise.
60621         (_IONBF): Likewise.
60622         (SEEK_CUR): Likewise.
60623         (SEEK_END): Likewise.
60624         (SEEK_SET): Likewise.
60625         (TMP_MAX): Likewise.
60626         (EOF): Use macro-int-constant.  Require < 0.
60627         (NULL): Use macro-constant.  Require == 0.
60628         (stdin): Require type to be FILE *.
60629         (stdout): Likewise.
60630         (stderr): Likewise.
60631         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
60632         macro-int-constant.
60633         (EXIT_SUCCESS): Likewise.
60634         (NULL): Use macro-constant.  Require == 0.
60635         (RAND_MAX): Use macro-int-constant.
60636         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
60637         [C99-based standards] (strtof): Require function.
60638         [C99-based standards] (strtold): Likewise.
60639         [C99-based standards] (strtoll): Likewise.
60640         [C99-based standards] (strtoull): Likewise.
60641         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60642         [ISO || ISO99 || ISO11] (limits.h): Likewise.
60643         [ISO || ISO99 || ISO11] (math.h): Likewise.
60644         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
60645         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60646         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60648 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
60650         [BZ #14132]
60651         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
60652         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
60653         * intl/dgettext.c (DCGETTEXT): Likewise.
60654         * intl/gettext.c (DCGETTEXT): Likewise.
60655         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
60656         * posix/regex_internal.h (gettext): Likewise.
60657         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
60658         Remove declaration.
60659         * include/argz.h (__argz_count_internal)
60660         (__argz_stringify_internal): Remove declaration.
60661         (__argz_count, __argz_stringify): Declare hidden proto.
60662         * intl/dcgettext.c: Remove use of INTDEF.
60663         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
60664         * string/argz-stringify.c: Likewise.
60665         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60666         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60667         Declare hidden proto.
60668         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60669         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60670         Declare hidden proto.
60671         * include/stdio.h (__asprintf_internal): Don't declare.
60672         (__asprintf): Don't define as macro.  Declare hidden proto.
60673         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
60674         (__fsetlocking): Declare hidden proto.
60675         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
60676         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
60677         hidden proto.
60678         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
60679         (_IO_setlinebuf): Remove use of INTUSE.
60680         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
60681         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
60682         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
60683         Remove declaration.
60684         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
60685         (_IO_do_flush): Remove use of INTUSE.
60686         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
60687         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
60688         (_IO_adjust_column, _IO_least_wmarker)
60689         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
60690         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
60691         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
60692         (_IO_default_doallocate, _IO_wdefault_doallocate)
60693         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
60694         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
60695         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
60696         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
60697         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
60698         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
60699         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
60700         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
60701         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
60702         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
60703         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
60704         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
60705         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
60706         proto.
60707         (_IO_flush_all_internal, _IO_adjust_column_internal)
60708         (_IO_default_uflow_internal, _IO_default_finish_internal)
60709         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
60710         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
60711         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
60712         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
60713         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
60714         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
60715         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
60716         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
60717         (_IO_file_close_internal, _IO_file_close_it_internal)
60718         (_IO_file_underflow_internal, _IO_file_overflow_internal)
60719         (_IO_file_init_internal, _IO_file_attach_internal)
60720         (_IO_file_fopen_internal, _IO_file_read_internal)
60721         (_IO_file_sync_internal, _IO_file_seek_internal)
60722         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
60723         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
60724         (_IO_str_underflow_internal, _IO_str_overflow_internal)
60725         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
60726         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
60727         (_IO_list_all_internal, _IO_link_in_internal)
60728         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
60729         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
60730         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
60731         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
60732         (_IO_do_write_internal, _IO_padn_internal)
60733         (_IO_getline_info_internal, _IO_getline_internal)
60734         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
60735         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
60736         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
60737         (_IO_vfscanf_internal, _IO_vfprintf_internal)
60738         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
60739         (_IO_init_internal, _IO_un_link_internal): Don't declare.
60740         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
60741         with libc_hidden_ver, remove use of INTUSE.
60742         * libio/genops.c: Likewise.
60743         * libio/freopen.c: Likewise.
60744         * libio/freopen64.c: Likewise.
60745         * libio/iofclose.c: Likewise.
60746         * libio/iofdopen.c: Likewise.
60747         * libio/iofflush.c: Likewise.
60748         * libio/iofflush_u.c: Likewise.
60749         * libio/iofgets.c: Likewise.
60750         * libio/iofgets_u.c: Likewise.
60751         * libio/iofopen.c: Likewise.
60752         * libio/iofopncook.c: Likewise.
60753         * libio/iofread.c: Likewise.
60754         * libio/iofread_u.c: Likewise.
60755         * libio/ioftell.c: Likewise.
60756         * libio/iofwrite.c: Likewise.
60757         * libio/iogetline.c: Likewise.
60758         * libio/iogets.c: Likewise.
60759         * libio/iogetwline.c: Likewise.
60760         * libio/iopadn.c: Likewise.
60761         * libio/iopopen.c: Likewise.
60762         * libio/ioseekoff.c: Likewise.
60763         * libio/ioseekpos.c: Likewise.
60764         * libio/iosetbuffer.c: Likewise.
60765         * libio/iosetvbuf.c: Likewise.
60766         * libio/ioungetc.c: Likewise.
60767         * libio/ioungetwc.c: Likewise.
60768         * libio/iovdprintf.c: Likewise.
60769         * libio/iovsprintf.c: Likewise.
60770         * libio/iovsscanf.c: Likewise.
60771         * libio/memstream.c: Likewise.
60772         * libio/obprintf.c: Likewise.
60773         * libio/oldfileops.c: Likewise.
60774         * libio/oldiofclose.c: Likewise.
60775         * libio/oldiofdopen.c: Likewise.
60776         * libio/oldiofopen.c: Likewise.
60777         * libio/oldiopopen.c: Likewise.
60778         * libio/oldstdfiles.c: Likewise.
60779         * libio/putc.c: Likewise.
60780         * libio/setbuf.c: Likewise.
60781         * libio/setlinebuf.c: Likewise.
60782         * libio/stdfiles.c: Likewise.
60783         * libio/strops.c: Likewise.
60784         * libio/vasprintf.c: Likewise.
60785         * libio/vscanf.c: Likewise.
60786         * libio/vsnprintf.c: Likewise.
60787         * libio/vswprintf.c: Likewise.
60788         * libio/wfiledoalloc.c: Likewise.
60789         * libio/wfileops.c: Likewise.
60790         * libio/wgenops.c: Likewise.
60791         * libio/wmemstream.c: Likewise.
60792         * libio/wstrops.c: Likewise.
60793         * libio/__fpurge.c: Likewise.
60794         * libio/__fsetlocking.c: Likewise.
60795         * assert/assert.c: Likewise.
60796         * debug/fgets_chk.c: Likewise.
60797         * debug/fgets_u_chk.c: Likewise.
60798         * debug/fread_chk.c: Likewise.
60799         * debug/fread_u_chk.c: Likewise.
60800         * debug/gets_chk.c: Likewise.
60801         * debug/obprintf_chk.c: Likewise.
60802         * debug/vasprintf_chk.c: Likewise.
60803         * debug/vdprintf_chk.c: Likewise.
60804         * debug/vsnprintf_chk.c: Likewise.
60805         * debug/vsprintf_chk.c: Likewise.
60806         * malloc/mtrace.c: Likewise.
60807         * misc/error.c: Likewise.
60808         * misc/syslog.c: Likewise.
60809         * stdio-common/asprintf.c: Likewise.
60810         * stdio-common/fxprintf.c: Likewise.
60811         * stdio-common/getw.c: Likewise.
60812         * stdio-common/isoc99_fscanf.c: Likewise.
60813         * stdio-common/isoc99_scanf.c: Likewise.
60814         * stdio-common/isoc99_vfscanf.c: Likewise.
60815         * stdio-common/isoc99_vscanf.c: Likewise.
60816         * stdio-common/isoc99_vsscanf.c: Likewise.
60817         * stdio-common/printf-prs.c: Likewise.
60818         * stdio-common/printf_fp.c: Likewise.
60819         * stdio-common/printf_fphex.c: Likewise.
60820         * stdio-common/printf_size.c: Likewise.
60821         * stdio-common/putw.c: Likewise.
60822         * stdio-common/scanf.c: Likewise.
60823         * stdio-common/sprintf.c: Likewise.
60824         * stdio-common/tmpfile.c: Likewise.
60825         * stdio-common/vfprintf.c: Likewise.
60826         * stdio-common/vfscanf.c: Likewise.
60827         * stdlib/strfmon_l.c: Likewise.
60828         * sunrpc/openchild.c: Likewise.
60829         * sunrpc/xdr_stdio.c: Likewise.
60830         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
60831         * sysdeps/mach/hurd/tmpfile.c: Likewise.
60833 2012-05-24  Roland McGrath  <roland@hack.frob.com>
60835         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
60837         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
60838         in the third column, to generate for the shared library an IFUNC
60839         that uses _dl_vdso_vsym.
60840         * Makerules (COMPILE.c, compile-stdin.c): New variables.
60841         * Makeconfig (object-suffixes-noshared): New variable.
60843         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
60844         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
60845         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
60846         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
60848         [BZ #14132]
60849         * include/sys/time.h (__gettimeofday): Remove macro.
60850         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
60851         * time/gettimeofday.c (__gettimeofday): Remove #undef.
60852         Remove INTDEF.
60853         (__gettimeofday): Add libc_hidden_def.
60854         (gettimeofday): Add libc_hidden_weak.
60855         * sysdeps/mach/gettimeofday.c: Likewise.
60856         * sysdeps/posix/gettimeofday.c: Likewise.
60857         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
60858         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
60859         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
60860         (__gettimeofday_internal): Remove strong_alias.
60861         (__gettimeofday): Add libc_hidden_def.
60862         (gettimeofday): Add libc_hidden_weak.
60863         * sysdeps/unix/syscalls.list (gettimeofday):
60864         Remove __gettimeofday_internal alias.
60866 2012-05-24  Daniel Jacobowitz  <drow@false.org>
60867             H.J. Lu  <hongjiu.lu@intel.com>
60869         [BZ #12495]
60870         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
60871         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
60872         (largebin_index_32_big): New.
60873         (largebin_index): Use it for 16-byte alignment.
60874         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
60875         correction with front_misalign.
60877 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60879         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
60880         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
60881         Likewise.
60882         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
60883         Likewise.
60884         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
60885         Likewise.
60886         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
60887         Likewise.
60888         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
60889         Likewise.
60890         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
60891         Likewise.
60892         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
60893         Likewise.
60894         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
60895         Likewise.
60896         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
60897         Likewise.
60898         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
60899         Likewise.
60900         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
60901         Likewise.
60902         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
60903         Likewise.
60905         * scripts/data/c++-types-x32-linux-gnu.data: New file.
60906         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
60908 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60910         [BZ #10846]
60911         [BZ #14036]
60912         * math/libm-test.inc (exp_test): Add test from bug 14036.
60913         (pow_test): Add test from bug 10846.
60915         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
60916         and other flags.
60917         (special_function): Do not include flags in test name.
60918         (parse_args): Likewise.
60919         * sysdeps/i386/fpu/libm-test-ulps: Update.
60920         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60921         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60922         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60925         * math/gen-libm-test.pl (%beautify): Add entries for underflow
60926         exceptions.
60927         * math/libm-test.inc ("Philosophy"): Update comment about
60928         exception testing.
60929         (UNDERFLOW_EXCEPTION): New macro.
60930         (UNDERFLOW_EXCEPTION_OK): Likewise.
60931         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
60932         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
60933         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
60934         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
60935         (INVALID_EXCEPTION_OK): Update value.
60936         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60937         (OVERFLOW_EXCEPTION_OK): Likewise.
60938         (IGNORE_ZERO_INF_SIGN): Likewise.
60939         (test_exceptions): Handle underflow exceptions.
60940         (acos_test): Update for underflow exception expectations.
60941         (cexp_test): Likewise.
60942         (clog_test): Likewise.
60943         (clog10_test): Likewise.
60944         (csqrt_test): Likewise.
60945         (ctan_test): Likewise.
60946         (ctanh_test): Likewise.
60947         (exp_test): Likewise.
60948         (exp10_test): Likewise.
60949         (exp2_test): Likewise.
60950         (expm1_test): Likewise.
60951         (fma_test): Likewise.
60952         (j0_test): Likewise.
60953         (jn_test): Likewise.
60954         (nexttoward_test): Likewise.
60955         (pow_test): Likewise.
60956         (scalbn_test): Likewise.
60957         (scalbln_test): Likewise.
60958         (tan_test): Likewise.
60959         (y1_test): Likewise.
60960         * sysdeps/i386/fpu/libm-test-ulps: Update.
60961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60963 2012-05-23  David S. Miller  <davem@davemloft.net>
60965         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
60966         (__libc_sigaction): Remove unused local variables.
60968 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
60970         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
60972 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
60974         mktime: avoid signed integer overflow
60975         * time/mktime.c (__mktime_internal): Do not mishandle the case
60976         where diff == INT_MIN.
60978         mktime: simplify computation of average
60979         * time/mktime.c (ranged_convert): Use new time_t_avg function
60980         instead of rolling our own (probably-slower) code.
60982         mktime: do not assume signed right shift propagates sign bit
60983         * time/mktime.c (isdst_differ): New static function.
60984         (__mktime_internal): No need to normalize tm_isdst now.
60985         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
60986         tm_isdst values.
60988         mktime: merge another wrapv change from gnulib
60989         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
60990         from some compilers.
60992         mktime: remove incorrect attempt at unusual arithmetics
60993         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
60994         The code didn't really work on such machines anyway.
60995         (TYPE_MINIMUM): Assume two's complement.
60996         (twos_complement_arithmetic): Verify that long_int and time_t
60997         are two's complement (or unsigned, in the latter case).
60999         mktime: check signed shifts on long_int and time_t, too
61000         * time/mktime.c (SHR): Check that shifts work as desired
61001         on the types long_int and time_t too, as SHR is used on
61002         such types.
61004         mktime: do not assume 'long' is wide enough
61005         * time/mktime.c (verify): Move decl up.
61006         (long_int): New type.
61007         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
61008         to remove assumption in the code that 'long' is wide enough to
61009         store year values.  This assumption is not true on x32 and on
61010         some non-glibc platforms.
61012         mktime: merge wrapv change from gnulib
61013         * time/mktime.c (WRAPV): New macro.
61014         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
61015         (guess_time_tm, __mktime_internal): Do not assume that signed
61016         integer overflow wraps around; modern compilers generate code
61017         where this assumption is no longer valid.
61019 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61021         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
61022         Replace "jmp L(pseudo_end)" with "ret".
61023         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
61024         Likewise.
61026 2012-05-23  Andreas Jaeger  <aj@suse.de>
61028         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
61029         * sysdeps/unix/sysv/linux/poll.c: Remove file.
61031 2012-05-23  Andreas Jaeger  <aj@suse.de>
61032             Maximilian Attems  <max@stro.at>
61034         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
61035         New macros.
61037 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61039         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
61040         code so that pseudo_end is just ret and the stack pointer is
61041         correct also for static library in error case.
61043 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
61045         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
61046         move to syscalls.list.
61047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
61048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
61049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
61050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
61052         * manual/install.texi (Running make install): Do not mention Linux
61053         kernel version for which pt_chown is not needed.
61054         (Linux): Do not mention problems with nscd with 2.0 kernels.
61055         * INSTALL: Regenerated.
61057 2012-05-23  Andreas Jaeger  <aj@suse.de>
61059         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
61060         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
61061         macro.
61062         * sysdeps/unix/sysv/linux/s390/bits/mman.h
61063         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61064         * sysdeps/unix/sysv/linux/sh/bits/mman.h
61065         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61066         * sysdeps/unix/sysv/linux/i386/bits/mman.h
61067         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61068         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
61069         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61070         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
61071         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61072         * sysdeps/unix/sysv/linux/bits/in.h
61073         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
61075 2012-05-22  Roland McGrath  <roland@hack.frob.com>
61077         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
61078         (PREPARE_VERSION): Just use assert instead, it will be elided
61079         under [NDEBUG] anyway.
61081 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61083         * sysdeps/unix/sysv/linux/Makefile: Include
61084         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
61085         (sysdep_routines): Remove sysctl.
61086         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
61087         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
61088         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
61089         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
61090         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
61092 2012-05-22  Andreas Jaeger  <aj@suse.de>
61094         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
61095         that pseudo_end is just ret and the stack pointer is correct also
61096         for static library in error case.
61098 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
61100         [BZ #14122]
61101         * nss/nsswitch.c (defconfig_entries): New variable.
61102         (__nss_database_lookup): Don't leak defconfig entries.
61103         (nss_parse_service_list): Don't leak on error paths.
61104         (free_database_entries): New function.
61105         (free_defconfig): New function.
61106         (free_mem): Move common code to free_database_entries.
61108 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61110         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
61111         Add arch_prctl.
61112         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
61114         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
61115         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
61116         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
61117         New macro.
61118         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
61119         (INTERNAL_SYSCALL_TYPES): Likewise.
61120         (LOAD_ARGS_TYPES_[1-6]): Likewise.
61121         (LOAD_REGS_TYPES_[1-6]): Likewise.
61122         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
61123         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
61125 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61127         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
61128         copysignl for GLIBC_2_0.
61129         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
61130         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
61131         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
61132         logbl for GLIBC_2_0.
61133         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
61134         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
61136 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61138         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
61139         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61141         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
61142         Use "neg %eax".
61144         * time/mktime.c: Update copyright years.
61146 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
61148         mktime: merge comment-quoting-style change from gnulib
61149         * time/mktime.c: Quote 'like this' in comments.
61150         The GNU coding standards suggest that we no longer quote `like this',
61151         as "`" and "'" are typically rendered asymmetrically nowadays.
61152         The typical gnulib style is to quote 'like this' when quoting
61153         code, and "like this" when quoting English.
61155         * time/mktime.c (compile-command): Add "-I.".
61157         mktime: merge mktime-internal.h change from gnulib
61158         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
61160         mktime: merge time_r change from gnulib
61161         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
61163         mktime: merge DEBUG change from gnulib
61164         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
61165         case system <time.h> has a #define.
61167         mktime: merge <sys/types.h> change from gnulib
61168         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
61169         since <time.t> is now guaranteed to define time_t.
61171         mktime: merge HAVE_CONFIG_H change from gnulib
61172         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
61174 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61176         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
61177         Use "neg %eax".
61179         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
61180         __rlim_t cast.
61181         (struct rusage): Use anonymous union to pad each field to
61182         __syscall_slong_t.
61184 2012-05-21  David S. Miller  <davem@davemloft.net>
61186         * Makefules (o-iterator): Remove .s cases.
61187         (compile-command.s): Delete.
61188         (COMPILE.s): Delete.
61189         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
61191 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
61193         * configure.in (libc_cv_predef_stack_protector): Only consider
61194         "foobar" and "__stack_chk_fail" lines in libc_undefs.
61195         * configure: Regenerated.
61197 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61199         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
61200         New macro.  Use R*LP on int and pointer.
61201         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
61202         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
61203         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
61204         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
61206         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
61207         [__WORDSIZE_TIME64_COMPAT32] instead of
61208         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
61209         (struct utmp): Likewise.
61210         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
61211         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
61212         Renamed to ...
61213         (__WORDSIZE_TIME64_COMPAT32): This.
61214         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
61215         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
61216         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
61217         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
61218         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
61219         (__WORDSIZE_TIME64_COMPAT32): New macro.
61221 2012-05-21  Andreas Jaeger  <aj@suse.de>
61223         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
61224         only if [SHARED]. Add prototype for __wcschr_ia32.
61226 2012-05-21  Roland McGrath  <roland@hack.frob.com>
61228         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
61229         of %rbp unmolested in the jmp_buf while mangling the low bits.
61230         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
61231         unmolested high bits of %rbp while demangling the low bits.
61232         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
61234 2012-05-21  Andreas Jaeger  <aj@suse.de>
61236         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
61237         * sunrpc/svc_simple.c: Use it for registerrpc.
61238         * sunrpc/xcrypt.c: Use it for passwd2des.
61240         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
61242 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61244         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
61245         Don't define if [__SYSCALL_WORDSIZE != 32].
61246         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
61247         New macro.
61249 2012-05-21  Bruno Haible  <bruno@clisp.org>
61250             Andreas Jaeger  <aj@suse.de>
61252         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
61253         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
61254         inptr and inend for must_buffer_ch.
61255         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
61256         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
61257         * stdio-common/Makefile (tests): Remove bug15.
61258         (bug15-ENV): Remove macro.
61259         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
61260         anymore.
61262 2012-05-19  Andreas Jaeger  <aj@suse.de>
61263             Roland McGrath  <roland@hack.frob.com>
61265         * manual/contrib.texi: Completely rewritten. It contains now an
61266         alphabetical list of contributors and their contributions.
61268 2012-05-21  Richard Henderson  <rth@twiddle.net>
61270         * misc/getauxval.c (__getauxval): Use unsigned long int.
61271         * misc/sys/auxv.h: Include <sys/cdefs.h>.
61272         (getauxval): Use unsigned long int.
61274 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61276         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
61278 2012-05-21  Roland McGrath  <roland@hack.frob.com>
61280         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
61281         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
61282         __alignof__ (long double).
61284 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61288 2012-05-20  Richard Henderson  <rth@twiddle.net>
61290         * misc/getauxval.c: New file.
61291         * misc/sys/auxv.h: New file.
61292         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
61293         (routines): Add getauxval.
61294         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
61295         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
61296         * elf/dl-sysdep.c (_dl_auxv): Remove.
61297         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
61298         * elf/dl-support.c (_dl_auxv): New variable.
61299         (_dl_aux_init): Initialize it.
61300         * manual/startup.texi (Auxiliary Vector): New node.
61301         * sysdeps/generic/bits/hwcap.h: New file.
61302         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
61303         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
61304         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
61305         * sysdeps/sparc/sysdep.h: ... here.  Include it.
61306         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
61307         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
61308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61309         Update.
61310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
61311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
61312         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
61313         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
61314         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
61315         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
61316         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
61317         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
61319 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61321         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61323 2012-05-19  David S. Miller  <davem@davemloft.net>
61325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61327 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
61329         [BZ #14123]
61330         * math/s_ccosh.c: Include <float.h>
61331         (__ccosh): Avoid internal overflow calculating sinh and cosh
61332         values before multiplying by sin and cos values.
61333         * math/s_ccoshf.c: Likewise.
61334         * math/s_ccoshl.c: Likewise.
61335         * math/s_csin.c: Likewise.
61336         * math/s_csinf.c: Likewise.
61337         * math/s_csinl.c: Likewise.
61338         * math/s_csinh.c: Likewise.
61339         * math/s_csinhf.c: Likewise.
61340         * math/s_csinhl.c: Likewise.
61341         * math/libm-test.inc (ccos_test): Add more tests.
61342         (ccosh_test): Likewise.
61343         (csin_test): Likewise.
61344         (csinh_test): Likewise.
61345         * sysdeps/i386/fpu/libm-test-ulps: Update.
61346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61348 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
61350         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
61351         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
61353         * sysdeps/x86_64/x32/_itoa.h: Add comment.
61355 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
61357         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
61358         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
61359         * sysdeps/powerpc/soft-fp/Versions: Likewise.
61360         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
61361         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
61362         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
61363         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
61364         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
61365         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
61366         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
61367         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
61368         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
61369         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
61370         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
61371         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
61372         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
61373         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
61374         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
61375         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
61376         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
61377         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
61378         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
61379         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
61380         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
61381         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
61382         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
61383         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
61384         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
61385         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
61386         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
61387         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
61389 2012-05-18  Andreas Jaeger  <aj@suse.de>
61391         * csu/.gitignore: Delete.
61393 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61395         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
61396         (timex): Use __syscall_slong_t.
61398 2012-05-18  Andreas Jaeger  <aj@suse.de>
61399             Carlos O'Donell  <carlos_odonell@mentor.com>
61401         * manual/install.texi (Configuring and compiling): Update
61402         description about files modified in the source directory.
61403         * INSTALL: Regenerated.
61405 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61407         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
61408         value.  Use "or" to set return value to -1.
61409         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
61410         negate return value.
61412 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61414         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
61415         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
61416         failure if the compiler has Graphite support disabled.
61417         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
61418         Likewise.
61419         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
61420         (CFLAGS-memmove.c): Likewise.
61421         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
61422         Likewise.
61424 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61426         * sysdeps/x86_64/x32/_itoa.h: New file.
61428         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
61429         getdents system call only if kernel and user dirents have the
61430         same d_ino and d_off.
61432         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
61433         LLONG_MAX != LONG_MAX.
61434         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61435         (_fitoa_word): Likewise.
61437         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
61438         years.
61439         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
61440         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
61441         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
61443         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
61444         include <bits/wordsize.h>.  Check __x86_64__ instead of
61445         __WORDSIZE.
61446         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
61447         if __x86_64__ is defined.  Use anonymous union on fpstate.
61449         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
61450         anonymous union.
61452 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
61454         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
61455         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
61456         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
61457         Refer to _rtld_local_ro instead of _rtld_global_ro.
61458         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
61459         Likewise.
61460         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
61461         Likewise.
61462         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
61463         Likewise.
61464         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
61465         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
61466         of _rtld_global, and rtld_progname instead of _dl_argv[0].
61468         [BZ #10882]
61469         * sysdeps/powerpc/powerpc32/dl-machine.c
61470         (__elf_machine_runtime_setup) [PROF]: Don't reference
61471         _dl_prof_resolve.
61473 2012-05-18  Andreas Jaeger  <aj@suse.de>
61475         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
61476         function only available for GCCs before 3.4 since GCC 3.4
61477         introduced a builtin.
61478         (lrint): Likewise.
61479         (llrintf): Likewise.
61480         (llrint): Likewise.
61481         (fmaxf): Likewise.
61482         (fmax): Likewise.
61483         (fminf): Likewise.
61484         (fmin): Likewise.
61485         (rint): Likewise.
61486         (rintf): Likewise.
61487         (nearbyint): Likewise.
61488         (nearbyintf): Likewise.
61489         (ceil): Likewise.
61490         (ceilf): Likewise.
61491         (floor): Likewise.
61492         (floorf): Likewise.
61494 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61496         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
61497         on both fields and cast pointer to __syscall_ulong_t.
61499         * bits/types.h (__fsword_t): New type.
61500         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
61501         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
61502         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61503         (__FSWORD_T_TYPE): Likewise.
61504         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61505         (__FSWORD_T_TYPE): Likewise.
61506         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61507         (__FSWORD_T_TYPE): Likewise.
61508         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
61509         (__FSWORD_T_TYPE): Likewise.
61510         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
61511         __SWORD_TYPE with __fsword_t.
61512         (statfs64): Likewise.
61514 2012-05-17  David S. Miller  <davem@davemloft.net>
61516         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
61518 2012-05-17  Andreas Jaeger  <aj@suse.de>
61520         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
61521         warning.
61523 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61525         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
61527 2012-05-17  Andreas Jaeger  <aj@suse.de>
61529         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
61530         when it is used.
61532 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
61534         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
61536 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61538         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
61539         * sysdeps/x86_64/tst-mallocalign1.c: New file.
61541 2012-05-17  Andreas Jaeger  <aj@suse.de>
61542             Carlos O'Donell  <carlos_odonell@mentor.com>
61544         [BZ #14059]
61545         * sysdeps/x86_64/multiarch/init-arch.h
61546         (bit_YMM_Usable): Rename to...
61547         (bit_AVX_Usable): ... this.
61548         (bit_FMA4_Usable): New macro.
61549         (bit_XMM_state): New macro.
61550         (bit_YMM_state): New macro.
61551         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
61552         [__ASSEMBLER__] (index_AVX_Usable): ... this.
61553         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
61554         (CPUID_OSXSAVE): New macro.
61555         (CPUID_AVX): New macro.
61556         (CPUID_FMA4): New macro.
61557         (index_YMM_Usable): Rename to...
61558         (index_AVX_Usable): ... this.
61559         (HAS_AVX): Use HAS_ARCH_FEATURE.
61560         (HAS_FMA4): Likewise.
61561         (HAS_YMM_USABLE): Remove.
61562         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61563         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
61564         are present.
61565         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
61566         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
61567         * sysdeps/x86_64/multiarch/Makefile: Likewise.
61568         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
61569         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
61571 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
61573         * math/libm-test.c: Support platforms without multiple rounding modes.
61574         * math/bug-nextafter.c: Support platforms without FP exceptions.
61575         * math/bug-nexttoward.c: Likewise.
61576         * math/test-fenv.c: Likewise.
61577         * math/test-misc.c: Likewise.
61578         * stdlib/bug-getcontext.c: Likewise.
61580 2012-05-17  Andreas Jaeger  <aj@suse.de>
61582         * manual/examples/search.c (critter_cmp): Change signature to
61583         avoid warnings.
61584         * manual/string.texi (Collation Functions): Likewise.
61586 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61588         * bits/types.h: Fold copyright years.
61589         * bits/typesizes.h: Likewise.
61590         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
61591         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
61592         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
61593         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
61594         * time/time.h: Likewise.
61596 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
61598         [BZ #208]
61599         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
61600         in instead of returning them.  Return void.
61601         (__libc_mallinfo): Accumulate over all arenas.
61602         (__malloc_stats): Adjust for change in int_mallinfo interface.
61604 2012-05-16  Roland McGrath  <roland@hack.frob.com>
61606         [BZ #10375]
61607         * configure.in (NM): Add AC_CHECK_TOOL for it.
61608         (libc_extra_cflags): New substituted variable.
61609         Check for -fstack-protector being used implicitly.
61610         * configure: Regenerated.
61611         * config.make.in (config-extra-cflags): New variable,
61612         gets @libc_extra_cflags@.
61613         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
61615         [BZ #10375]
61616         * configure.in: Check for _FORTIFY_SOURCE being predefined.
61617         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
61618         * configure: Regenerated.
61619         * config.make.in (CPPUNDEFS): New substituted variable.
61620         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
61621         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
61622         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
61624 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61626         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
61627         (mq_attr): Use __syscall_slong_t.
61629 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61631         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
61632         Check __x86_64__ instead of __WORDSIZE.
61633         (_STAT_VER_LINUX): Likewise.
61634         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
61635         __syscall_ulong_t and __syscall_slong_t.
61636         (stat64): Likewise.
61638 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61640         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
61642 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61644         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
61646 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61648         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
61649         __syscall_ulong_t.
61651         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
61652         include <bits/wordsize.h>.  Check __x86_64__ instead of
61653         __WORDSIZE.
61654         (greg_t): Use "__extension__ long long int" if __x86_64__ is
61655         defined.
61656         (mcontext_t): Replace "unsigned long" with "unsigned long long".
61658         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
61659         include <bits/wordsize.h>.  Check __x86_64__ instead of
61660         __WORDSIZE.
61661         (user_regs_struct): Use "__extension__ unsigned long long"
61662         instead of "unsigned long" if __x86_64__ is defined.
61663         (user): Likewise.  Pad after pointer field if __ILP32__ is
61664         defined.
61666 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
61668         * configure.in (makeinfo): Require version 4.5 or later.  Allow
61669         versions 5 to 9.
61670         * configure: Regenerated.
61671         * manual/install.texi (texinfo): Increase version requirement to
61672         4.5 or later.
61673         * INSTALL: Regenerated.
61675         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
61677 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61679         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
61681         * sysdeps/x86_64/x32/ffs.c: New file.
61683         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
61684         __syscall_ulong_t.
61685         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
61686         defined.  Use __syscall_ulong_t.
61687         (shminfo): Use __syscall_ulong_t.
61688         (shm_info): Likewise.
61690         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
61691         __syscall_ulong_t.
61693         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
61694         <bits/wordsize.h>.
61695         (msgqnum_t): Use __syscall_ulong_t.
61696         (msglen_t): Likewise.
61697         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
61698         __syscall_ulong_t.
61700         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
61701         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61703         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
61705         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
61706         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
61708         * sysvipc/sys/msg.h (msgbuf): Replace long int with
61709         __syscall_slong_t.
61711         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
61712         include <bits/wordsize.h>.  Check __x86_64__ instead of
61713         __WORDSIZE.
61715         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
61716         "unsigned long long int" if __x86_64__ is defined.
61717         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
61719         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
61720         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61721         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
61723         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
61724         <stdint.h>.
61725         (GET_PC): Cast to uintptr_t first.
61726         (GET_FRAME): Likewise.
61727         (GET_STACK): Likewise.
61729         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
61730         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
61731         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
61732         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
61733         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
61734         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
61735         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
61736         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
61737         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
61738         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
61739         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
61740         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
61741         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
61742         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
61743         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
61744         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
61745         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
61746         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
61747         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
61748         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
61749         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
61750         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
61751         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
61752         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
61753         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
61754         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
61755         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
61756         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
61757         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
61759 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
61761         * Makerules (+depfiles): Also collect depfiles from .oS in
61762         $(extra-objs).
61763         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
61764         .oS, $(libnldbl-routines)).
61766         * Makerules (native-compile-mkdep-flags): Define.
61767         * sunrpc/Makefile (extra-objs): Add $(addprefix
61768         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
61769         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
61770         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
61771         calling $(make-target-directory).
61773 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61775         * bits/types.h (__snseconds_t): Removed.
61776         * time/time.h (struct timespec): Replace __snseconds_t with
61777         __syscall_slong_t.
61778         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
61779         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
61780         Likewise.
61781         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61782         (__SNSECONDS_T_TYPE): Likewise.
61783         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61784         (__SNSECONDS_T_TYPE): Likewise.
61785         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61786         (__SNSECONDS_T_TYPE): Likewise.
61788 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61790         * sysdeps/mach/hurd/bits/typesizes.h
61791         (__SYSCALL_SLONG_TYPE): New macro.
61792         (__SYSCALL_ULONG_TYPE): Likewise.
61794 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61796         * bits/types.h (__syscall_slong_t): New type.
61797         (__syscall_ulong_t): Likewise.
61799         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
61800         (__SYSCALL_ULONG_TYPE): Likewise.
61801         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61802         (__SYSCALL_SLONG_TYPE): Likewise.
61803         (__SYSCALL_ULONG_TYPE): Likewise.
61804         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61805         (__SYSCALL_SLONG_TYPE): Likewise.
61806         (__SYSCALL_ULONG_TYPE): Likewise.
61807         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61808         (__SYSCALL_SLONG_TYPE): Likewise.
61809         (__SYSCALL_ULONG_TYPE): Likewise.
61811 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61813         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
61814         Add sigaltstack-offsets.sym.
61815         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
61816         <sigaltstack-offsets.h>.
61817         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
61818         longjmp_msg pointer.
61819         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
61820         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
61821         signal stack.
61822         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
61824 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
61826         * elf/stackguard-macros.h: Remove file.
61827         * sysdeps/generic/stackguard-macros.h: New file.
61828         * sysdeps/i386/stackguard-macros.h: Likewise.
61829         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
61830         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
61831         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
61832         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
61833         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
61834         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
61835         * sysdeps/x86_64/stackguard-macros.h: Likewise.
61836         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
61837         <elf/stackguard-macros.h>.
61839         [BZ #14109]
61840         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
61841         __aligned__ in attribute.
61842         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
61843         (gregset_t): Likewise.
61845 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61847         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
61848         * sysdeps/x86_64/64/Implies-after: Here.  New file.
61849         * sysdeps/x86_64/x32/Implies-after: New file.
61851 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61853         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
61854         and access return value for _dl_profile_fixup.  Use R10_LP to
61855         load frame size.
61857 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61859         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
61861 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61863         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
61864         * sysdeps/x86_64/x32/sysdep.h: New file.
61866 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61868         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
61869         * sysdeps/x86_64/setjmp.S: Likewise.
61871 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61873         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
61874         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
61875         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
61876         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
61877         remove unused global constant.
61879 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
61881         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
61882         include of <not-cancel.h>.
61884 2012-05-15  Roland McGrath  <roland@hack.frob.com>
61886         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
61888 2012-05-15  Jeff Law  <law@redhat.com>
61889             Andreas Jaeger  <aj@suse.de>
61891         [BZ #13594]
61892         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
61893         out from...
61894         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
61895         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
61896         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
61897         code changing __hst_map_handle.map.
61899 2012-05-15  Roland McGrath  <roland@hack.frob.com>
61901         * configure.in (sysnames): Look for Implies-before and Implies-after
61902         files.
61903         * configure: Regenerated.
61905 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61907         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
61908         8-byte data alignment with LP_SIZE alignment.
61910 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61912         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
61913         into R10_LP.
61915 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61917         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
61919 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61921         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
61922         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
61923         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
61924         Likewise.
61925         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
61927 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61929         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
61930         (stackinfo_sub_sp): Likewise.
61932 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61934         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
61935         RAX_LP.
61937 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61939         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
61940         into R*_LP.
61942 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61944         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
61945         sizes into R*_LP.
61947 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61949         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
61951 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61953         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
61954         into R11_LP and load __x86_64_shared_cache_size_half into
61955         R8_LP.
61957 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61959         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
61960         R8_LP.
61962 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61964         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
61965         logb for POWER7.
61966         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
61967         logbf for POWER7.
61968         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
61969         logbl for POWER7.
61970         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
61971         powerpc32/power7/fpu/s_logb.c via #include.
61972         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
61973         powerpc32/power7/fpu/s_logbf.c via #include.
61974         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
61975         powerpc32/power7/fpu/s_logbl.c via #include.
61977 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
61979         * README.libm: Remove file.
61981 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61983         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
61984         count for x32.  Use R*_LP and omit operand-size suffix.
61986 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61988         * shlib-versions: Move x86_64-.*-linux.* entries to ...
61989         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
61990         * sysdeps/x86_64/x32/shlib-versions: New file.
61992 2012-05-14  Roland McGrath  <roland@hack.frob.com>
61994         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
61995         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
61996         Use _dl_fatal_printf instead.
61998 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
62000         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
62001         set if not set by the user.  Do not allow for being unset.
62002         * sysdeps/unix/sysv/linux/configure: Regenerated.
62004 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62006         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
62007         the `q' suffix from lea and replace .quad with ASM_ADDR.
62009 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62011         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
62012         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
62013         instead of $17.
62014         (PTR_DEMANGLE): Likewise.
62016 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62018         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
62019         (LP_OP): Likewise.
62020         (ASM_ADDR): Likewise.
62021         (RAX_LP): Likewise.
62022         (RBP_LP): Likewise.
62023         (RBX_LP): Likewise.
62024         (RCX_LP): Likewise.
62025         (RDI_LP): Likewise.
62026         (RSI_LP): Likewise.
62027         (RSP_LP): Likewise.
62028         (R8_LP): Likewise.
62029         (R9_LP): Likewise.
62030         (R10_LP): Likewise.
62031         (R10_LP): Likewise.
62032         (R11_LP): Likewise.
62033         (R12_LP): Likewise.
62034         (R13_LP): Likewise.
62035         (R14_LP): Likewise.
62036         (R15_LP): Likewise.
62038 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62040         * sysdeps/x86_64/x32/dl-machine.h: New file.
62042 2012-05-14  Andreas Jaeger  <aj@suse.de>
62044         * manual/Makefile (subdir): Remove export of subdir.
62045         (all): Remove target.
62046         (.PHONY): Remove all from list.
62047         (mkinstalldirs): Remove.
62048         (.PHONY): Remove installdirs from list.
62049         ($(inst_infodir)/libc.info): Use make-target-directory.
62050         (installdirs): Remove.
62051         (subdir_%): Remove.
62052         (glibc-targets): Remove.
62053         (lib): Remove.
62054         (stubs): Remove.
62055         ($(objpfx)stubs ../po/manual.pot): Remove.
62056         ($(objpfx)stamp%): Remove.
62057         (make-target-directory): Remove.
62058         (subdir_install): Remove.
62059         (routines): Remove.
62060         (aux): Remove.
62061         (sources): Remove.
62062         (objects): Remove.
62063         (headers): Remove.
62065         [BZ #13750]
62066         * manual/.gitignore: Remove, it's not needed anymore.
62067         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
62068         all files in it.
62069         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
62070         directory.
62071         (texis): Renamed to $(objpfx)texis.
62072         (texis-path): New, contains path to generated files.
62073         (chapters.%): Use texis-path for complete path, add extra argument
62074         libc-texinfo.sh.
62075         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
62076         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
62077         (summary,texi, stamp-summary): Use complete path of
62078         files. Generate files in build dir.
62079         (dir-add.texi): Build in build dir.
62080         (libm-err.texi,stamp-libm-err): Likewise.
62081         (version.texi, stamp-version): Likewise.
62082         (.%c.texi): Likewise.
62083         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
62084         (mostlyclean): Remove target.
62085         (realclean): Remove target.
62086         (generated): Add new variable with contents from mostlyclean and
62087         realclean, remove entries duplicated in common-mostlyclean, add
62088         stamp-libm-err and stamp-version.
62089         (generated-dirs): Add libc directory.
62090         ($(inst_infodir)/libc.info): Install files from build dir.
62092         * manual/install.texi (Configuring and compiling): Adjust since
62093         the info files are not part of the tar ball anymore.
62095 2012-05-14  Andreas Jaeger  <aj@suse.de>
62097         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
62098         variable.
62100 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
62102         [BZ #13717]
62103         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
62104         to 2.2.0 where earlier.
62105         * sysdeps/unix/sysv/linux/configure: Regenerated.
62106         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
62107         Remove conditional code.
62108         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
62109         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
62110         Remove conditional code.
62111         [!__NR_lchown]: Likewise.
62112         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62113         [__NR_lchown]: Likewise.
62114         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
62115         comment referencing __ASSUME_LCHOWN_SYSCALL.
62116         * sysdeps/unix/sysv/linux/i386/sigaction.c
62117         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62118         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62119         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
62120         Remove conditional code.
62121         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
62122         (__protocol_available): Remove #if 0 code.
62123         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
62124         conditional code.
62125         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
62126         * sysdeps/unix/sysv/linux/kernel-features.h
62127         (__ASSUME_GETCWD_SYSCALL): Don't define.
62128         (__ASSUME_REALTIME_SIGNALS): Likewise.
62129         (__ASSUME_PREAD_SYSCALL): Likewise.
62130         (__ASSUME_PWRITE_SYSCALL): Likewise.
62131         (__ASSUME_POLL_SYSCALL): Likewise.
62132         (__ASSUME_LCHOWN_SYSCALL): Likewise.
62133         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
62134         non-SPARC.
62135         (__ASSUME_SIOCGIFNAME): Don't define.
62136         (__ASSUME_MSG_NOSIGNAL): Likewise.
62137         (__ASSUME_SENDFILE): Define unconditionally.
62138         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
62139         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
62140         conditional code.
62141         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
62142         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
62143         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
62144         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62145         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
62146         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
62147         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
62149         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62150         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
62152         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62153         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
62155         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62156         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
62158         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62159         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
62161         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62162         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
62164         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62165         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
62167         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62168         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
62170         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62171         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62172         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
62173         Remove conditional code.
62174         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62175         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
62176         Remove conditional code.
62177         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62178         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
62179         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
62180         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
62181         Remove conditional code.
62182         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62183         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
62184         Remove conditional code.
62185         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62186         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
62187         Remove conditional code.
62188         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62189         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
62190         Remove conditional code.
62191         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62192         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
62193         Remove conditional code.
62194         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62195         * sysdeps/unix/sysv/linux/sh/pwrite64.c
62196         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62197         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62198         * sysdeps/unix/sysv/linux/sigaction.c
62199         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62200         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62201         * sysdeps/unix/sysv/linux/sigpending.c
62202         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62203         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62204         * sysdeps/unix/sysv/linux/sigprocmask.c
62205         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62206         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62207         * sysdeps/unix/sysv/linux/sigsuspend.c
62208         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62209         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62210         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62211         (__libc_missing_rt_sigs): Remove.
62212         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
62213         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
62214         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
62215         Remove conditional code.
62216         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
62217         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
62218         return 1.
62219         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
62220         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
62221         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
62222         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
62224 2012-05-14  Andreas Jaeger  <aj@suse.de>
62226         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
62227         it's not used in glibc.
62228         (__coshm1): Likewise.
62229         (__acosh1p): Likewise.
62230         (__sgn): Likewise.
62232         * manual/string.texi (Copying and Concatenation): Add missing
62233         variable in concat example.
62234         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
62236 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62238         [BZ #14103]
62239         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
62240         __builtin_clzl with __builtin_clzll.
62242 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62244         [BZ #14104]
62245         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
62246         libc_freeres_ptr.
62248 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62250         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
62251         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
62252         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
62253         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
62255 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
62257         * NEWS: Update ia64 info.
62259 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
62261         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
62262         used as bcopy.
62264 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
62266         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
62267         * sysdeps/unix/syscalls.list (dup3): Likewise.
62268         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
62269         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
62271 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
62273         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
62274         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
62276 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
62278         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
62279         thread pointer.
62280         (TLS_IE): Use mov/add instead of movq/addq to load thread
62281         pointer.
62282         (TLS_GD_PREFIX): New.
62283         (TLS_GD): Use it.
62285 2012-05-11  David S. Miller  <davem@davemloft.net>
62287         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
62288         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
62289         (_FPU_SETCW): Likewise.
62291 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62293         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
62294         is 32-byte aligned.
62296 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
62298         [BZ #11837]
62299         * iconvdata/gb18030.c: Update tables.
62300         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
62301         characters specially.
62302         (BODY for TO_LOOP): Add encoding of missing ranges.
62304 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
62306         [BZ #13673]
62307         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
62308         * sysdeps/mach/hurd/dup3.c: Likewise.
62309         * sysdeps/mach/hurd/readlinkat.c: Likewise.
62310         * sysdeps/powerpc/memmove.c:: Likewise.
62312 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62314         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
62315         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
62317 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62319         * elf/elf.h (R_X86_64_RELATIVE64): New.
62320         (R_X86_64_NUM): Updated.
62321         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
62322         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
62323         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
62324         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
62325         tst-quad1pie tst-quad2pie
62326         (modules-names): Add tst-quadmod1 tst-quadmod2.
62327         ($(objpfx)tst-quad1): New dependency.
62328         ($(objpfx)tst-quad2): Likewise.
62329         ($(objpfx)tst-quad1pie): Likewise.
62330         ($(objpfx)tst-quad2pie): Likewise.
62331         * sysdeps/x86_64/tst-quad1.c: New file.
62332         * sysdeps/x86_64/tst-quad1pie.c: New file.
62333         * sysdeps/x86_64/tst-quad2.c: Likewise.
62334         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
62335         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
62336         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
62337         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
62338         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
62340 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62342         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
62343         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
62344         * streams/stropts.h (t_scalar_t): Define type.
62346         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
62347         (_PATH_PRESERVE): Set to "/var/lib".
62348         (_PATH_RWHODIR): Set to "/var/spool/rwho".
62350         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
62351         instead of int.
62353         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
62354         if __dir_mkfile succeeded.
62356         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
62357         checking for _hurd_dtablesize.  Unlock it right after having
62358         finished _hurd_dtable allocation.
62360 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62362         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
62363         * sysdeps/mach/hurd/configure: Regenerated.
62364         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
62365         special-casing to...
62366         * sysdeps/gnu/configure.in: ... this new file.
62367         * sysdeps/unix/sysv/linux/configure: Regenerated.
62368         * sysdeps/gnu/configure: New generated file.
62370         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
62371         for Linux: use nsec instead of usec, as well as:
62372         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
62373         members of type struct timespec.
62374         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
62375         New macros.
62376         (struct stat64): Likewise.
62377         (_STATBUF_ST_NSEC): New macro.
62378         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
62380         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62381         __strtoul_internal rather than strtoul.
62383 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62385         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
62386         and reject them.
62388 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62390         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
62391         which preserves existing values.
62392         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
62394 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62396         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
62397         TIMEOUT values.  Return EINVAL for NFDS values either negative or
62398         greater than FD_SETSIZE.
62400 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62402         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
62403         allocated, call __vm_protect to finish enabling the existing space, and
62404         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
62405         allocate the remainder.
62407 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62409         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
62410         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
62412 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62414         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
62415         sysdeps/mach/hurd/readlink.c.
62417         * posix/tst-sysconf.c (posix_options): Only use
62418         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
62419         _POSIX_SYNCHRONIZED_IO when they are defined
62420         * sysdeps/mach/hurd/bits/posix_opt.h:
62421         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
62422         (_XOPEN_REALTIME): Undefine macro.
62423         (_XOPEN_REALTIME_THREADS): Undefine macro.
62424         (_XOPEN_SHM): Undefine macro.
62425         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
62426         macro to -1.
62427         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
62428         macro to -1.
62429         (_POSIX_ASYNC_IO): Undefine macro.
62430         (_POSIX_PRIORITIZED_IO): Undefine macro.
62431         (_POSIX_SPIN_LOCKS): Define macro to -1.
62433         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
62434         SA_NODEFER, SA_RESETHAND.
62435         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
62436         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
62437         F_DUPFD_CLOEXEC.
62439 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62441         * elf/Makefile (pldd-modules): Define unconditionally.
62443 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62445         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
62447 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62449         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
62450         Return ENOENT when name is empty.
62451         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
62453 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62455         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
62457         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
62459 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62461         Fix mlock in all cases except non-readable pages.
62462         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
62463         instead of VM_PROT_ALL as parameter to __vm_wire function.
62465         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
62466         (__mkdir): When path is `/', just fail with EEXIST.
62467         * sysdeps/mach/hurd/mkdirat.c: Likewise.
62469 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62471         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
62472         <sys/uio.h> (for writev).
62473         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
62474         and <sys/param.h> (for MIN).
62476 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62478         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
62479         REQUESTED_TIME.  Properly set the remaining time and return EINTR
62480         if interrupted.
62482 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62484         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
62485         Depend on against $(link-rpcuserlibs).
62487 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62489         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
62490         (__libc_stack_end): Do not use attribute_relro.
62491         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
62492         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
62493         to libthread-provided value.
62494         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
62495         attribute_relro.
62497 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62499         [BZ #3748]
62500         * bits/libc-lock.h (__libc_once_get): New macro.
62501         * sysdeps/mach/bits/libc-lock.h: Likewise.
62502         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
62503         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
62504         instead of using implementation details.
62506         * libio/fileops.c: Unconditionally include <kernel-features.h>.
62507         * libio/freopen.c: Likewise.
62508         * libio/freopen64.c: Likewise.
62509         * misc/syslog.c: Likewise.
62510         * nscd/connections.c: Likewise.
62511         * nscd/netgroupcache.c: Likewise.
62512         * sysdeps/posix/getcwd.c: Likewise.
62514 2012-05-10  Roland McGrath  <roland@hack.frob.com>
62516         * math/w_ilogbf.c: Add #include <limits.h>.
62518 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62520         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
62521         path instead of returning without unlocking.
62523         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
62524         immediate-write ioctls.
62525         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
62527 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62529         * sysdeps/mach/hurd/i386/init-first.c (init): Use
62530         __builtin_frame_address instead of making assumptions about the
62531         location of the return address relative to DATA.  Force early load of
62532         the return address.
62533         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
62534         __builtin_frame_address.
62536         dup3 for GNU Hurd.
62537         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
62538         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
62539         implement dup3 and do some further code clean-ups.
62540         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
62541         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
62543 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62545         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
62547         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
62548         HURD_CRITICAL_END around holding _hurd_dtable_lock.
62549         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
62550         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
62551         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
62552         d->port.lock.
62554         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
62555         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
62556         when handler == SIG_ERR, not when handler != SIG_ERR.
62558 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62560         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
62561         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
62562         definitions.
62564         accept4 for GNU Hurd.
62565         * include/sys/socket.h (__libc_accept4): New prototype.
62566         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
62567         to implement __libc_accept4.
62568         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
62569         __libc_accept4.
62570         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
62572         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
62573         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
62574         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
62575         signal-defines.sym.
62577 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62579         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
62581 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62583         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
62584         assertion on O_CLOEXEC flag.
62585         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
62586         * hurd/intern-fd.c: Likewise.
62587         * hurd/port2fd.c: Likewise.
62589 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62591         [BZ #3906]
62592         * bits/in.h (IPV6_PKTINFO): Define new macro.
62593         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
62595 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62597         [BZ #13954]
62598         [BZ #13955]
62599         [BZ #13956]
62600         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
62601         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62602         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
62603         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62604         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62605         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62606         * math/libm-test.inc (logb_test) : Additional logb tests.
62608 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
62609             Andreas Jaeger  <aj@suse.de>
62611         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
62612         * configure: Regenerated.
62613         * config.h.in (LINK_OBSOLETE_RPC): New macro.
62614         * config.make.in (link-obsolete-rpc): New substituted variable.
62615         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
62616         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
62617         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62618         (shared-only-routines): Don't set it under [link-obsolete-rpc],
62619         so that libc.a contains the symbols.
62620         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62621         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
62622         * sunrpc/auth_none.c: Likewise.
62623         * sunrpc/auth_unix.c: Likewise.
62624         * sunrpc/authdes_prot.c: Likewise.
62625         * sunrpc/authuxprot.c: Likewise.
62626         * sunrpc/clnt_gen.c: Likewise.
62627         * sunrpc/clnt_perr.c: Likewise.
62628         * sunrpc/clnt_raw.c: Likewise.
62629         * sunrpc/clnt_simp.c: Likewise.
62630         * sunrpc/clnt_tcp.c: Likewise.
62631         * sunrpc/clnt_udp.c: Likewise.
62632         * sunrpc/clnt_unix.c: Likewise.
62633         * sunrpc/des_crypt.c: Likewise.
62634         * sunrpc/des_soft.c: Likewise.
62635         * sunrpc/get_myaddr.c: Likewise.
62636         * sunrpc/key_call.c: Likewise.
62637         * sunrpc/key_prot.c: Likewise.
62638         * sunrpc/netname.c: Likewise.
62639         * sunrpc/pm_getmaps.c: Likewise.
62640         * sunrpc/pm_getport.c: Likewise.
62641         * sunrpc/pmap_clnt.c: Likewise.
62642         * sunrpc/pmap_prot.c: Likewise.
62643         * sunrpc/pmap_prot2.c: Likewise.
62644         * sunrpc/pmap_rmt.c: Likewise.
62645         * sunrpc/publickey.c: Likewise.
62646         * sunrpc/rpc_cmsg.c: Likewise.
62647         * sunrpc/rpc_common.c: Likewise.
62648         * sunrpc/rpc_dtable.c: Likewise.
62649         * sunrpc/rpc_prot.c: Likewise.
62650         * sunrpc/rpc_thread.c: Likewise.
62651         * sunrpc/rtime.c: Likewise.
62652         * sunrpc/svc.c: Likewise.
62653         * sunrpc/svc_auth.c: Likewise.
62654         * sunrpc/svc_raw.c: Likewise.
62655         * sunrpc/svc_run.c: Likewise.
62656         * sunrpc/svc_tcp.c: Likewise.
62657         * sunrpc/svc_udp.c: Likewise.
62658         * sunrpc/svc_unix.c: Likewise.
62659         * sunrpc/svcauth_des.c: Likewise.
62660         * sunrpc/xcrypt.c: Likewise.
62661         * sunrpc/xdr.c: Likewise.
62662         * sunrpc/xdr_array.c: Likewise.
62663         * sunrpc/xdr_float.c: Likewise.
62664         * sunrpc/xdr_intXX_t.c: Likewise.
62665         * sunrpc/xdr_mem.c: Likewise.
62666         * sunrpc/xdr_rec.c: Likewise.
62667         * sunrpc/xdr_ref.c: Likewise.
62668         * sunrpc/xdr_sizeof.c: Likewise.
62669         * sunrpc/xdr_stdio.c: Likewise.
62671 2012-05-10  Roland McGrath  <roland@hack.frob.com>
62673         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
62674         change.  Update copyright years.
62676 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62678         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
62680 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
62681             Joseph Myers  <joseph@codesourcery.com>
62682             Paul Pluzhnikov  <ppluzhnikov@google.com>
62684         [BZ #14012]
62685         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
62686         requiring rpcgen.
62687         [cross-compiling] (extra-libs): Likewise.
62688         [cross-compiling] (extra-libs-others): Likewise.
62689         [cross-compiling] (librpcsvc-routines): Likewise.
62690         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
62691         [cross-compiling] (omit-deps): Likewise.
62692         (sunrpc-CPPFLAGS): New variable.
62693         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
62694         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
62695         (cross-rpcgen-objs): New variable.
62696         (extra-objs): Append $(cross-rpcgen-objs).
62697         ($(cross-rpcgen-objs)): New rule.
62698         ($(objpfx)cross-rpcgen): Likewise.
62699         (rpcgen-cmd): Define to use $(built-program-file).  Expand
62700         comment.
62701         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
62702         ($(objpfx)x%.stmp): Likewise.
62703         * sunrpc/proto.h [IS_IN_build] (_): Define.
62704         [IS_IN_build] (_libc_intl_domainname): Likewise.
62706 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62708         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
62709         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
62710         and R_X86_64_TPOFF64.
62712 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62714         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
62715         sysdeps/unix/sysv/syscalls.list.
62716         (stime): Likewise.
62717         (utime): Likewise.
62718         * sysdeps/unix/sysv/syscalls.list: Remove file.
62720 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
62722         [BZ #3440]
62723         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
62724         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
62725         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
62726         (__LC_IDENTIFICATION): Make these macros useful in #if
62727         expressions, as required by C99.
62729 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
62731         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
62732         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
62733         after this.
62735 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
62737         * stdlib/longlong.h: Updated from GCC.
62739 2012-05-09  Andreas Jaeger  <aj@suse.de>
62741         * nscd/nscd.c (run_modes): Make named enum, reorder so that
62742         default is first entry.
62743         (run_mode): Set type.
62744         (main): Remove informal message about syslog.
62745         (options): Fix typo.
62747         [BZ #14053]
62748         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
62749         to asm.
62750         (lrint): Likewise.
62751         (llrintf): Likewise.
62752         (llrint): Likewise.
62753         (rint): Likewise.
62754         (rintf): Likewise.
62755         (nearbyint): Likewise.
62756         (nearbyintf): Likewise.
62758 2012-05-09  Andreas Jaeger  <aj@suse.de>
62759             Pedro Alves  <palves@redhat.com>
62761         * nscd/nscd.c (run_mode): Use enum.
62762         (main): Cleanup coding style issue.
62764 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
62765             Andreas Jaeger  <aj@suse.de>
62767         * nscd/nscd.c (go_background): Replaced with...
62768         (run_mode): ... this.
62769         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
62770         (options): Add -F --foreground.
62771         (main): Implement it.
62772         (parse_opt): Parse it.
62774 2012-05-09  Andreas Jaeger  <aj@suse.de>
62776         [BZ #14083]
62777         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
62778         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
62779         -Wconversion warning.
62780         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
62781         Likewise.
62783 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
62785         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
62786         == 0.
62787         (LC_ALL): Use macro-int-constant.
62788         (LC_COLLATE): Likewise.
62789         (LC_CTYPE): Likewise.
62790         (LC_MESSAGES): Likewise.
62791         (LC_MONETARY): Likewise.
62792         (LC_NUMERIC): Likewise.
62793         (LC_TIME): Likewise.
62794         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
62795         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
62796         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62797         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
62798         Specify type.
62799         [C99-based standards] (float_t): Expect type.
62800         [C99-based standards] (double_t): Expect type.
62801         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
62802         type.
62803         [C99-based standards] (HUGE_VALL): Likewise.
62804         [C99-based standards] (INFINITY): Likewise.
62805         [C99-based standards] (NAN): Likewise.
62806         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
62807         [C99-based standards] (FP_NAN): Likewise.
62808         [C99-based standards] (FP_NORMAL): Likewise.
62809         [C99-based standards] (FP_SUBNORMAL): Likewise.
62810         [C99-based standards] (FP_ZERO): Likewise.
62811         [C99-based standards] (FP_FAST_FMA): Use
62812         optional-macro-int-constant.  Specify type.  Require == 1.
62813         [C99-based standards] (FP_FAST_FMAF): Likewise.
62814         [C99-based standards] (FP_FAST_FMAL): Likewise.
62815         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
62816         [C99-based standards] (FP_ILOGBNAN): Likewise.
62817         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
62818         Specify type.
62819         [C99-based standards] (MATH_ERREXCEPT): Likewise.
62820         [C99-based standards] (math_errhandling): Specify type.
62821         [ISO99 || ISO11] (signgam): Do not allow.
62822         [non-C99-based standards] (copysignf): Do not allow.
62823         [non-C99-based standards] (exp2f): Likewise.
62824         [non-C99-based standards] (log2f): Likewise.
62825         [non-C99-based standards] (modff): Allow.
62826         [non-C99-based standards] (erff): Do not allow.
62827         [non-C99-based standards] (erfcf): Likewise.
62828         [non-C99-based standards] (gammaf): Likewise.
62829         [non-C99-based standards] (hypotf): Likewise.
62830         [non-C99-based standards] (j0f): Likewise.
62831         [non-C99-based standards] (j1f): Likewise.
62832         [non-C99-based standards] (jnf): Likewise.
62833         [non-C99-based standards] (lgammaf): Likewise.
62834         [non-C99-based standards] (tgammaf): Likewise.
62835         [non-C99-based standards] (y0f): Likewise.
62836         [non-C99-based standards] (y1f): Likewise.
62837         [non-C99-based standards] (ynf): Likewise.
62838         [non-C99-based standards] (isnanf): Likewise.
62839         [non-C99-based standards] (acoshf): Likewise.
62840         [non-C99-based standards] (asinhf): Likewise.
62841         [non-C99-based standards] (atanhf): Likewise.
62842         [non-C99-based standards] (cbrtf): Likewise.
62843         [non-C99-based standards] (expm1f): Likewise.
62844         [non-C99-based standards] (ilogbf): Likewise.
62845         [non-C99-based standards] (log1pf): Likewise.
62846         [non-C99-based standards] (logbf): Likewise.
62847         [non-C99-based standards] (nextafterf): Likewise.
62848         [non-C99-based standards] (remainderf): Likewise.
62849         [non-C99-based standards] (rintf): Likewise.
62850         [non-C99-based standards] (scalbf): Likewise.
62851         [non-C99-based standards] (copysignl): Likewise.
62852         [non-C99-based standards] (exp2l): Likewise.
62853         [non-C99-based standards] (log2l): Likewise.
62854         [non-C99-based standards] (modfl): Allow.
62855         [non-C99-based standards] (erfl): Do not allow.
62856         [non-C99-based standards] (erfcl): Likewise.
62857         [non-C99-based standards] (gammal): Likewise.
62858         [non-C99-based standards] (hypotl): Likewise.
62859         [non-C99-based standards] (j0l): Likewise.
62860         [non-C99-based standards] (j1l): Likewise.
62861         [non-C99-based standards] (jnl): Likewise.
62862         [non-C99-based standards] (lgammal): Likewise.
62863         [non-C99-based standards] (tgammal): Likewise.
62864         [non-C99-based standards] (y0l): Likewise.
62865         [non-C99-based standards] (y1l): Likewise.
62866         [non-C99-based standards] (ynl): Likewise.
62867         [non-C99-based standards] (isnanl): Likewise.
62868         [non-C99-based standards] (acoshl): Likewise.
62869         [non-C99-based standards] (asinhl): Likewise.
62870         [non-C99-based standards] (atanhl): Likewise.
62871         [non-C99-based standards] (cbrtl): Likewise.
62872         [non-C99-based standards] (expm1l): Likewise.
62873         [non-C99-based standards] (ilogbl): Likewise.
62874         [non-C99-based standards] (log1pl): Likewise.
62875         [non-C99-based standards] (logbl): Likewise.
62876         [non-C99-based standards] (nextafterl): Likewise.
62877         [non-C99-based standards] (remainderl): Likewise.
62878         [non-C99-based standards] (rintl): Likewise.
62879         [non-C99-based standards] (scalbl): Likewise.
62880         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62881         [non-C99-based standards] (FP_*): Do not allow.
62882         [C99-based standards] (FP_*): Change to
62883         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
62884         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62885         allow.
62886         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
62887         (SIG_ERR): Likewise.
62888         [X/Open-based standards] (SIG_HOLD): Likewise.
62889         (SIG_IGN): Likewise.
62890         (SIGABRT): Use macro-int-constant.  Specify type.  Require
62891         positive value.
62892         (SIGFPE): Likewise.
62893         (SIGILL): Likewise.
62894         (SIGINT): Likewise.
62895         (SIGSEGV): Likewise.
62896         (SIGTER): Likewise.
62897         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
62898         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
62899         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
62900         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
62901         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
62902         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
62903         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
62904         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
62905         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
62906         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
62907         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
62908         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
62909         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
62910         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
62911         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
62912         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
62913         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
62914         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
62915         [X/Open-based standards] (SIGTRAP): Likewise.
62916         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
62917         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
62918         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
62919         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
62920         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62921         allow.
62923 2012-05-08  Ian Wienand  <ianw@vmware.com>
62925         [BZ #14080]
62926         * time/tzset.c (__tzset_parse_tz): Update default rules for
62927         daylight time changes in the Energy Policy Act of 2005.
62929 2012-05-09  Andreas Jaeger  <aj@suse.de>
62931         [BZ #13983]
62932         * elf/ldconfig.c (parse_conf): Change string to make clear that
62933         ldconfig only issued a warning if ld.so.conf does not exist.
62935 2012-05-08  David S. Miller  <davem@davemloft.net>
62937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
62938         movxtod instead of popping the value on the stack.
62940         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62942 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
62944         * config.h.in: Add HAVE_ARM_PCS_VFP.
62946 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
62948         [BZ #13979]
62949         * include/features.h: Warn if user requests __FORTIFY_SOURCE
62950         checking but the checks are disabled for any reason.
62952 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
62954         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
62955         and ELF64_R_TYPE with ELFW(R_TYPE).
62957 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
62959         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
62960         (ulimit): Likewise.
62962         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
62963         (settimeofday): Likewise.
62965 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
62967         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
62968         a struct th_u2 inside the union, and move tu_block/tu_code into
62969         a new th_u3 union of tu_block/tu_code inside of that.  Move
62970         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
62971         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
62972         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
62973         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
62974         (th_stuff): Change to th_u1.tu_stuff.
62975         (th_data): Define.
62976         (th_msg): Change to th_u1.th_u2.tu_data.
62978 2012-05-07  David S. Miller  <davem@davemloft.net>
62980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62982         [BZ #14074]
62983         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
62984         (SETUP_PIC_REG): Use it.
62985         (SETUP_PIC_REG_LEAF): Use it.
62987 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
62989         [BZ #13885]
62990         [BZ #13923]
62991         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62992         USE_AS_EXPM1L.
62993         (EXPL_FINITE): Likewise.
62994         (FLDLOG): Likewise.
62995         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
62996         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
62997         e_expl.S.
62998         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62999         USE_AS_EXPM1L.
63000         (EXPL_FINITE): Likewise.
63001         (FLDLOG): Likewise.
63002         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
63003         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
63004         e_expl.S.
63005         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
63006         test of -max_value argument for long double.
63007         * sysdeps/i386/fpu/libm-test-ulps: Update.
63008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63010 2012-05-06  David S. Miller  <davem@davemloft.net>
63012         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
63013         quad soft-float symbols whose references which are compiler
63014         generated.
63015         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
63017 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
63019         [BZ #13884]
63020         [BZ #13914]
63021         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63022         USE_AS_EXP10L.
63023         (EXPL_FINITE): Likewise.
63024         (FLDLOG): Likewise.
63025         (c0): Likewise.
63026         (c1): Likewise.
63027         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
63028         Adjust comments for base varying.
63029         (__expl_finite): Change alias to EXPL_FINITE.
63030         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
63031         e_expl.S.
63032         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
63033         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
63034         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
63035         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
63036         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63037         USE_AS_EXP10L.
63038         (EXPL_FINITE): Likewise.
63039         (FLDLOG): Likewise.
63040         (c0): Likewise.
63041         (c1): Likewise.
63042         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
63043         Adjust comments for base varying.
63044         (__expl_finite): Change alias to EXPL_FINITE.
63045         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
63046         tests for bugs.
63047         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63049         [BZ #14064]
63050         * math/libm-test.inc (check_float_internal): Correct ulp
63051         calculation for subnormal expected results.
63053 2012-05-06  Andreas Jaeger  <aj@suse.de>
63055         * Makeconfig (+math-flags): New, set to -frounding-math.
63056         (+cflags): Add +math-flags so that all of glibc gets compiled with
63057         it.
63059         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
63061 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
63063         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
63064         Disable one test.
63066         [BZ #13787]
63067         [BZ #13922]
63068         [BZ #14036]
63069         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
63070         (__ieee754_expl): Allow for and saturate large arguments.
63071         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
63072         (u_threshold): Likewise.
63073         (__exp): Call __ieee754_exp before checking for overflow and
63074         underflow.
63075         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
63076         (u_threshold): Likewise.
63077         (__expf): Call __ieee754_expf before checking for overflow and
63078         underflow.
63079         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
63080         (u_threshold): Likewise.
63081         (__expl): Call __ieee754_expl before checking for overflow and
63082         underflow.
63083         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
63084         (__ieee754_expl): Allow for and saturate large arguments.
63085         * math/libm-test.inc (exp_test): Add another test.  Do not allow
63086         missing overflow exception on overflow.
63087         (expm1_test): Do not allow missing overflow exception on overflow.
63089         * sysdeps/i386/fpu/e_expl.c: Move to ...
63090         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
63091         rather than using inline asm.
63092         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
63093         * sysdeps/x86_64/fpu/e_expl.S: Copy from
63094         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
63096         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
63097         (nice): Likewise.
63098         (poll): Likewise.
63099         (signal): Likewise.
63100         (time): Likewise.
63101         (times): Likewise.
63103 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63105         * sysdeps/unix/syscalls.list (adjtime): Add entry from
63106         sysdeps/unix/common/syscalls.list.
63107         (fchmod): Likewise.
63108         (fchown): Likewise.
63109         (ftruncate): Likewise.
63110         (getrusage): Likewise.
63111         (gettimeofday): Likewise.
63112         (setpgid): Likewise.
63113         (setregid): Likewise.
63114         (setreuid): Likewise.
63115         (sigaction): Likewise.
63116         (truncate): Likewise.
63117         (vhangup): Likewise.
63118         * sysdeps/unix/common/syscalls.list: Remove file.
63119         * sysdeps/unix/bsd/Implies: Don't include unix/common.
63120         * sysdeps/unix/sysv/linux/Implies: Likewise.
63122 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
63124         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
63125         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
63126         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
63127         Moved to ...
63128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
63129         Here.
63130         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
63131         to ...
63132         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
63133         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
63134         to ...
63135         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
63136         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
63137         to ...
63138         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
63139         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
63140         to ...
63141         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
63142         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
63143         to ...
63144         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
63145         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
63146         to ...
63147         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
63148         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
63149         to ...
63150         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
63151         Here.
63152         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
63153         to ...
63154         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
63155         Here.
63156         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
63157         to ...
63158         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
63159         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
63160         Moved to ...
63161         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
63162         Here.
63163         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
63164         to ...
63165         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
63167 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63169         * sysdeps/unix/common/bits/dirent.h: Remove file.
63170         * sysdeps/unix/common/bits/fcntl.h: Likewise.
63172         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
63173         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
63174         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
63175         * sysdeps/unix/bsd/isatty.c: Likewise.
63176         * sysdeps/unix/bsd/tcdrain.c: Likewise.
63177         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
63178         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
63180 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63182         [BZ #13563]
63183         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
63184         long double comparison inaccuracies.
63185         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
63186         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63188 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
63190         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
63191         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
63193 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63195         [BZ #14049]
63196         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
63197         nonzero digits before rounding a hex value.
63198         * stdlib/tst-strtod.c (tests): Add another test.
63200 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63202         * sysdeps/s390/fpu/libm-test-ulps: Update.
63204 2012-05-03  Andreas Jaeger  <aj@suse.de>
63206         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
63207         does not get optimized out.
63208         (malloc_opt_barrier): New.
63210 2012-05-03  Andreas Jaeger  <aj@suse.de>
63211             Roland McGrath  <roland@hack.frob.com>
63213         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
63214         intermediate file deletion.
63215         (generated): Add .symlist files.
63217 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
63219         [BZ #13775]
63220         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
63221         Redirect under this condition.
63222         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
63223         [__USE_GNU] (__dprintf_chk): Not under this condition.
63224         [__USE_GNU] (__vdprintf_chk): Likewise.
63225         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
63226         under this condition.
63227         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
63228         [__USE_XOPEN2K8] (dprintf): Define under this condition.
63229         [__USE_XOPEN2K8] (vdprintf): Likewise.
63230         [__USE_GNU] (__dprintf_chk): Not under this condition.
63231         [__USE_GNU] (__vdprintf_chk): Likewise.
63232         [__USE_GNU] (dprintf): Likewise.
63233         [__USE_GNU] (vdprintf): Likewise.
63235 2012-05-03  Roland McGrath  <roland@hack.frob.com>
63237         * elf/Makefile (common-generated): Set this instead of generated for
63238         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
63239         $(all-built-dso)-derived lists.
63241 2012-05-03  Andreas Jaeger  <aj@suse.de>
63243         * sysdeps/i386/fpu/libm-test-ulps: Update.
63245         * FAQ: Removed.
63246         * FAQ.in: Likewise.
63247         * scripts/gen-FAQ.pl: Likewise.
63248         * manual/install.texi (Installation): Point to online location of
63249         FAQ.
63250         * Makefile (files-for-dist): Remove FAQ.
63251         (FAQ): Remove.
63253 2012-05-02  Allan McRae  <allan@archlinux.org>
63255         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
63256         (LDFLAGS-reldepmod5.so): Likewise.
63257         (LDFLAGS-reldep6mod1.so): Likewise.
63258         (LDFLAGS-reldep6mod4.so): Likewise.
63259         (LDFLAGS-reldep8mod3.so): Likewise.
63260         (LDFLAGS-unload4mod1.so): Likewise.
63261         (LDFLAGS-unload4mod2.so): Likewise.
63262         (LDFLAGS-tst-initorder): Likewise.
63263         (LDFLAGS-tst-initordera2.so): Likewise.
63264         (LDFLAGS-tst-initordera3.so): Likewise.
63265         (LDFLAGS-tst-initordera4.so): Likewise.
63266         (LDFLAGS-tst-initorderb2.so): Likewise.
63267         (LDFLAGS-noload): Likewise.
63268         (LDFLAGS-next): Likewise.
63269         (LDFLAGS-order2mod1.so): Likewise.
63270         (LDFLAGS-order2mod2.so): Likewise.
63271         (LDFLAGS-tst-initorder2): Likewise.
63272         (LDFLAGS-tst-initorder2a.so): Likewise.
63273         (LDFLAGS-tst-initorder2b.so): Likewise.
63274         (LDFLAGS-tst-initorder2c.so): Likewise.
63275         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
63277 2012-05-02  David S. Miller  <davem@davemloft.net>
63279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63281 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
63283         [BZ #14055]
63284         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
63286 2012-05-02  Andreas Jaeger  <aj@suse.de>
63288         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
63289         since we manipulate rounding mode.
63290         (CPPFLAGS-test-idouble.c): Likewise.
63291         (CPPFLAGS-test-ifloat.c): Likewise.
63292         (CFLAGS-test-ldouble.c): Likewise.
63293         (CFLAGS-test-double.c): Likewise.
63294         (CFLAGS-test-float.c): Likewise.
63295         (CFLAGS-test-misc.c): Likewise.
63296         (CFLAGS-test-test-fenv.c): Likewise.
63298 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63300         [BZ #2550]
63301         [BZ #2570]
63302         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
63303         comparisons to determine direction to adjust input.
63305 2012-05-01  Roland McGrath  <roland@hack.frob.com>
63307         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
63308         output to the target.
63310         * scripts/localplt.awk: New file.
63311         * elf/Makefile ($(objpfx)check-localplt): Target removed.
63312         (check-localplt-CFLAGS): Variable removed.
63313         ($(all-built-dso:=.jmprel)): New static pattern rule.
63314         (generated): Add those targets.
63315         (localplt-built-dso): New variable.
63316         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
63318         * elf/check-localplt.c: File removed.
63320         * scripts/check-execstack.awk: New file.
63321         * elf/Makefile ($(objpfx)check-execstack): Target removed.
63322         (check-execstack-CFLAGS): Variable removed.
63323         ($(objpfx)check-execstack.h): Target removed.
63324         ($(objpfx)execstack-default): New target.
63325         (generated): Add that instead of check-execstack.h.
63326         ($(all-built-dso:=.phdr)): New static pattern rule.
63327         (generated): Add those targets.
63328         * elf/check-execstack.c: File removed.
63330         * scripts/check-textrel.awk: New file.
63331         * elf/Makefile ($(objpfx)check-textrel): Target removed.
63332         (check-textrel-CFLAGS): Variable removed.
63333         (all-built-dso): Use := to define.o
63334         ($(all-built-dso:=.dyn)): New static pattern rule.
63335         (generated): Add those targets.
63336         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
63337         * config.make.in (READELF): New substituted variable.
63338         * elf/check-textrel.c: File removed.
63340 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
63342         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63343         allow.
63344         * conform/data/ctype.h-data [C99-based standards] (isblank):
63345         Expect function.
63346         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
63347         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
63348         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63349         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
63350         Specify type.  Require positive value.
63351         (EILSEQ): Likewise.
63352         (ERANGE): Likewise.
63353         [ISO || POSIX] (EILSEQ): Do not expect.
63354         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
63355         Specify type.  Require positive value.
63356         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
63357         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
63358         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
63359         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
63360         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
63361         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
63362         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
63363         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
63364         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
63365         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
63366         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
63367         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
63368         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
63369         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
63370         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
63371         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
63372         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
63373         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
63374         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
63375         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
63376         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
63377         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
63378         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
63379         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
63380         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
63381         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
63382         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
63383         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
63384         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
63385         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
63386         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
63387         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
63388         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
63389         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
63390         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
63391         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
63392         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
63393         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
63394         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
63395         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
63396         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
63397         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
63398         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
63399         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
63400         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
63401         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
63402         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
63403         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
63404         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
63405         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
63406         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
63407         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
63408         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
63409         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
63410         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
63411         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
63412         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
63413         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
63414         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
63415         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
63416         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
63417         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
63418         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
63419         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
63420         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
63421         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
63422         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
63423         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
63424         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
63425         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
63426         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
63427         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
63428         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
63429         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
63430         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
63431         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
63432         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
63433         Require >= 2.
63434         (FLT_ROUNDS): Expect as macro, not constant.
63435         (FLT_MANT_DIG): Use macro-int-constant.
63436         (DBL_MANT_DIG): Likewise.
63437         (LDBL_MANT_DIG): Likewise.
63438         (FLT_DIG): Likewise.
63439         (DBL_DIG): Likewise.
63440         (LDBL_DIG): Likewise.
63441         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
63442         (DBL_MIN_EXP): Likewise.
63443         (LDBL_MIN_EXP): Likewise.
63444         (FLT_MAX_EXP): Use macro-int-constant.
63445         (DBL_MAX_EXP): Likewise.
63446         (LDBL_MAX_EXP): Likewise.
63447         (FLT_MAX_10_EXP): Likewise.
63448         (DBL_MAX_10_EXP): Likewise.
63449         (LDBL_MAX_10_EXP): Likewise.
63450         (FLT_MAX): Use macro-constant.
63451         (DBL_MAX): Likewise.
63452         (LDBL_MAX): Likewise.
63453         (FLT_EPSILON): Use macro-constant.  Give upper bound.
63454         (DBL_EPSILON): Likewise.
63455         (LDBL_EPSILON): Likewise.
63456         (FLT_MIN): Likewise.
63457         (DBL_MIN): Likewise.
63458         (LDBL_MIN): Likewise.
63459         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
63460         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
63461         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
63462         [ISO11] (FLT_HAS_SUBNORM): Likewise.
63463         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
63464         [ISO11] (DBL_DECIMAL_DIG): Likewise.
63465         [ISO11] (FLT_DECIMAL_DIG): Likewise.
63466         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
63467         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
63468         [ISO11] (FLT_TRUE_MIN): Likewise.
63469         [ISO11] (LDBL_TRUE_MIN): Likewise.
63470         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63471         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
63472         (SCHAR_MIN): Use macro-int-constant.  Specify type.
63473         (SCHAR_MAX): Likewise.
63474         (UCHAR_MAX): Likewise.
63475         (CHAR_MIN): Likewise.
63476         (CHAR_MAX): Likewise.
63477         (MB_LEN_MAX): Use macro-int-constant.
63478         (SHRT_MIN): Use macro-int-constant.  Specify type.
63479         (SHRT_MAX): Likewise.
63480         (USHRT_MAX): Likewise.
63481         (INT_MAX): Likewise.
63482         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
63483         bound negative.
63484         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63485         bound with "U".
63486         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63487         bound with "L".
63488         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
63489         bound negative.  Suffix upper bound with "L".
63490         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63491         bound with "UL".
63492         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
63493         Specify type.
63494         [C99-based standards] (LLONG_MAX): Likewise.
63495         [C99-based standards] (ULLONG_MAX): Likewise.
63496         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
63497         == 0.
63498         [ISO11] (max_align_t): Require type.
63499         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63501         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
63502         from $CFLAGS, without defining away __attribute__ calls.
63503         (checknamespace): Use $CFLAGS_namespace.
63505         * conform/conformtest.pl (@keywords): Only include C99 keywords
63506         for standards based on C99 or C11.
63508         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
63509         Disable tests.
63510         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
63511         UNIX98]: Likewise.
63513         * conform/conformtest.pl: Handle "macro-int-constant" and test for
63514         usability of symbols in #if.
63516         * conform/conformtest.pl: If macro or constant types start
63517         "promoted:", expect the symbol to be of the following type
63518         promoted by the integer promotions.
63520         * conform/conformtest.pl: Parse all "constant" and "macro" lines
63521         in one place.  Also handle "macro-constant".
63523         * conform/conformtest.pl: Only accept expected macro values with
63524         "==".  Parse all "macro" lines in one place.
63525         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
63527         * conform/conformtest.pl: Handle braced types on "constant" lines
63528         instead of handling "typed-constant".
63529         * conform/data/signal.h-data: Use "constant" instead of
63530         "typed-constant".
63532         * conform/conformtest.pl: Handle "optional-" at start of lines in
63533         one place rather than duplicating several cases.  Handle each
63534         format of "macro" line with initial "optional-".
63536         * conform/conformtest.pl: Only accept expected constant or
63537         optional-constant values with "==".  Parse all "constant" lines in
63538         one place.  Parse all "optional-constant" lines in one place.
63539         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
63540         * conform/data/fmtmsg.h-data: Likewise.
63541         * conform/data/netinet/in.h-data: Likewise.
63542         * conform/data/tar.h-data: Likewise.
63543         * conform/data/limits.h-data: Use "==" form on "constant" and
63544         "optional-constant" lines.
63546         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
63547         Use -std=c99 for XOPEN2K.
63548         (@knownproblems): Remove.
63549         (newtoken): Don't check %isknown.
63551         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
63552         Do not expect macro.
63553         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
63554         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
63555         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
63556         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
63557         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
63558         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
63559         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
63560         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
63561         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
63562         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
63563         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
63564         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
63565         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
63566         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
63567         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
63568         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
63569         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
63570         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
63571         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
63572         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
63573         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
63574         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
63575         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
63576         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
63577         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
63578         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
63579         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
63580         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
63581         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
63582         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
63583         [XPG3] (acosh): Likewise.
63584         [XPG3] (asinh): Likewise.
63585         [XPG3] (atanh): Likewise.
63586         [XPG3] (cbrt): Likewise.
63587         [XPG3] (expm1): Likewise.
63588         [XPG3] (ilogb): Likewise.
63589         [XPG3] (log1p): Likewise.
63590         [XPG3] (logb): Likewise.
63591         [XPG3] (nextafter): Likewise.
63592         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
63593         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
63594         [XPG3] (remainder): Likewise.
63595         [XPG3] (rint): Likewise.
63596         [XPG3 || XPG4 || UNIX98] (round): Likewise.
63597         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
63598         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
63599         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
63600         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
63601         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
63602         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
63603         [UNIX98 || XOPEN2K] (scalb): Expect.
63604         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
63605         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
63606         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
63607         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
63608         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
63609         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
63610         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
63611         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
63612         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
63613         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
63614         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
63615         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
63616         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
63617         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
63618         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
63619         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
63620         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
63621         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
63622         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
63623         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
63624         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
63625         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
63626         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
63627         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
63628         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
63629         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
63630         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
63631         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
63632         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
63633         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
63634         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
63635         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
63636         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
63637         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
63638         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
63639         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
63640         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
63641         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
63642         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
63643         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
63644         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
63645         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
63646         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
63647         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
63648         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
63649         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
63650         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
63651         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
63652         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
63653         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
63654         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
63655         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
63656         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
63657         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
63658         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
63659         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
63660         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
63661         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
63662         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
63663         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
63664         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
63665         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
63666         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
63667         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
63668         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
63669         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
63670         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
63671         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
63672         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
63673         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
63674         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
63675         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
63676         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
63677         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
63678         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
63679         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
63680         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
63681         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
63682         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
63683         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
63684         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
63685         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
63686         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
63687         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
63688         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
63689         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
63690         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
63691         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
63692         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
63693         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
63694         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
63695         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
63696         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
63697         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
63698         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
63699         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
63700         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
63701         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
63702         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
63703         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
63704         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
63705         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
63706         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
63707         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
63708         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
63709         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
63710         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
63711         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
63712         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
63713         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
63714         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
63715         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
63716         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
63717         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
63718         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
63719         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
63720         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
63721         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
63722         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
63723         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
63724         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
63725         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
63726         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
63727         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
63728         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
63729         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
63730         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
63731         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
63732         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
63733         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
63734         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
63735         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
63736         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
63737         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
63738         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
63739         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
63740         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
63742         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
63743         _XOPEN_SOURCE_EXTENDED for XPG4.
63745         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
63747         * Makeconfig (localtime): Remove variable.
63748         (inst_localtime-file): Likewise.
63750 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
63752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
63753         Update.
63754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63755         Update.
63756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
63757         Update.
63758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
63759         Update.
63760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
63761         Update.
63762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
63763         Update.
63764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63765         Update.
63766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
63767         Update.
63768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63769         Update.
63771 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
63773         [BZ #2550]
63774         [BZ #2570]
63775         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
63776         comparisons to determine direction to adjust input.
63777         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
63778         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
63779         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
63780         Likewise.
63781         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
63782         Likewise.
63783         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
63784         Likewise.
63785         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
63786         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
63787         Likewise.
63788         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
63789         Likewise.
63790         * math/libm-test.inc (nexttoward_test): Add more tests.
63792 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
63794         [BZ #14040]
63795         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
63796         in version GLIBC_2.1, not GLIBC_2.0.
63797         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
63798         Likewise.
63800 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
63802         [BZ #13942]
63803         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
63804         (1 - x) * (1 + x).
63805         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
63806         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
63807         * math/libm-test.inc (acos_test): Add more tests.
63808         (asin_test): Likewise.
63809         * sysdeps/i386/fpu/libm-test-ulps: Update.
63810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63812         [BZ #14034]
63813         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
63814         of square root.
63815         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
63816         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
63817         * math/libm-test.inc (acos_test_tonearest): New function.
63818         (acos_test_towardzero): Likewise.
63819         (acos_test_downward): Likewise.
63820         (acos_test_upward): Likewise.
63821         (asin_test_tonearest): Likewise.
63822         (asin_test_towardzero): Likewise.
63823         (asin_test_downward): Likewise.
63824         (asin_test_upward): Likewise.
63825         (main): Call the new functions.
63826         * sysdeps/i386/fpu/libm-test-ulps: Update.
63827         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63829         [BZ #13884]
63830         [BZ #13924]
63831         * math/e_exp10.c: Include <float.h>.
63832         (__ieee754_exp10): Handle underflow here rather than multiplying
63833         large negative argument by M_LN10.
63834         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
63835         of __ieee754_expf.
63836         * math/e_exp10l.c: Include <float.h>.
63837         (__ieee754_exp10l): Handle underflow here rather than multiplying
63838         large negative argument by M_LN10l.
63839         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
63840         spurious overflow exception on underflow.
63842 2012-04-29  Marek Polacek  <polacek@redhat.com>
63844         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
63845         (__fortify_function): New macro.
63846         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
63847         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
63848         __extern_always_inline.
63849         * libio/bits/stdio2.h: Likewise.
63850         * libio/bits/stdio.h: Likewise.
63851         * string/string.h: Likewise.
63852         * string/bits/string3.h: Likewise.
63853         * include/stdio.h: Likewise.
63854         * stdlib/bits/stdlib.h: Likewise.
63855         * stdlib/stdlib.h: Likewise.
63856         * rt/bits/mqueue2.h: Likewise.
63857         * rt/mqueue.h: Likewise.
63858         * posix/bits/unistd.h: Likewise.
63859         * posix/unistd.h: Likewise.
63860         * io/bits/poll2.h: Likewise.
63861         * io/bits/fcntl2.h: Likewise.
63862         * io/fcntl.h: Likewise.
63863         * io/sys/poll.h: Likewise.
63864         * misc/bits/syslog.h: Likewise.
63865         * misc/bits/syslog-ldbl.h: Likewise.
63866         * misc/sys/syslog.h: Likewise.
63867         * socket/bits/socket2.h: Likewise.
63868         * socket/sys/socket.h: Likewise.
63869         * debug/tst-chk1.c: Likewise.
63870         * wcsmbs/bits/wchar2.h: Likewise.
63871         * wcsmbs/bits/wchar-ldbl.h: Likewise.
63872         * wcsmbs/wchar.h: Likewise.
63874 2012-04-29  Andreas Jaeger  <aj@suse.de>
63876         * Makerules (tests): Remove enable-check-abi protection.
63877         (check-abi-warn): Remove.
63878         (check-abi-%): Remove check-abi-warn usage.
63880         * configure.in: Remove check-abi configure option.
63881         * configure: Regenerated.
63882         * config.make.in (enable-check-abi): Remove.
63884 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
63886         [BZ #14033]
63887         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
63888         double functions to double *_finite functions.
63890         [BZ #13941]
63891         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
63892         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
63893         LDBL_MIN_EXP.
63894         * stdio-common/Makefile (tests): Add tst-sprintf3.
63895         * stdio-common/tst-sprintf3.c: New file.
63897         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
63898         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
63900 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
63902         * conform/conformtest.pl: Remove duplicate typed-constant
63903         handling.
63905 2012-04-28  David S. Miller  <davem@davemloft.net>
63907         * Makerules (%.abilist): Add vpath on sysdep_dirs.
63908         (check-abi-%): Remove AWK script prerequisite and explicit
63909         abilist directory.
63910         (check-abi): Rewrite to just diff the symlist with the abilist.
63911         (config-tls, config-abi-config): Delete, no longer used.
63912         (update-abi-%): Remove AWK script and explicit abilist directory.
63913         (update-abi): Rewrite to simply compare and conditionally copy the
63914         symlist and the sysdep abilist file.  Remove update-abi-config
63915         checks.
63916         * abilist/ld.abilist: Remove.
63917         * abilist/libBrokenLocale.abilist: Remove.
63918         * abilist/libanl.abilist: Remove.
63919         * abilist/libcrypt.abilist: Remove.
63920         * abilist/libdl.abilist: Remove.
63921         * abilist/librt.abilist: Remove.
63922         * abilist/libthread_db.abilist: Remove.
63923         * abilist/libutil.abilist: Remove.
63924         * scripts/extract-abilist.awk: Remove.
63925         * scripts/merge-abilist.awk: Remove.
63926         * sysdeps/generic/libcidn.abilist: New file.
63927         * sysdeps/generic/libnss_compat.abilist: New file.
63928         * sysdeps/generic/libnss_db.abilist: New file.
63929         * sysdeps/generic/libnss_dns.abilist: New file.
63930         * sysdeps/generic/libnss_files.abilist: New file.
63931         * sysdeps/generic/libnss_hesiod.abilist: New file.
63932         * sysdeps/generic/libnss_nis.abilist: New file.
63933         * sysdeps/generic/libnss_nisplus.abilist: New file.
63934         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
63935         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
63936         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
63937         file.
63938         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
63939         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
63940         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
63941         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
63942         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
63943         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
63944         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
63945         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
63946         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
63947         file.
63948         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
63949         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
63950         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
63951         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
63952         file.
63953         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
63954         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
63955         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
63956         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
63957         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
63958         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
63959         file.
63960         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
63961         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
63962         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
63963         file.
63964         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
63965         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
63966         New file.
63967         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
63968         New file.
63969         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
63970         New file.
63971         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
63972         New file.
63973         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
63974         New file.
63975         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
63976         New file.
63977         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
63978         New file.
63979         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
63980         New file.
63981         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
63982         New file.
63983         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
63984         New file.
63985         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
63986         New file.
63987         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
63988         New file.
63989         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
63990         New file.
63991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
63992         file.
63993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
63994         New file.
63995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
63996         New file.
63997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
63998         file.
63999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
64000         New file.
64001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
64002         New file.
64003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
64004         file.
64005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
64006         New file.
64007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64008         New file.
64009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
64010         New file.
64011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
64012         New file.
64013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
64014         New file.
64015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
64016         New file.
64017         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
64018         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
64019         file.
64020         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
64021         New file.
64022         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
64023         file.
64024         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
64025         file.
64026         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
64027         file.
64028         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
64029         file.
64030         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
64031         file.
64032         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64033         New file.
64034         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
64035         file.
64036         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
64037         file.
64038         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
64039         New file.
64040         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
64041         file.
64042         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
64043         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
64044         file.
64045         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
64046         New file.
64047         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
64048         file.
64049         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
64050         file.
64051         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
64052         file.
64053         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
64054         file.
64055         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
64056         file.
64057         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64058         New file.
64059         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
64060         file.
64061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
64062         file.
64063         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
64064         New file.
64065         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
64066         file.
64067         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64068         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
64069         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
64070         file.
64071         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
64072         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
64073         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
64074         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
64075         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
64076         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
64077         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
64078         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
64079         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
64080         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
64081         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
64082         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
64083         file.
64084         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
64085         New file.
64086         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
64087         file.
64088         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
64089         file.
64090         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
64091         file.
64092         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
64093         file.
64094         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
64095         file.
64096         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64097         New file.
64098         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
64099         New file.
64100         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
64101         file.
64102         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
64103         New file.
64104         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
64105         file.
64106         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
64107         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
64108         file.
64109         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
64110         New file.
64111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
64112         file.
64113         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
64114         file.
64115         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
64116         file.
64117         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
64118         file.
64119         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
64120         file.
64121         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64122         New file.
64123         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
64124         New file.
64125         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
64126         file.
64127         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
64128         New file.
64129         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
64130         file.
64132 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
64134         * conform/conformtest.pl: Fix typo in handling typed-constant from
64135         allow-header.
64137 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
64139         * README: Cut down references to pre-2.6 Linux kernels and
64140         Linuxthreads.  Update lists of configurations in libc and ports
64141         and sort alphabetically.  Say "or newer" with Linux kernel version
64142         requirements.
64144         * config.h.in [IS_IN_build]: Allow compiling without optimization.
64146 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64148         [BZ #887]
64149         * math/libm-test.inc (logb_test_downward): New test to expose
64150         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
64151         rounding mode.
64153 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
64155         [BZ #14027]
64156         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
64157         to be done.
64158         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
64159         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
64161 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
64163         * sysdeps/unix/i386/brk.S: Remove file.
64164         * sysdeps/unix/i386/dl-brk.S: Likewise.
64165         * sysdeps/unix/i386/pipe.S: Likewise.
64166         * sysdeps/unix/i386/sigreturn.S: Likewise.
64167         * sysdeps/unix/i386/syscall.S: Likewise.
64168         * sysdeps/unix/i386/vfork.S: Likewise.
64169         * sysdeps/unix/i386/wait.S: Likewise.
64171         * sysdeps/unix/common/tcsendbrk.c: Move to ...
64172         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
64174         * configure.in (arm*-none*): Do not allow without
64175         --enable-hacker-mode.
64176         (netbsd*): Remove case setting base_os.
64177         (386bsd*): Likewise.
64178         (freebsd*): Likewise.
64179         (bsdi*): Likewise.
64180         (osf*): Likewise.
64181         (sunos*): Likewise.
64182         (ultrix*): Likewise.
64183         (newsos*): Likewise.
64184         (dynix*): Likewise.
64185         (*bsd*): Likewise.
64186         (sysv*): Likewise.
64187         (isc*): Likewise.
64188         (esix*): Likewise.
64189         (sco*): Likewise.
64190         (minix*): Likewise.
64191         (irix4*): Likewise.
64192         (irix6*): Likewise.
64193         (solaris[2-9]*): Likewise.
64194         (none): Likewise.
64195         * configure: Regenerated.
64197 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64199         [BZ #11521]
64200         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
64201         overflow or cancellation in calculating denominator.
64202         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
64203         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
64204         down expression to avoid unexpected rounding in newer GCCs.
64205         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
64207 2012-04-26  David S. Miller  <davem@davemloft.net>
64209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
64210         long-double compat symbols.
64211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
64213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
64214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
64215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
64216         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
64217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
64218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
64219         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
64220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
64221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
64222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
64223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
64225 2012-04-25  David S. Miller  <davem@davemloft.net>
64227         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
64228         HWCAP_* values only after the memory barriers have been defined.
64229         (atomic_full_barrier): Define.
64230         (atomic_read_barrier): Define.
64231         (atomic_write_barrier): Define.
64233 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64235         * shlib-versions: Add libgcc_s version information.
64236         * sysdeps/generic/libgcc_s.h: Remove.
64237         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
64238         libgcc_s.h.
64239         * sysdeps/gnu/unwind-resume.c: Likewise.
64240         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
64242 2012-04-25  David S. Miller  <davem@davemloft.net>
64244         * sysdeps/unix/sparc/brk.S: Delete.
64245         * sysdeps/unix/sparc/dl-brk.S: Delete.
64246         * sysdeps/unix/sparc/pipe.S: Delete.
64247         * sysdeps/unix/sparc/sysdep.S: Delete.
64248         * sysdeps/unix/sparc/sysdep.h: Delete.
64249         * sysdeps/unix/sparc/vfork.S: Delete.
64250         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
64251         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
64252         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
64253         (ret_ERRVAL, r0, r1, MOVE): Define.
64254         (JUMPTARGET): Remove.
64255         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
64256         sysdeps/unix/sparc/sysdep.h
64257         (ENTRY, END): Remove.
64258         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64260 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
64262         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
64263         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
64264         -DIS_IN_build.
64266         * timezone/README: Update upstream location and email address for
64267         tzcode and tzdata.
64268         * timezone/zdump.c: Update from tzcode 2012b.
64269         * timezone/zic.c: Likewise.
64271         * configure.in (libc_cv_as_needed): Remove test.
64272         * configure: Regenerated.
64273         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
64274         conditional definition.
64275         [$(have-as-needed) != yes] (no-as-needed): Likewise.
64276         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
64277         * config.make.in (have-as-needed): Remove variable.
64279 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64280             Paul Pluzhnikov  <ppluzhnikov@google.com>
64282         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
64283         strings correctly.
64285 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
64287         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
64288         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
64289         * sysdeps/sh/strlen.S: Likewise.
64291 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64293         * sysdeps/unix/fork.S: Remove file.
64294         * sysdeps/unix/i386/fork.S: Likewise.
64295         * sysdeps/unix/sparc/fork.S: Likewise.
64297         * sysdeps/unix/system.c: Remove file.
64298         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
64300         * sysdeps/unix/getegid.S: Remove file.
64301         * sysdeps/unix/geteuid.S: Likewise.
64303 2012-04-24  Roland McGrath  <roland@hack.frob.com>
64305         * scripts/check-localplt.awk: New file.
64306         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
64307         of diff.
64308         * scripts/data/localplt-generic.data: Add a comment.
64310         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
64311         NODE when __dir_mkfile failed.
64312         * sysdeps/mach/hurd/symlinkat.c: Likewise.
64313         Reported by Ludovic Courtès <ludo@gnu.org>.
64315 2012-04-24  Andreas Jaeger  <aj@suse.de>
64317         * Makerules (common-clean): Also remove gen-as-const-headers
64318         files.
64320 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64322         * Makerules (native-compile): Do not change working directory for
64323         build.  Use $(OUTPUT_OPTION) in command.
64324         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
64326 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64328         [BZ #13886]
64329         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
64330         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
64331         * math/libm-test.inc (floor_test): Add more tests.
64332         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
64334 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64336         * sysdeps/unix/getdents.c: Remove file.
64337         * sysdeps/unix/sysv/getdents.c: Likewise.
64338         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
64340         * sysdeps/unix/syscalls.list (madvise): Add syscall from
64341         sysdeps/unix/mman/syscalls.list.
64342         (mmap): Likewise.
64343         (mprotect): Likewise.
64344         (msync): Likewise.
64345         (munmap): Likewise.
64346         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
64347         * sysdeps/unix/mman/syscalls.list: Remove.
64348         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
64350         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
64351         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
64352         * configure: Regenerated.
64353         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
64354         $(libgcc_s_suffix).
64355         * config.make.in (libgcc_s_suffix): Remove variable.
64357 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
64359         * sysdeps/unix/sysv/gethostname.c: Move to ...
64360         * sysdeps/posix/gethostname.c: ... here.
64362         * sysdeps/unix/execve.S: Remove file.
64364         * sysdeps/unix/_exit.S: Remove file.
64366 2012-04-23  Andreas Jaeger  <aj@suse.de>
64368         [BZ #13739]
64369         * manual/Makefile: Remove make dist support, there's no
64370         need for a stand-alone documentation tar ball.
64371         (TEXI2DVI): Define always, it's not in Makeconfig.
64372         (dist): Removed.
64373         (tar-it): Removed.
64374         (edition): Removed.
64375         (glibc-doc-$(edition).tar): Removed
64376         (%.Z): Removed.
64377         (%.gz): Removed.
64378         (%.uu): Removed.
64379         (ETAGS): Remove, it's in Makeconfig.
64380         (move-if-change): Remove, it's in Makeconfig.
64382 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
64384         [BZ #13970]
64385         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
64386         (strtod, strtof, strtold, strtol, strtoul, strtoq)
64387         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
64388         (strtod_l, strtof_l, strtold_l): Remove __wur.
64389         It is not necessarily an error to ignore strtol's return value.
64390         One can reliably look at the stored endptr to decide whether
64391         the number had valid syntax.
64393 2012-04-21  Andreas Jaeger  <aj@suse.de>
64395         [BZ #13739]
64396         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
64398 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
64400         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
64401         * sysdeps/unix/sysv/Versions: Remove file.
64403 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
64405         [BZ #13927]
64406         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64408 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
64410         [BZ #7064]
64411         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
64412         version from __vm86.
64414 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
64416         * sysdeps/unix/common/lxstat.c: Remove file.
64417         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
64419         * sysdeps/unix/sysv/Makefile: Remove file.
64421         * sysdeps/unix/sysv/direct.h: Remove file.
64423         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
64424         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
64425         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
64426         * sysdeps/unix/sysv/bits/signum.h: Likewise.
64427         * sysdeps/unix/sysv/bits/stat.h: Likewise.
64428         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
64429         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
64431         * sysdeps/unix/sysv/setrlimit.c: Remove file.
64433         * sysdeps/unix/xmknod.c: Remove file.
64434         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
64436         * sysdeps/unix/sysv/settimeofday.c: Remove file.
64438         * sysdeps/unix/sysv/i386/time.S: Remove file.
64440         * sysdeps/unix/fxstat.c: Remove file.
64441         * sysdeps/unix/xstat.c: Likewise.
64442         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
64444         * sysdeps/unix/sysv/sigaction.c: Remove file.
64446         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
64447         (sysdep_headers): Remove variable.
64448         [termio.h not in sysdep_headers] (generated): Likewise.
64449         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
64450         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
64451         * sysdeps/unix/sysv/tcdrain.c: Likewise.
64452         * sysdeps/unix/sysv/tcflow.c: Likewise.
64453         * sysdeps/unix/sysv/tcflush.c: Likewise.
64454         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
64455         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
64456         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
64457         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
64458         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
64460         * sysdeps/unix/siglist.c: Remove file.
64462         * sysdeps/unix/getppid.S: Remove file.
64464         * sysdeps/unix/mkdir.c: Remove file.
64465         * sysdeps/unix/rmdir.c: Likewise.
64467 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
64469         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
64470         ERR_MAX value.
64471         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
64472         errlist-compat value.
64474 2012-04-18  David S. Miller  <davem@davemloft.net>
64476         * sysdeps/generic/memcopy.h (reg_char): Delete.
64477         * debug/strcat_chk.c: Use char, not reg_char.
64478         * debug/strcpy_chk.c: Likewise.
64479         * debug/strncat_chk.c: Likewise.
64480         * debug/strncpy_chk.c: Likewise.
64481         * string/memchr.c: Likewise.
64482         * string/memrchr.c: Likewise.
64483         * string/rawmemchr.c: Likewise.
64484         * string/strcat.c: Likewise.
64485         * string/strchr.c: Likewise.
64486         * string/strchrnul.c: Likewise.
64487         * string/strcmp.c: Likewise.
64488         * string/strcpy.c: Likewise.
64489         * string/strncat.c: Likewise.
64490         * string/strncmp.c: Likewise.
64491         * string/strncpy.c: Likewise.
64493 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64495         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
64496         __builtin_memcopy is called when src and dest ranges are known to not
64497         overlap.
64499 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64501         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
64502         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
64503         fwd_align_merge macro call.
64504         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
64505         bwd_align_merge macro call.
64506         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64508 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64510         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
64511         bwd_align_merge macros.
64512         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
64513         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
64514         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64516 2012-04-18  David S. Miller  <davem@davemloft.net>
64518         * sysdeps/sparc/sparc64/memcopy.h: Delete.
64520 2012-04-18  Andreas Jaeger  <aj@suse.de>
64522         [BZ# 6794]
64523         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
64524         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
64525         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64527         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
64528         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
64529         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64531         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
64532         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
64533         Adjust for changed ldbl-128 files.
64535         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
64536         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
64537         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64539 2012-04-17  David S. Miller  <davem@davemloft.net>
64541         * sysdeps/sparc/sparc32/memcopy.h: Delete.
64543 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
64545         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
64546         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
64547         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
64548         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
64549         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
64550         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
64552 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64554         [BZ #6794]
64555         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
64556         * math/libm-test.inc: Add ilogb errno and exception tests.
64557         * math/w_ilogb.c: New file: ilogb wrapper.
64558         * math/w_ilogbf.c: New file: ilogbf wrapper.
64559         * math/w_ilogbl.c: New file: ilogbl wrapper.
64560         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
64561         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
64562         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
64563         exception being thrown with 0.0 as argument.
64564         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
64565         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
64566         exception being thrown with 0.0 as argument.
64567         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
64568         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64569         exception being thrown with 0.0 as argument.
64570         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
64571         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64572         exception being thrown with 0.0 as argument.
64573         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
64574         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
64575         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
64576         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
64577         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
64578         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
64579         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
64580         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
64581         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
64583 2012-04-17  Petr Baudis  <pasky@ucw.cz>
64585         * include/sys/uio.h: Change __vector to __iovec to avoid clash
64586         with altivec.
64588 2012-04-16  Marek Polacek  <polacek@redhat.com>
64590         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
64592 2012-04-16  Marek Polacek  <polacek@redhat.com>
64594         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
64595         operands of fdivp instruction.
64597 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64599         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
64600         * elf/tst-auditmod3b.c: Likewise.
64601         * elf/tst-auditmod4b.c: Likewise.
64602         * elf/tst-auditmod5b.c: Likewise.
64603         * elf/tst-auditmod6b.c: Likewise.
64604         * elf/tst-auditmod6c.c: Likewise.
64605         * elf/tst-auditmod7b.c: Likewise.
64606         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
64607         * sysdeps/x86_64/preconfigure.in: Likewise.
64608         * sysdeps/x86_64/preconfigure: Regenerated.
64610 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64612         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
64613         __ILP32__.
64615 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
64617         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64618         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
64620 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
64622         [BZ #13973]
64623         * locale/iso-639.def: Fix gl language name. Spotted by
64624         Yaron Shahrabani.
64626 2012-04-12  Roland McGrath  <roland@hack.frob.com>
64628         [BZ #2074]
64629         * libio/libio.h (__io_write_fn): Update comment.
64631 2012-04-12  Petr Baudis  <pasky@ucw.cz>
64633         [BZ #2074]
64634         * stdio.texi (Hook Functions): The user provided writer function
64635         is not allowed to return -1.
64637 2012-04-11  David S. Miller  <davem@davemloft.net>
64639         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64641 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
64643         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
64644         Add a leading slash to rtkaio.
64646 2012-04-11  Jim Meyering  <meyering@redhat.com>
64648         [BZ #11959]
64649         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
64650         It is not necessarily an error to ignore fwrite's return
64651         value.  One can reliably use ferror to test for errors after
64652         the fact.
64654 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64656         * bits/types.h (__snseconds_t): New type.
64657         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
64659         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
64660         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64661         (__SNSECONDS_T_TYPE): Likewise.
64662         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64663         (__SNSECONDS_T_TYPE): Likewise.
64664         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64665         (__SNSECONDS_T_TYPE): Likewise.
64667 2012-04-10  Andreas Jaeger  <aj@suse.de>
64669         [BZ #2636]
64670         * manual/time.texi (Processor Time): Return type of times is
64671         elapsed real time since an arbitrary point in the past.
64672         (CPU Time): Move CLK_TCK from here...
64673         (Processor Time): ...to here.  Correct description.
64674         * manual/conf.texi (Constants for Sysconf): Correct description of
64675         _SC_CLK_TCK.
64677 2012-04-10  David S. Miller  <davem@davemloft.net>
64679         [BZ #13967]
64680         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
64681         where the is a gap between DT_REL(A) and DT_JMPREL.
64683 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64685         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
64686         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
64687         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
64689 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64691         * elf/dl-support.c (_dl_inhibit_cache): New variable.
64692         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
64693         (dl_main): Handle --inhibit-cache.
64694         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
64695         _dl_inhibit_cache.
64696         * elf/dl-load.c (_dl_map_object): Use it.
64697         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
64699 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
64701         [BZ #13872]
64702         * sysdeps/i386/fpu/e_powl.S (p78): New object.
64703         (__ieee754_powl): Saturate large exponents rather than testing for
64704         overflow of y*log2(x).
64705         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64706         * math/libm-test.inc (pow_test): Do not permit spurious overflow
64707         exceptions.
64709         [BZ #11521]
64710         * math/s_ctan.c: Include <float.h>.
64711         (__ctan): Avoid internal overflow or cancellation in calculating
64712         denominator.
64713         * math/s_ctanf.c: Likewise.
64714         * math/s_ctanl.c: Likewise.
64715         * math/s_ctanh.c: Likewise.
64716         * math/s_ctanhf.c: Likewise.
64717         * math/s_ctanhl.c: Likewise.
64718         * math/libm-test.inc (ctan_test): Add more tests.
64719         (ctanh_test): Likewise.
64720         * sysdeps/i386/fpu/libm-test-ulps: Update.
64721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64723 2012-04-09  Andreas Jaeger  <aj@suse.de>
64725         [BZ #6894]
64726         * manual/filesys.texi (Directory Entries): Mention that d_namlen
64727         is an optional BSD extension.
64729         [BZ #10254]
64730         * manual/stdio.texi (Opening Streams): Document additional fopen
64731         parameters.
64733 2012-04-09  Roland McGrath  <roland@hack.frob.com>
64735         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
64736         %eax without telling the compiler.
64738 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
64740         [BZ # 13963]
64741         * manual/install.texi: Use sourceware.org.
64743 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
64745         [BZ #13873]
64746         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
64747         (__ieee754_pow): Generate overflow and underflow using huge*huge
64748         and tiny*tiny rather than just returning constant infinity or zero
64749         for large exponents.
64750         * math/libm-test.inc (pow_test): Require overflow exceptions for
64751         applicable cases of large exponents.
64753         [BZ #706]
64754         * sysdeps/i386/fpu/e_pow.S (p10): New object.
64755         (__ieee754_pow): Use iterative multiplication algorithm only for
64756         integer exponents with absolute value below 1024.  Check for odd
64757         integer exponents when using algorithm for real exponents.
64758         * math/libm-test.inc (pow_test): Add more tests.
64759         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64761 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
64763         [BZ #13705]
64764         * math/libm-test.inc (exp_test): Do not allow overflow exception
64765         on underflow test.
64767 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
64769         [BZ #13705]
64770         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
64771         instead of __kernel_standard_f.
64773 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
64775         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
64776         * sysdeps/x86_64/memset_chk.S: Likewise.
64778 2012-04-08  Andreas Jaeger  <aj@suse.de>
64780         [BZ #10153]
64781         * manual/startup.texi (Environment Access): Describe return value
64782         for putenv and setenv.
64784         [BZ #6895]
64785         * manual/filesys.texi (Directory Entries): Add description for
64786         DT_LNK.
64788         [BZ #6890]
64789         * manual/filesys.texi (Directory Entries): Clarify that it's file
64790         system not operating system in the description of DT_UNKNOWN.
64792         [BZ #6578]
64793         * manual/syslog.texi (closelog): Fix reference, it's openlog.
64795 2012-04-08  Stephen Compall  <s11@member.fsf.org>
64797         [BZ #6649]
64798         * manual/llio.texi (Opening and Closing Files): Add cross
64799         reference to explain mode argument.
64801 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
64803         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
64804         * sysdeps/x86_64/memset_chk.S: Likewise.
64806 2012-04-07  David S. Miller  <davem@davemloft.net>
64808         * elf/elf.h (R_SPARC_WDISP10): Define.
64809         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
64810         R_SPARC_SIZE32.
64811         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
64812         R_SPARC_SIZE64 and R_SPARC_H34.
64814 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
64816         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
64817         conditions and remove no longer applicable assertion.
64819 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
64821         * bits/byteswap.h: Include <features.h>.
64822         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
64823         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
64825 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
64827         * bits/byteswap.h (__bswap_16): Removed.
64828         Include <bits/byteswap-16.h> to get __bswap_16.
64829         * sysdeps/i386/bits/byteswap.h: Likewise.
64830         * sysdeps/s390/bits/byteswap.h: Likewise.
64831         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64832         * bits/byteswap-16.h: New file.
64833         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64834         * sysdeps/s390/bits/byteswap-16.h: Likewise.
64835         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
64836         * string/Makefile (headers): Add bits/byteswap-16.h.
64838 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
64840         [BZ #13895]
64841         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
64842         extra indirection.
64843         * nss/Makefile (tests-static, tests): Add tst-nss-static.
64844         * nss/tst-nss-static.c: New.
64846 2012-04-06  Robert Millan  <rmh@gnu.org>
64848         [BZ #6486]
64849         * manual/llio.texi (File Position Primitive): lseek
64850         refers to WHENCE when it really means OFFSET.
64852 2012-04-06  Andreas Jaeger  <aj@suse.de>
64854         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
64855         strncmp declarations.
64857         * abilist/libc.abilist: Add __poll and __ppoll.
64859 2012-04-05  David S. Miller  <davem@davemloft.net>
64861         * scripts/check-local-headers.sh: Accept a host triplet in the
64862         path matched by the exclude regexp.
64864         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
64865         definition.
64866         * sysdeps/powerpc/powerpc32/dl-machine.h
64867         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
64868         * sysdeps/s390/s390-32/dl-machine.h
64869         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64870         * sysdeps/sparc/sparc32/dl-machine.h
64871         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64872         * sysdeps/sparc/sparc64/dl-machine.h
64873         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64875         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
64876         lazy binding.
64877         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
64878         undefined symbol errors.
64880         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
64881         DT_NEEDED entries.
64883 2012-04-05  Michael Matz  <matz@suse.de>
64885         [BZ #13592]
64886         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
64888 2012-04-05  Andreas Jaeger  <aj@suse.de>
64890         [BZ #13908]
64891         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
64892         comment.
64894 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64896         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
64897         which ROUND is no valid rounding mode.
64899 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64901         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
64902         read again.
64903         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
64905 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64907         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
64908         an exception using FPU order intentionally.
64910 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64912         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
64913         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
64914         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
64915         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
64917 2012-04-05  Simon Josefsson  <simon@josefsson.org>
64919         [BZ #12340]
64920         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
64921         EINVAL when BUFLEN is too smal.
64923 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
64925         [BZ #13553]
64926         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
64927         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
64929 2012-04-03  Andreas Jaeger  <aj@suse.de>
64931         [BZ #13938]
64932         * manual/setjmp.texi (System V contexts): Fix sentence.
64934         [BZ #13926]
64935         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
64936         New macro for this case.
64937         [!__GNUC__] (__bswap_64): New inline function for this case.
64938         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64939         * bits/byteswap.h: Likewise.
64940         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
64941         ull, guard with __GLIBC_HAVE_LONG_LONG.
64943         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
64944         __GLIBC_HAVE_LONG_LONG.
64946         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
64947         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
64949 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64951         [BZ #13691]
64952         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
64953         inptr and inend, rather than using last_ch.
64955 2012-04-02  David S. Miller  <davem@davemloft.net>
64957         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
64958         * stdio-common/printf-parse.h (read_int): Change return type to
64959         'int', return -1 on INT_MAX overflow.
64960         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
64961         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
64962         overflows INT_MAX.  Check for overflow of in-format-string precision
64963         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
64964         SIZE_MAX not INT_MAX for integer overflow test.
64965         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
64966         skip the construct in the format string but do not record anything.
64967         * stdio-common/bug22.c: Adjust to test both width/prevision
64968         INT_MAX overflow as well as total length INT_MAX overflow.  Check
64969         explicitly for proper errno values.
64971 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
64973         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
64974         CHAR_MAX.
64975         * string/test-strcmp.c [! WIDE]: Likewise.
64976         * time/tst-mktime2.c: Likewise for INT_MAX.
64977         * string/test-string.h: #include <sys/param.h> for MIN.
64979         * csu/init-first.c (__libc_init_first): Call __ctype_init.
64980         * sysdeps/i386/init-first.c (init): Likewise.
64981         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
64982         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
64983         * sysdeps/sh/init-first.c (init): Likewise.
64985 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
64987         * po/ru.po: Update from translation team.
64988         * po/vi.po: Likewise.
64990 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
64992         * resolv/nss_dns/dns-host.c: Merge copyright years.
64994 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64996         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
64997         Optimize memcpy with prefetch if
64998         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
64999         src, dst pointers have unequal 16 byte alignments.
65001 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
65003         [BZ #13928]
65004         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
65005         from a CNAME entry and return the minimum ttl for the query.
65006         (gaih_getanswer_slice): Likewise.
65008 2012-03-30  Jeff Law  <law@redhat.com>
65010         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
65011         due to long keys.
65012         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
65013         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
65015         * resolv/nss_dns/dns-host.c: Update copyright year.
65017 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
65019         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
65020         requests to save a system call.  Fix check that all bytes are sent.
65022         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
65023         comments for sendmmsg.
65025 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65027         [BZ #13691]
65028         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
65029         with only 1 character between 0x0041 and 0x01b0.
65030         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
65031         * wcsmbs/tst-mbsnrtowcs.c: New file.
65033 2012-03-29  David S. Miller  <davem@davemloft.net>
65035         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
65036         small copies by hand.
65038 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65040         [BZ #13761]
65041         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
65042         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
65043         group memberships.
65045 2012-03-28  David S. Miller  <davem@davemloft.net>
65047         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
65048         that branches into memcpy.
65049         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65050         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
65051         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
65052         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
65053         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
65054         bits.
65055         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
65056         implementation too.
65057         * sysdeps/sparc/mempcpy.S: New file.
65059         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
65060         the IFUNC routine in the libc case.
65061         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
65063         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
65064         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
65065         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
65066         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
65067         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
65068         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
65069         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
65070         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
65072         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
65073         loop to 256 bytes instead of 64 bytes and fix test signedness.
65075         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
65076         * sysdeps/sparc/sparc32/Makefile: rather than here...
65077         * sysdeps/sparc/sparc64/Makefile: and here.
65079 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
65081         * malloc/mallocbug.c: Avoid warnings about unused variables.
65083 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
65085         [BZ #13760]
65086         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
65087         in the right place. Discard and retry query if response is
65088         larger than input buffer size.
65090 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
65092         [BZ #369]
65093         [BZ #2678]
65094         [BZ #3866]
65095         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
65096         x for large integer exponent.
65097         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
65098         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
65099         sign of result as needed afterwards.
65100         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
65101         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
65102         result for underflowing pow the same as for overflow.
65103         (__kernel_standard_l): Handle powl overflow and underflow here
65104         rather than calling __kernel_standard.
65105         * math/libm-test.inc (pow_test): Add more tests.
65107         [BZ #3868]
65108         [BZ #13879]
65109         [BZ #13910]
65110         [BZ #13911]
65111         [BZ #13912]
65112         [BZ #13913]
65113         [BZ #13915]
65114         [BZ #13916]
65115         [BZ #13917]
65116         [BZ #13918]
65117         [BZ #13919]
65118         [BZ #13920]
65119         [BZ #13921]
65120         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
65121         * sysdeps/ieee754/k_standard.c: Include <float.h>.
65122         (__kernel_standard_l): New function.
65123         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
65124         __kernel_standard.
65125         * math/w_acosl.c (__acosl): Likewise.
65126         * math/w_asinl.c (__asinl): Likewise.
65127         * math/w_atan2l.c (__atan2l): Likewise.
65128         * math/w_atanhl.c (__atanhl): Likewise.
65129         * math/w_coshl.c (__coshl): Likewise.
65130         * math/w_exp10l.c (__exp10l): Likewise.
65131         * math/w_exp2l.c (__exp2l): Likewise.
65132         * math/w_fmodl.c (__fmodl): Likewise.
65133         * math/w_hypotl.c (__hypotl): Likewise.
65134         * math/w_j0l.c (__j0l, __y0l): Likewise.
65135         * math/w_j1l.c (__j1l, __y1l): Likewise.
65136         * math/w_jnl.c (__jnl, __ynl): Likewise.
65137         * math/w_lgammal.c (__lgammal): Likewise.
65138         * math/w_log10l.c (__log10l): Likewise.
65139         * math/w_log2l.c (__log2l): Likewise.
65140         * math/w_logl.c (__logl): Likewise.
65141         * math/w_powl.c (__powl): Likewise.
65142         * math/w_remainderl.c (__remainderl): Likewise.
65143         * math/w_scalbl.c (sysv_scalbl): Likewise.
65144         * math/w_sinhl.c (__sinhl): Likewise.
65145         * math/w_sqrtl.c (__sqrtl): Likewise.
65146         * math/w_tgammal.c (__tgammal): Likewise.
65147         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
65148         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
65149         * math/libm-test.inc (acos_test): Add more tests.
65150         (acosh_test): Likewise.
65151         (asin_test): Likewise.
65152         (atanh_test): Likewise.
65153         (exp_test): Likewise.
65154         (exp10_test): Likewise.
65155         (exp2_test): Likewise.
65156         (expm1_test): Likewise.
65157         (lgamma_test): Likewise.
65158         (log_test): Likewise.
65159         (log10_test): Likewise.
65160         (log1p_test): Likewise.
65161         (log2_test): Likewise.
65162         (pow_test): Do not allow some spurious overflow exceptions.
65163         (sqrt_test): Add more tests.
65164         (tgamma_test): Likewise.
65165         (y0_test): Likewise.
65166         (y1_test): Likewise.
65167         (yn_test): Likewise.
65169 2012-03-27  Anton Blanchard  <anton@samba.org>
65171         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
65172         MAP_HUGETLB.
65173         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
65174         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
65175         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
65177 2012-03-27  David S. Miller  <davem@davemloft.net>
65179         * conform/Makefile: Run run-conformtest.sh using $(BASH).
65181         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
65182         have-as-vis3 check.
65184 2012-03-27  Andreas Jaeger  <aj@suse.de>
65186         * sysdeps/x86_64/elf/configure.in: Moved to ...
65187         * sysdeps/x86_64/configure.in: ... here.
65188         * sysdeps/x86_64/elf/start.S: Moved to ...
65189         * sysdeps/x86_64/start.S: ... here.
65190         * sysdeps/x86_64/elf/configure: Delete.
65192         * sysdeps/x86_64/configure.in: Merge contents from
65193         sysdeps/i386/configure.in (without i686 check).
65195         * sysdeps/i386/elf/Versions: Merge into ...
65196         * sysdeps/i386/Versions: ... this.
65197         * sysdeps/i386/elf/Versions: Delete file.
65198         * sysdeps/i386/elf/start.S: Moved to ...
65199         * sysdeps/i386/start.S: ...here.
65200         * sysdeps/i386/elf/configure.in: Merge into...
65201         * sysdeps/i386/configure.in: ...here.
65202         * sysdeps/i386/elf/configure.in: Delete file.
65203         * sysdeps/i386/elf/configure: Delete file.
65205         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
65206         * debug/backtracesyms.c: ... here.
65207         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
65208         * debug/backtracesymsfd.c: ... here.
65209         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
65210         * sysdeps/generic/ifunc-sel.h: ... here.
65212         * sysdeps/unix/i386/start.c: Delete file.
65213         * sysdeps/unix/sparc/start.c: Delete file.
65214         * sysdeps/unix/start.c: Delete file.
65216         * sysdeps/sh/elf/configure.in: Moved to ...
65217         * sysdeps/sh/configure.in: ... here.
65218         * sysdeps/sh/elf/start.S: Moved to ...
65219         * sysdeps/sh/start.S: ... here.
65220         * sysdeps/sh/elf/configure: Delete file.
65222         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
65223         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
65224         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
65225         * sysdeps/powerpc/powerpc64/entry.h: ... here.
65226         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
65227         * sysdeps/powerpc/powerpc64/start.S: here.
65228         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
65229         * sysdeps/powerpc/powerpc64/Makefile: ... this.
65230         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
65231         * sysdeps/powerpc/powerpc64/configure.in: ... this.
65232         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
65234         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
65235         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
65236         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
65237         * sysdeps/powerpc/powerpc32/start.S: ... here.
65238         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
65239         * sysdeps/powerpc/powerpc32/configure.in: ... this.
65240         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
65242         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
65243         * sysdeps/powerpc/ifunc-sel.h: ... here.
65244         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
65245         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
65247         * sysdeps/sparc/elf/configure.in: Moved to ...
65248         * sysdeps/sparc/configure.in: ... here.
65249         * sysdeps/sparc/elf/configure: Delete file.
65250         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
65251         * sysdeps/sparc/sparc32/start.S: ... here.
65252         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
65253         * sysdeps/sparc/sparc64/start.S: ... here.
65254         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
65255         * sysdeps/sparc/sparc32/Makefile: ... this.
65256         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
65257         * sysdeps/sparc/sparc64/Makefile: ... this.
65259         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
65260         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
65261         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
65262         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
65263         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
65264         * sysdeps/s390/s390-32/setjmp.S: ... here.
65265         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
65266         * sysdeps/s390/s390-32/configure.in: ... here.
65267         * sysdeps/s390/s390-32/elf/configure: Delete file.
65268         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
65269         * sysdeps/s390/s390-32/start.S: ... here.
65271         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
65272         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
65273         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
65274         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
65275         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
65276         * sysdeps/s390/s390-64/setjmp.S: ... here.
65277         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
65278         * sysdeps/s390/s390-64/configure.in: ... here
65279         * sysdeps/s390/s390-64/elf/configure: Delete file.
65280         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
65281         * sysdeps/s390/s390-64/start.S: ... here.
65282         * sysdeps/s390/s390-64/elf/configure: Delete.
65284         * configure.in: Remove support for elf directories in sysdeps.
65286         * configure: Regenerated.
65287         * sysdeps/i386/configure: Regenerated.
65288         * sysdeps/powerpc/powerpc32/configure: Regenerated.
65289         * sysdeps/powerpc/powerpc64/configure: Regenerated.
65290         * sysdeps/s390/s390-32/configure: Regenerated.
65291         * sysdeps/s390/s390-64/configure: Regenerated.
65292         * sysdeps/sh/configure: Regenerated.
65293         * sysdeps/sparc/configure: Regenerated.
65294         * sysdeps/x86_64/configure: Regenerated.
65296 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
65298         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65300         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
65301         denormal result into account.
65303 2012-03-25  Roland McGrath  <roland@hack.frob.com>
65305         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
65306         Reported by Allan McRae <allan@archlinux.org>.
65308 2012-03-23  Jeff Law  <law@redhat.com>
65310         * nss/getnssent.c (__nss_getent): Fix typo.
65312 2012-03-23  David S. Miller  <davem@davemloft.net>
65314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65316 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
65318         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
65319         to pad to uint64_t for each field.
65320         (dl_tls_index): Replace unsigned long with uint64_t.
65322 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
65323         Paul Pluzhnikov  <ppluzhnikov@google.com>
65325         [BZ #6528]
65326         * grp/Makefile (otherlibs): Don't set it.
65327         * inet/Makefile (otherlibs): Likewise.
65328         * login/Makefile (otherlibs): Likewise.
65329         * nscd/Makefile (otherlibs): Likewise.
65330         * posix/Makefile (otherlibs): Likewise.
65331         * pwd/Makefile (otherlibs): Likewise.
65332         * rt/Makefile (otherlibs): Likewise.
65333         * sunrpc/Makefile (otherlibs): Likewise.
65334         * nss/Makefile (otherlibs): Likewise.
65335         Add libnss_files to routines and static-only-routines.
65336         ($(objpfx)getent): Remove rule.
65337         * resolv/Makefile: Add libnss_dns and libresolv to routines and
65338         static-only-routines.
65340 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
65342         [BZ #13892]
65343         * math/s_cexp.c: Include <float.h>.
65344         (__cexp): Handle exp result overflowing not necessarily
65345         overflowing both real and imaginary parts of result.
65346         * math/s_cexpf.c: Likewise.
65347         * math/s_cexpl.c: Likewise.
65348         * math/libm-test.inc (cexp_test): Add more tests.
65349         * sysdeps/i386/fpu/libm-test-ulps: Update.
65350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65352 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65354         * include/link.h (ELFW): New macro.
65355         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
65356         Replace ELF64_R_TYPE with ELFW(R_TYPE).
65358 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65360         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
65361         with uint64_t.
65363 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65365         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
65366         declaration.
65367         (struct La_x32_retval): Likewise.
65369 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65371         * sysdeps/x86_64/preconfigure.in: New file.
65372         * sysdeps/x86_64/preconfigure: New generated file.
65374 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
65376         [BZ #13824]
65377         * math/e_exp2l.c: Include <float.h>.
65378         (__ieee754_exp2l): Handle overflow and underflow cases
65379         separately.  Only pass fractional part of argument to
65380         __ieee754_expl.
65381         * math/libm-test.inc (exp2_test): Add more tests.
65383         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
65384         negating x to take absolute value.
65385         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
65386         Likewise.
65387         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
65388         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
65389         Likewise.
65390         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
65391         computing low part if x was negated.
65392         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
65394 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65396         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
65397         la_x32_gnu_pltexit.
65398         (pltexit): Cast int_retval to ptrdiff_t.
65399         * elf/tst-auditmod3b.c: Likewise.
65400         * elf/tst-auditmod4b.c: Likewise.
65401         * elf/tst-auditmod5b.c: Likewise.
65402         * elf/tst-auditmod6b.c: Likewise.
65403         * elf/tst-auditmod6c.c: Likewise.
65404         * elf/tst-auditmod7b.c: Likewise.
65406         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
65407         and x32_gnu_pltexit.
65409         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
65410         __ELF_NATIVE_CLASS.
65411         (La_x32_regs): New macro.
65412         (La_x32_retval): Likewise.
65413         (la_x32_gnu_pltenter): New function prototype.
65414         (la_x32_gnu_pltexit): Likewise.
65416 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
65418         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
65419         exponent.
65421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65423         * configure.in (libc_cv_cc_nofma): Check for option to disable
65424         generation of FMA instructions.
65425         * configure: Regenerate.
65426         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
65427         * sysdeps/ieee754/dbl-64/Makefile: New file.
65428         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
65429         Remove brandred-fma4.
65430         (CFLAGS-brandred-fma4.c): Remove.
65431         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
65432         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
65433         define.
65434         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
65435         define.
65437 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65439         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65440         LLONG_MAX != LONG_MAX.
65441         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65442         (_fitoa_word): Likewise.
65443         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
65444         LLONG_MAX != LONG_MAX.
65445         * stdio-common/_itowa.h: Include <_itoa.h>.
65446         (_itowa_word): Use _ITOA_WORD_TYPE on value.
65447         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
65448         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
65449         only if not defined.
65450         (_ITOA_WORD_TYPE): Likewise.
65451         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65452         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
65454 2012-03-21  David S. Miller  <davem@davemloft.net>
65456         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65458 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65460         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
65461         of x86_64 when setting libc_cv_slibdir, libdir and
65462         libc_cv_localedir.
65463         * sysdeps/unix/sysv/linux/configure: Regenerated.
65465 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65467         * manual/lang.texi (Old Varargs): Remove section.
65468         (How Variadic): Update menu.
65469         (va_start): Do not mention varargs.h.
65471 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
65472             Joseph Myers  <joseph@codesourcery.com>
65474         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
65475         link test.
65476         * configure: Regenerated.
65478 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
65480         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
65481         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
65482         conformtest.pl
65484 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65486         * NOTES: Remove.
65487         * Makefile (files-for-dist): Remove NOTES.
65488         (NOTES): Remove rule.
65489         * README: Don't refer to NOTES.
65490         * manual/creature.texi: Don't include macros.texi.
65491         * manual/intro.texi (creature.texi): Remove comment referring to
65492         NOTES.
65494         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
65495         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
65496         * configure: Regenerated.
65497         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
65498         LIBC_TRY_CC_OPTION.
65499         (libc_cv_as_i686): Likewise.
65500         (libc_cv_cc_avx): Likewise.
65501         (libc_cv_cc_sse2avx): Likewise.
65502         (libc_cv_cc_fma4): Likewise.
65503         (libc_cv_cc_novzeroupper): Likewise.
65504         * sysdeps/i386/configure: Regenerated.
65506         [BZ #13883]
65507         * sysdeps/i386/fpu/s_cexp.S: Remove.
65508         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
65509         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
65510         * math/libm-test.inc (cexp_test): Add more tests.
65511         * sysdeps/i386/fpu/libm-test-ulps: Update.
65512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65514 2012-03-21  Allan McRae  <allan@archlinux.org>
65516         * timezone/Makefile: Do not install iso3166.tab and zone.tab
65518 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65520         [BZ #13871]
65521         * math/w_exp2.c: Do not include <float.h>.
65522         (o_threshold, u_threshold): Remove.
65523         (__exp2): Calculate result before checking finiteness and calling
65524         __kernel_standard.
65525         * math/w_exp2f.c: Likewise.
65526         * math/w_exp2l.c: Likewise.
65527         * math/libm-test.inc (exp2_test): Require overflow exception for
65528         1e6 input.
65530         [BZ #3866]
65531         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
65532         range of signed 64-bit integers before using fistpll.  Remove
65533         checks for whether integers fit in mantissa bits.
65534         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
65535         the range of signed 32-bit integers before using fistpl.  Remove
65536         checks for whether integers fit in mantissa bits.
65537         * sysdeps/i386/fpu/e_powl.S (p64): New object.
65538         (__ieee754_powl): Test for y outside the range of signed 64-bit
65539         integers before using fistpll.  Reduce 64-bit values to 63-bit
65540         ones as needed.
65541         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
65542         divide-by-zero is raised for zero to large negative powers.
65543         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
65544         (__ieee754_powl): Test for y outside the range of signed 64-bit
65545         integers before using fistpll.  Reduce 64-bit values to 63-bit
65546         ones as needed.
65547         * math/libm-test.inc (pow_test): Add more tests.
65549 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65551         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
65552         <stdio-common/_itoa.h>.
65553         * debug/segfault.c: Likewise.
65554         * elf/dl-cache.c: Likewise.
65555         * elf/dl-minimal.c: Likewise.
65556         * elf/dl-misc.c: Likewise.
65557         * elf/dl-sysdep.c: Likewise.
65558         * elf/dl-version.c: Likewise.
65559         * elf/rtld.c: Likewise.
65560         * hurd/hurdsock.c: Likewise.
65561         * hurd/lookup-retry.c: Likewise.
65562         * malloc/malloc.c: Likewise.
65563         * malloc/mtrace.c: Likewise.
65564         * nscd/nscd_getgr_r.c: Likewise.
65565         * nscd/nscd_getpw_r.c: Likewise.
65566         * nscd/nscd_getserv_r.c: Likewise.
65567         * posix/getopt_init.c: Likewise.
65568         * posix/wordexp.c: Likewise.
65569         * stdio-common/_itoa.c: Likewise.
65570         * stdio-common/printf_fphex.c: Likewise.
65571         * stdio-common/vfprintf.c: Likewise.
65572         * string/_strerror.c: Likewise.
65573         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
65574         * sysdeps/i386/i686/hp-timing.h: Likewise.
65575         * sysdeps/mach/_strerror.c: Likewise.
65576         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
65577         * sysdeps/mach/hurd/sethostid.c: Likewise.
65578         * sysdeps/mach/hurd/xmknodat.c: Likewise.
65579         * sysdeps/mach/xpg-strerror.c: Likewise.
65580         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65581         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
65582         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
65583         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
65584         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
65585         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
65586         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
65587         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
65588         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
65589         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
65590         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
65591         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
65592         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
65593         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65594         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65595         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
65596         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
65597         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
65598         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
65599         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
65600         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
65602         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
65604         * stdio-common/_itoa.h: Moved to ...
65605         * sysdeps/generic/_itoa.h: Here.
65607         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
65609         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
65610         instead of "_itoa.h" and "_itowa.h".
65611         * stdio-common/vfprintf.: Likewise.
65613 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65615         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
65616         <bits/wordsize.h>.
65617         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
65618         (__signbit): Likwise.
65619         (llrintf): Likwise.
65620         (llrint): Likwise.
65622 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65624         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
65625         __WORDSIZE != 64.
65627 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
65629         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
65630         OVERFLOW_EXCEPTION_OK.
65631         * math/libm-test.inc ("Philosophy"): Update comment about
65632         exception testing.
65633         (OVERFLOW_EXCEPTION): Define.
65634         (OVERFLOW_EXCEPTION_OK): Likewise.
65635         (INVALID_EXCEPTION_OK): Renumber.
65636         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65637         (IGNORE_ZERO_INF_SIGN): Likewise.
65638         (test_exceptions): Handle FE_OVERFLOW.
65639         (exp10_test): Expect overflow exceptions.
65640         (exp2_test): Likewise.
65641         (expm1_test): Likewise.
65642         (nextafter_test): Likewise.
65643         (pow_test): Likewise.
65644         (scalbn_test): Likewise.
65645         (scalbln_test): Likewise.
65647 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65649         * sysdeps/x86_64/bits/atomic.h
65650         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
65651         64bit integer.
65652         (atomic_exchange_acq): Likewise.
65653         (__arch_exchange_and_add_body): Likewise.
65654         (__arch_add_body): Likewise.
65655         (atomic_add_negative): Likewise.
65656         (atomic_add_zero): Likewise.
65658 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65660         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
65661         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
65663 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65665         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
65666         Check __x86_64__ instead of __WORDSIZE.
65668 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65670         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
65672 2012-03-19  David S. Miller  <davem@davemloft.net>
65674         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65676         * sysdeps/sparc/fpu/fenv_private.h: New file.
65677         * sysdeps/sparc/fpu/math_private.h: Use it.
65678         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
65679         Remove.
65680         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
65681         (libc_feholdexcept_setroundl): Remove.
65682         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
65683         Remove.
65684         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
65685         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
65687 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65689         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
65690         int64_t instead of long int.
65691         (INSERT_WORDS64): Likwise.
65693 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65695         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
65696         _Unwind_GetCFA return to _Unwind_Ptr first.
65698 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
65700         [BZ #13629]
65701         * math/s_clog.c: Include <float.h>.
65702         (__clog): Scale large or subnormal inputs.
65703         * math/s_clogf.c: Likewise.
65704         * math/s_clogl.c: Likewise.
65705         * math/s_clog10.c: Include <float.h>.
65706         (M_LOG10_2): Define.
65707         (__clog10): Scale large or subnormal inputs.
65708         * math/s_clog10f.c: Likewise.
65709         * math/s_clog10l.c: Likewise.
65710         * math/libm-test.inc (clog_test): Add more tests.
65711         (clog10_test): Likewise.
65712         * sysdeps/i386/fpu/libm-test-ulps: Update.
65713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65715         [BZ #11451]
65716         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
65717         x and y.
65718         * math/libm-test.inc (atan2_test): Add another test.
65720         * Makerules (common-objdir-compile): Remove.
65721         * sysdeps/unix/Makefile (config-generated): Do not add
65722         $(unix-generated) to variable.
65723         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
65724         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
65725         Remove rule.
65726         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
65727         Likewise.
65728         [generic bits/local_lim.h] (before-compile): Do not append to
65729         variable.
65730         [generic bits/local_lim.h] (common-generated): Likewise.
65731         [generic sys/param.h] (before-compile): Do not append to variable.
65732         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
65733         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
65734         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
65735         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
65736         include.
65737         [generic sys/param.h] (sys/param.h-includes): Remove variable.
65738         [generic sys/param.h] (sys/param.h-includes): Remove rule.
65739         [generic sys/param.h] ($(addprefix
65740         $(common-objpfx),$(sys/param.h-includes))): Likewise.
65741         [generic sys/param.h] (common-generated): Do not append to
65742         variable.
65743         [generic sys/param.h] (sysdep_headers): Likewise.
65744         [generic bits/errno.h] (before-compile): Do not append to
65745         variable.
65746         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
65747         rule.
65748         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
65749         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
65750         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
65751         [generic bits/errno.h] (common-generated): Do not append to
65752         variable.
65753         [generic bits/ioctls.h] (before-compile): Do not append to
65754         variable.
65755         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
65756         rule.
65757         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
65758         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
65759         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
65760         rule.
65761         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
65762         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
65763         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
65764         [generic bits/ioctls.h] (common-generated): Do not append to
65765         variable.
65766         [generic sys/syscall.h] (syscall.h): Remove variable.
65767         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
65768         rule.
65769         [generic sys/syscall.h] (before-compile): Do not append to
65770         variable.
65771         [generic sys/syscall.h] (common-generated): Likewise.
65772         * sysdeps/unix/errnos-tmpl.c: Remove file.
65773         * sysdeps/unix/errnos.awk: Likewise.
65774         * sysdeps/unix/ioctls-tmpl.c: Likewise.
65775         * sysdeps/unix/ioctls.awk: Likewise.
65776         * sysdeps/unix/mk-local_lim.c: Likewise.
65777         * sysdeps/unix/snarf-ioctls: Likewise.
65779 2012-03-19  Richard Henderson  <rth@twiddle.net>
65781         * sysdeps/i386/fpu/fenv_private.h: New file.
65782         * sysdeps/i386/fpu/math_private.h: Use it.
65783         (math_opt_barrier, math_force_eval): Remove.
65784         (libc_feholdexcept_setround_53bit): Remove.
65785         (libc_feupdateenv_53bit): Remove.
65786         * sysdeps/x86_64/fpu/math_private.h: Likewise.
65787         (math_opt_barrier, math_force_eval): Remove.
65788         (libc_feholdexcept): Remove.
65789         (libc_feholdexcept_setround): Remove.
65790         (libc_fetestexcept, libc_fesetenv): Remove.
65791         (libc_feupdateenv_test): Remove.
65792         (libc_feupdateenv, libc_feholdsetround): Remove.
65793         (libc_feresetround): Remove.
65795         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
65796         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
65798         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
65799         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
65800         (libc_feupdateenv_testl): New.
65801         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
65802         (libc_feupdateenv_testf): New.
65803         (libc_feupdateenv): Use libc_feupdateenv_test.
65804         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
65805         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
65807         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
65808         (libc_feholdsetroundf, libc_feholdsetroundl): New.
65809         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
65810         (libc_feresetround_noex): New.
65811         (libc_feresetround_noexf): New.
65812         (libc_feresetround_noexl): New.
65813         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
65814         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
65815         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
65816         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
65817         SET_RESTORE_ROUND.
65818         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
65819         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
65820         (__cos): Likewise.
65821         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
65822         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
65823         SET_RESTORE_ROUND_NOEX.
65824         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
65825         SET_RESTORE_ROUND_NOEXF.
65826         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
65827         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
65828         (libc_feholdsetroundf): New.
65829         (libc_feresetround, libc_feresetroundf): New.
65831         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
65832         (libc_feholdexcept_setround_53bit): Convert from macro to function.
65833         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
65835         * sysdeps/generic/math_private.h: Include <fenv.h>.
65836         (default_libc_feholdexcept): New.
65837         (default_libc_feholdexcept_setround): New.
65838         (default_libc_fesetenv, default_libc_feupdateenv): New.
65839         (libc_feholdexcept): Only define if undefined.
65840         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
65841         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
65842         (libc_feholdexcept_setroundl): Likewise.
65843         (libc_feholdexcept_setround_53bit): Likewise.
65844         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
65845         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
65846         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
65847         (libc_feupdateenv_53bit): Likewise.
65848         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
65849         (libc_feholdexcept): Convert from macro to inline function.
65850         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
65851         (libc_fesetenv, libc_feupdateenv): Likewise.
65853         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
65854         not previously defined.
65855         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
65856         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
65857         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
65858         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
65859         * sysdeps/ieee754/flt-32/math_private.h: New file.
65860         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
65861         math_private.h below SET_FLOAT_WORD.
65862         (__isnan, __isinf_ns, __finite): Remove.
65863         (__isnanf, __isinf_nsf, __finitef): Remove.
65865 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
65867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65869 2012-03-17  David S. Miller  <davem@davemloft.net>
65871         [BZ #6471]
65872         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
65873         for 2.16.
65875 2012-03-16  David S. Miller  <davem@davemloft.net>
65877         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
65878         warnings.
65880         [BZ #6471]
65881         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
65882         properly.
65883         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
65884         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
65885         sysdep_routines when subdir is sysvipc.
65886         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
65887         __getshmlba helper.
65889         * sysdeps/sparc/fpu/libm-test/ulps: Update.
65891 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65893         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
65894         [__LP64__].
65896 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65898         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
65899         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
65900         (__lround): Renamed to ...
65901         (__llround): This.  Replace long int with long long int.
65902         Define lround functions as aliases of llround functions.
65903         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
65905 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65907         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
65908         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
65909         adresses to uintptr_t.  Replace "long int" and "unsigned long
65910         int" with "greg_t" on va_arg.
65912 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65914         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
65915         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
65917         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
65918         Move e_machine check before EI_CLASS check.  Handle x32
65919         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
65920         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
65921         SKIP_EM_IA_64 and include
65922         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
65924         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
65925         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
65926         (add_system_dir): New macro.
65928         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
65929         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
65931 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
65933         [BZ #2551]
65934         [BZ #2552]
65935         [BZ #2553]
65936         [BZ #2554]
65937         [BZ #2562]
65938         [BZ #2563]
65939         [BZ #2565]
65940         [BZ #2566]
65941         [BZ #2576]
65942         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
65943         (y0): Likewise.
65944         * math/w_j0f.c (j0f): Likewise.
65945         (y0f): Likewise.
65946         * math/w_j0l.c (__j0l): Likewise.
65947         (__y0l): Likewise.
65948         * math/w_j1.c (j1): Likewise.
65949         (y1): Likewise.
65950         * math/w_j1f.c (j1f): Likewise.
65951         (y1f): Likewise.
65952         * math/w_j1l.c (__j1l): Likewise.
65953         (__y1l): Likewise.
65954         * math/w_jn.c (jn): Likewise.
65955         (yn): Likewise.
65956         * math/w_jnf.c (jnf): Likewise.
65957         (ynf): Likewise.
65958         * math/w_jnl.c (__jnl): Likewise.
65959         (__ynl): Likewise.
65960         * math/libm-test.inc (j0_test): Add more tests.
65961         (j1_test): Likewise.
65962         (jn_test): Likewise.  Add trailing semicolon to existing test.
65963         (y0_test): Likewise.
65964         (y1_test): Likewise.
65965         * sysdeps/i386/fpu/libm-test-ulps: Update.
65966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65968         [BZ #13851]
65969         [BZ #13854]
65970         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
65971         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
65972         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
65973         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
65974         (__tanl): Set errno for infinite argument.
65975         * sysdeps/i386/fpu/mptan.c: Remove.
65976         * sysdeps/i386/fpu/s_tan.S: Likewise.
65977         * sysdeps/i386/fpu/s_tanl.S: Likewise.
65978         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
65979         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
65980         * math/libm-test.inc (tan_test): Add more tests and enable more
65981         tests for double and long double.
65982         * sysdeps/i386/fpu/libm-test-ulps: Update.
65983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65985 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
65987         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
65988         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
65990 2012-03-16  Roland McGrath  <roland@hack.frob.com>
65992         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
65993         * configure.in: Use it for both main tree and add-ons.
65994         * configure: Regenerated.
65996 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65998         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
66000 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
66002         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
66003         in comment.
66005         [BZ #13851]
66006         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
66007         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
66008         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
66009         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
66010         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
66011         infinite argument.
66012         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
66013         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
66014         != 0 for prec == 2.
66015         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
66016         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
66017         * sysdeps/i386/fpu/s_cosl.S: Likewise.
66018         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
66019         * sysdeps/i386/fpu/s_sinl.S: Likewise.
66020         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
66021         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
66022         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
66023         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
66024         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
66025         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
66026         * math/libm-test.inc (cos_test): Add more tests and enable more
66027         tests for long double.
66028         (sin_test): Likewise.
66029         (sincos_test): Likewise.
66030         * sysdeps/i386/fpu/libm-test-ulps: Update.
66031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66033 2012-03-16  David S. Miller  <davem@davemloft.net>
66035         * sysdeps/sparc/fpu/math_private.h: New file.
66037 2012-03-15  David S. Miller  <davem@davemloft.net>
66039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
66040         file.
66041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
66042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
66043         file.
66044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
66045         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
66046         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
66047         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
66048         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
66049         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
66050         sysdep routines.
66051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
66053         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
66054         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
66056         * sysdeps/sparc/sparc-ifunc.h: New file.
66057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
66058         sparc-ifunc.h
66059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
66060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
66061         Likewise.
66062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
66063         Likewise.
66064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
66065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
66066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
66068         Likewise.
66069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
66070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
66071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
66072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
66073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
66074         Likewise.
66075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
66076         Likewise.
66077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
66078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
66079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
66080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
66081         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
66082         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
66083         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
66084         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
66085         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
66086         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
66087         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
66088         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
66089         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
66090         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
66091         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
66092         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
66093         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
66094         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
66095         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
66096         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
66097         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
66098         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
66099         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
66100         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
66102 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
66104         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
66105         scaling.
66106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66108 2012-03-15  Andreas Jaeger  <aj@suse.de>
66110         [BZ #13852]
66111         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
66112         ieee754/flt-32 implementation for sin, cos and sincos.
66113         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
66114         * sysdeps/i386/fpu/s_cosf.S: Likewise.
66115         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
66116         * sysdeps/i386/fpu/s_sinf.S: Likewise.
66117         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
66118         ieee754/flt-32 implementation for tan.
66120         * math/libm-test.inc (cos_test): Enable some large input tests for
66121         float as well
66122         (sin_test): Likewise.
66123         (sincos_test): Likewise.
66124         (tan_test): Add tests for large input.
66126         * sysdeps/i386/fpu/libm-test-ulps: Update.
66128 2012-03-15  Andreas Jaeger  <aj@suse.de>
66130         [BZ #13658]
66131         * math/libm-test.inc (cos_test): Add more test cases.
66132         (sin_test): Likewise.
66133         (sincos_test): Likewise.
66135 2012-03-15  Andreas Jaeger  <aj@suse.de>
66137         [BZ #13837]
66138         * math/libm-test.inc (cos_test): Add a test case for large input
66139         value.
66140         (sin_test): Likewise.
66141         (sincos_test): Likewise.
66143 2012-03-15  Andreas Jaeger  <aj@suse.de>
66144             Joseph Myers  <joseph@codesourcery.com>
66146         [BZ #13658]
66147         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
66148         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
66149         * sysdeps/i386/fpu/branred.c: Likewise.
66150         * sysdeps/i386/fpu/dosincos.c: Likewise.
66151         * sysdeps/i386/fpu/mpa.c: Likewise.
66152         * sysdeps/i386/fpu/s_cos.S: Likewise.
66153         * sysdeps/i386/fpu/s_sin.S: Likewise.
66154         * sysdeps/i386/fpu/s_sincos.S: Likewise.
66155         * sysdeps/i386/fpu/sincos32.c: Likewise.
66157         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
66158         Define.
66159         (libc_feupdateenv_53bit): Define.
66160         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
66161         Define.
66162         (libc_feupdateenv_53bit): Define.
66164         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
66165         53 bit (without extend i386 double precision).
66167         * math/libm-test.inc (sincos_test): Add tests for large input.
66168         (sin): Likewise.
66169         (cos): Likewise.
66171         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
66173 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
66175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66177 2012-03-15  David S. Miller  <davem@davemloft.net>
66179         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
66180         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
66181         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
66182         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
66183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
66184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
66185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
66186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
66187         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
66188         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
66189         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
66190         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
66191         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
66192         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
66193         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
66194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
66195         file.
66196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
66197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
66198         file.
66199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
66200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
66201         file.
66202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
66203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
66204         file.
66205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
66206         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
66207         fmin/fmax sysdep routines.
66208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
66210 2012-03-14  David S. Miller  <davem@davemloft.net>
66212         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
66213         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
66214         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
66215         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
66216         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
66217         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
66218         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
66219         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
66220         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
66221         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
66222         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
66223         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
66224         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
66225         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
66226         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
66227         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
66228         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
66229         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
66230         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
66231         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
66232         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
66233         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
66234         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
66235         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
66236         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
66237         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
66238         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
66239         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
66240         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
66241         routines.
66242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
66243         file.
66244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
66245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
66246         file.
66247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
66248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
66249         file.
66250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
66251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
66252         file.
66253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
66254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
66255         file.
66256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
66257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
66258         file.
66259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
66260         file.
66261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
66262         file.
66263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
66264         file.
66265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
66266         New file.
66267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
66268         file.
66269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
66270         file.
66271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
66272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
66273         file.
66274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
66275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
66276         file.
66277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
66278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
66279         file.
66280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
66281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
66282         VIS3 routines.
66284         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
66285         New file.
66287         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66289         * sysdeps/sparc/configure.in: New file.
66290         * sysdeps/sparc/configure: Generate.
66291         * configure.in (libc_cv_sparc_as_vis3): Substitute.
66292         * configure: Regenerate.
66293         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
66294         * config.make.in (have-as-vis3): New.
66295         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
66296         available use -Av9d instead of -Av9a.
66297         * sysdeps/sparc/sparc64/Makefile: Likewise.
66298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
66299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
66300         New file.
66301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
66302         file.
66303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
66304         New file.
66305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
66306         file.
66307         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
66308         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
66309         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
66310         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
66311         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
66313         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
66314         fzeros/fnegs to load 0x80000000 into a float register instead of
66315         using the stack.
66316         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
66318 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
66320         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66321         bits/syscall.h.
66322         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
66323         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
66324         ($(inst_includedir)/bits/syscall.h): Remove rule.
66325         ($(objpfx)bits/syscall.d): Include instead of
66326         $(objpfx)syscall-list.d.
66327         (generated): Change syscall-list.h and syscall-list.d to
66328         bits/syscall.h and bits/syscall.d.
66330 2012-03-14  Roland McGrath  <roland@hack.frob.com>
66332         [BZ #13846]
66333         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
66335 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
66337         [BZ #13841]
66338         * math/s_csqrt.c: Include <float.h>.
66339         (__csqrt): Scale large or subnormal inputs.
66340         * math/s_csqrtf.c: Likewise.
66341         * math/s_csqrtl.c: Likewise.
66342         * math/libm-test.inc (csqrt_test): Add more tests.
66343         * sysdeps/i386/fpu/libm-test-ulps: Update.
66344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66346         [BZ #13840]
66347         * math/libm-test.inc (hypot_test): Add more tests.
66349 2012-03-13  David S. Miller  <davem@davemloft.net>
66351         [BZ #13840]
66352         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
66353         double-precision for the calculation instead of scaling.
66355 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
66357         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
66358         manipulate bits before adding and subtracting TWO52[sx].
66359         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
66360         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
66361         Likewise.
66362         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
66364 2012-03-13  David S. Miller  <davem@davemloft.net>
66366         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
66367         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
66368         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
66369         rtld-global-offsets.h
66370         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66372         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
66373         large parameters.
66375         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
66377         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
66378         'err' in the ifdef scope in which it is actually used.
66380         * nss/nss_db/db-init.c: Include string.h
66382 2012-03-12  David S. Miller  <davem@davemloft.net>
66384         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
66385         masking out of the most significant byte of random value used.
66386         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66387         Fix coding style in previous change.
66389         * sysdeps/unix/sysv/linux/kernel-features.h
66390         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
66391         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
66392         expression.
66393         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
66394         later.
66396 2012-03-11  David S. Miller  <davem@davemloft.net>
66398         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
66399         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
66400         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
66401         for 'resultvar' otherwise things get truncated on 64-bit.
66403         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66404         Fix masking out of the most significant byte of random value used.
66406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66408 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
66410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66412 2012-03-09  David S. Miller  <davem@davemloft.net>
66414         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
66415         variables with appropriate CPP guards.
66416         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
66417         from the frame pointer, not the stack pointer.  Correct layout
66418         comments.  Fix test on resulting framesize and the management of
66419         the outregs buffer for pltexit.  Preserve floating point return
66420         values across _dl_call_pltexit call.
66421         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
66422         framesize and the management of the outregs buffer for pltexit.
66423         Preserve floating point return values across _dl_call_pltexit
66424         call.
66425         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
66426         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
66427         (la_sparc64_gnu_pltexit): New functions.
66428         (print_exit): Fix format string for return register value.
66430 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
66432         * sunrpc/Makefile (others): Add rpcgen.
66433         ($(objpfx)rpcgen): Remove special build rule and dependency on
66434         libc.
66435         * sunrpc/rpcgen.c: New file.
66437 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
66439         [BZ #13673]
66440         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
66441         * stdio-common/bug-vfprintf-nargs.c: Likewise.
66442         * sysdeps/i386/crti.S: Likewise.
66443         * sysdeps/i386/crtn.S: Likewise.
66444         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
66445         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
66446         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
66447         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
66448         * sysdeps/sh/crti.S: Likewise.
66449         * sysdeps/sh/crtn.S: Likewise.
66450         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
66452         [BZ #13673]
66453         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
66454         with URL.
66455         * locale/programs/locfile-kw.gperf: Likewise.
66456         * locale/programs/charmap-kw.h: Regenerated.
66457         * locale/programs/locfile-kw.h: Likewise.
66459         [BZ #13673]
66460         * intl/plural.y: Replace FSF snail mail address with URL.
66461         * intl/plural.c: Regenerated.
66463 2012-03-09  Richard Henderson  <rth@twiddle.net>
66465         * include/math_private.h: Remove file.
66466         * math/math_private.h: Move file ...
66467         * sysdeps/generic/math_private.h: ... here.
66469         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
66470         * sysdeps/powerpc/fpu/math_private.h: Likewise.
66471         * sysdeps/x86_64/fpu/math_private.h: Likewise.
66473         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
66474         and <math_private.h>.
66475         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
66476         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
66477         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
66478         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
66479         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
66480         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
66481         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66482         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66483         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
66484         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66485         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66486         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66487         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
66488         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66489         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
66490         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
66491         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66492         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
66493         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
66494         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
66495         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66496         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
66497         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
66498         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66499         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
66500         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66501         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
66502         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66503         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66504         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
66505         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
66506         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66507         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
66508         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
66509         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
66510         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
66511         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
66512         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
66513         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
66514         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66515         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
66516         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
66517         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
66518         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
66519         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
66520         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
66521         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
66522         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
66523         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
66524         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
66525         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
66526         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
66527         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
66528         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
66529         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
66530         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
66531         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66532         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
66533         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
66534         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
66535         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66536         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
66537         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66538         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
66539         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
66540         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66541         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66542         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66543         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
66544         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
66545         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
66546         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66547         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
66548         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66549         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
66550         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
66551         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
66552         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66553         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
66554         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
66555         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
66556         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
66557         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
66558         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
66559         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66560         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
66561         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
66562         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
66563         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
66564         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66565         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66566         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
66567         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66568         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
66569         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
66570         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
66571         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66572         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
66573         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66574         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
66575         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
66576         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
66577         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
66578         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
66579         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
66580         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
66581         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
66582         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
66583         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
66584         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
66585         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
66586         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
66587         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66588         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
66589         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
66590         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66591         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
66592         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
66593         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
66594         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66595         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
66596         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
66597         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66598         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
66599         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
66600         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
66601         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
66602         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
66603         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
66604         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
66605         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
66606         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66607         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
66608         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
66609         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
66610         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66611         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66612         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
66613         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
66614         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66615         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66616         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66617         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66618         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
66619         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
66620         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
66621         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
66622         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
66623         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
66624         * sysdeps/ieee754/k_standard.c: Likewise.
66625         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66626         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66627         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66628         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66629         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66630         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66631         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66632         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66633         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66634         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66635         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66636         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
66637         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
66638         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
66639         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
66640         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
66641         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
66642         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
66643         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
66644         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
66645         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
66646         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
66647         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
66648         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
66649         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
66650         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
66651         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
66652         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
66653         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
66654         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
66655         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
66656         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
66657         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
66658         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
66659         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
66660         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
66661         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
66662         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
66663         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
66664         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
66665         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
66666         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
66667         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
66668         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
66669         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
66670         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
66671         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
66672         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
66673         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
66674         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
66675         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
66676         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
66677         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
66678         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
66679         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
66680         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
66681         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
66682         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
66683         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
66684         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
66685         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
66686         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
66687         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
66688         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
66689         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66690         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66691         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
66692         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
66693         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
66694         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
66695         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
66696         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66697         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
66698         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
66699         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
66700         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
66701         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
66702         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
66703         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66704         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
66705         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
66706         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
66707         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
66708         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
66709         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
66710         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
66711         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
66712         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
66713         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
66714         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
66715         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
66716         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
66717         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
66718         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
66719         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
66720         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
66721         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
66722         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
66723         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
66724         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
66725         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
66726         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
66727         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
66728         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
66729         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
66730         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
66731         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
66732         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
66733         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
66734         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
66735         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
66736         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
66737         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
66738         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66739         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
66740         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66741         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
66742         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66743         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66744         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
66745         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66746         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
66747         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
66748         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
66749         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66750         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
66751         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
66752         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
66753         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
66754         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
66755         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
66756         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
66757         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
66758         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
66759         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
66760         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
66761         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
66762         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
66763         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
66764         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
66765         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
66766         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
66767         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
66768         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
66769         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
66770         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
66771         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
66772         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
66773         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
66774         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
66775         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
66776         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
66777         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
66778         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
66779         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
66780         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
66781         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
66782         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
66783         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
66784         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
66785         * sysdeps/ieee754/s_lib_version.c: Likewise.
66786         * sysdeps/ieee754/s_matherr.c: Likewise.
66787         * sysdeps/ieee754/s_signgam.c: Likewise.
66788         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66789         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66790         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
66791         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
66792         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
66793         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
66794         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
66795         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
66796         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
66797         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
66798         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
66799         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
66800         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
66801         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
66802         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
66803         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
66804         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66805         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
66806         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66807         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
66808         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
66810 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
66812         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
66813         * sunrpc/rpc_main.c: Likewise.
66814         * sunrpc/rpc_svcout.c: Likewise.
66816 2012-03-09  David S. Miller  <davem@davemloft.net>
66818         * include/math_private.h: New file.
66820 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
66822         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
66823         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
66824         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
66825         from <bits/socket_type.h>.
66826         (enum __socket_type): Don't define here.
66827         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
66828         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66829         bits/socket_type.h.
66831         [BZ #13566]
66832         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
66833         checking __USE_GNU.
66835         * Makerules ($(inst_includedir)/%.h): New rule.
66836         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
66837         (install-others): Remove variable setting.
66838         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
66840 2012-03-08  Richard Henderson  <rth@twiddle.net>
66842         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
66843         from macro to inline function; merge with the
66844         !__LIBC_INTERNAL_MATH_INLINES version.
66845         (__ieee754_sqrtf): Likewise.
66847         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
66848         to inline function.
66849         (__rintf, __floor, __floorf): Likewise.
66851         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
66852         macro to inline function.
66853         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
66855         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
66856         not <math/math_private.h>.
66858 2012-03-08  David S. Miller  <davem@davemloft.net>
66860         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
66861         copyright year.
66862         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
66864 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
66866         * resolv/gai_misc.c (handle_requests): Fix struct timespec
66867         normalization.
66868         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
66869         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
66871 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
66873         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
66874         be defined individually, they must be defined as a block.  Define
66875         S for printing a string instead of hidint the different by using a
66876         macro for adding the 'l'.
66877         * stdio-common/tst-fphex-wide.c: Adjust.
66879 2012-03-07  Marek Polacek  <polacek@redhat.com>
66881         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
66883 2012-03-08  Marek Polacek  <polacek@redhat.com>
66885         [BZ #13806]
66886         * stdio-common/Makefile (tests): Add tst-fphex-wide.
66887         * stdio-common/tst-fphex.c: Define a few macros to make the
66888         test reusable.  Use them.
66889         * stdio-common/tst-fphex-wide.c: New file.
66891 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
66893         [BZ #6911]
66894         * manual/macros.texi (gnusystems): New macro.
66895         (nongnusystems): Likewise.
66896         (gnulinuxhurdsystems): Likewise.
66897         (gnuhurdsystems): Likewise..
66898         (gnulinuxsystems): Likewise.
66899         * manual/charset.texi: Use new macros or @theglibc{} to refer to
66900         variants of the GNU system, not "GNU system".
66901         * manual/conf.texi: Likewise.
66902         * manual/errno.texi: Likewise.  Update example of errno macro
66903         expansion.
66904         * manual/filesys.texi: Likewise.
66905         (getumask): Document as specific to GNU/Hurd.
66906         * manual/install.texi: Likewise.  Reword some references to
66907         GNU/Linux.
66908         * manual/intro.texi: Likewise.
66909         * manual/io.texi: Likewise.
66910         (File Name Portability): Detail which constraints are inapplicable
66911         to all GNU systems and which are only inapplicable to GNU/Hurd.
66912         * manual/job.texi: Likewise.
66913         * manual/llio.texi: Likewise.
66914         (O_NOCTTY): Document as present on GNU/Linux.
66915         * manual/maint.texi: Likewise.
66916         * manual/memory.texi: Likewise.
66917         * manual/pattern.texi: Likewise.
66918         * manual/pipe.texi: Likewise.
66919         * manual/process.texi: Likewise.
66920         * manual/resource.texi: Likewise.
66921         (RUSAGE_CHILDREN): Remove statement about specifying a particular
66922         child on GNU/Hurd.
66923         * manual/setjmp.texi: Likewise.
66924         * manual/signal.texi: Likewise.
66925         * manual/startup.texi: Likewise.
66926         * manual/stdio.texi: Likewise.
66927         * manual/terminal.texi: Likewise.
66928         (ONLCR): Document as POSIX.
66929         (OXTABS): Document availability on GNU/Linux as XTABS.
66930         (ONOEOT): Document availability separately from other bits.
66931         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
66932         * manual/time.texi: Likewise.
66933         * manual/users.texi: Likewise.
66934         * INSTALL: Regenerated.
66935         * sysdeps/gnu/errlist.c: Regenerated.
66937         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
66938         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
66939         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
66940         puts.
66941         * configure: Regenerated.
66943 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
66945         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
66946         default includes instead of AC_HEADER_CHECK.
66947         * sysdeps/i386/configure: Regenerated.
66949         [BZ #10716]
66950         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
66951         * math/s_cacoshf.c (__cacoshf): Likewise.
66952         * math/s_cacoshl.c (__cacoshl): Likewise.
66953         * math/s_casinh.c (__casinh): Set signs of result from argument.
66954         * math/s_casinhf.c (__casinhf): Likewise.
66955         * math/s_casinhl.c (__casinhl): Likewise.
66956         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
66957         (casinh_test): Add more tests.
66958         * sysdeps/i386/fpu/libm-test-ulps: Update.
66959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66961 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
66963         * po/zh_TW.po: Update from translation team.
66965         * login/Makefile (distribute): Remove variable.
66966         * catgets/Makefile: Likewise.
66967         * mach/Makefile: Likewise.
66968         * malloc/Makefile: Likewise.
66969         * misc/Makefile: Likewise.
66970         * iconv/Makefile: Likewise.
66971         * nscd/Makefile: Likewise.
66972         * hurd/Makefile: Likewise.
66973         * manual/Makefile: Likewise.
66974         * locale/Makefile: Likewise.
66975         * intl/Makefile: Likewise.
66976         * conform/Makefile: Likewise.
66977         * nss/Makefile: Likewise.
66978         * time/Makefile: Likewise.
66979         * soft-fp/Makefile: Likewise.
66980         * dirent/Makefile: Likewise.
66981         * gmon/Makefile: Likewise.
66982         * po/Makefile: Likewise.
66983         * rt/Makefile: Likewise.
66984         * socket/Makefile: Likewise.
66985         * math/Makefile: Likewise.
66986         * signal/Makefile: Likewise.
66987         * debug/Makefile: Likewise.
66988         * elf/Makefile: Likewise.
66989         * timezone/Makefile: Likewise.
66990         * stdlib/Makefile: Likewise.
66991         * iconvdata/Makefile: Likewise.
66992         * sunrpc/Makefile: Likewise.
66993         * io/Makefile: Likewise.
66994         * argp/Makefile: Likewise.
66995         * inet/Makefile: Likewise.
66996         * hesiod/Makefile: Likewise.
66997         * grp/Makefile: Likewise.
66998         * csu/Makefile: Likewise.
66999         * wctype/Makefile: Likewise.
67000         * crypt/Makefile: Likewise.
67001         * libio/Makefile: Likewise.
67002         * string/Makefile: Likewise.
67003         * nis/Makefile: Likewise.
67004         * resolv/Makefile: Likewise.
67005         * stdio-common/Makefile: Likewise.
67006         * wcsmbs/Makefile: Likewise.
67007         * dlfcn/Makefile: Likewise.
67008         * posix/Makefile: Likewise.
67010         [BZ #6959]
67011         * timezone/Makefile: Don't install timezone files, just the programs
67012         and scripts.
67014 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
67016         * nss/databases.def: Add missing gshadow entry.
67018         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
67020 2012-03-06  Marek Polacek  <polacek@redhat.com>
67022         [BZ #13726]
67023         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
67024         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
67025         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
67026         * stdio-common/tst-long-dbl-fphex.c: New file.
67028 2012-03-06  David S. Miller  <davem@davemloft.net>
67030         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67031         (set_obp_int): New function.
67032         (get_obp_int): New function.
67033         (__get_clockfreq_via_dev_openprom): Likewise.
67034         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
67035         Avoid unused variable warnings on 'val' and use builtin_expect.
67036         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
67037         __builtin_expect.
67038         (INLINE_CLONE_SYSCALL): Likewise.
67040 2012-03-05  David S. Miller  <davem@davemloft.net>
67042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67044 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
67046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67048         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
67049         only for |x| >= 40.
67050         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67052 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
67054         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
67055         Replace gettimeofday with __vdso_gettimeofday.
67057         * sysdeps/unix/sysv/linux/x86_64/init-first.c
67058         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
67059         __vdso_clock_gettime and __vdso_getcpu.
67061         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
67062         time with __vdso_time.
67064 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
67066         * manual/lang.texi (size_t): Note types to which size_t may be
67067         equivalent with the GNU C Library, but do not describe when
67068         differences between them are significant.
67070 2012-03-05  Andreas Jaeger  <aj@suse.de>
67072         * sysdeps/i386/fpu/libm-test-ulps: Update.
67074 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
67076         [BZ #3976]
67077         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
67078         (__ieee754_pow): Save and restore rounding mode and use
67079         round-to-nearest for main computations.
67080         * math/libm-test.inc (pow_test_tonearest): New function.
67081         (pow_test_towardzero): Likewise.
67082         (pow_test_downward): Likewise.
67083         (pow_test_upward): Likewise.
67084         (main): Call the new functions.
67085         * sysdeps/i386/fpu/libm-test-ulps: Update.
67086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67088         [BZ #3976]
67089         * math/libm-test.inc (cosh_test_tonearest): New function.
67090         (cosh_test_towardzero): Likewise.
67091         (cosh_test_downward): Likewise.
67092         (cosh_test_upward): Likewise.
67093         (sinh_test_tonearest): Likewise.
67094         (sinh_test_towardzero): Likewise.
67095         (sinh_test_downward): Likewise.
67096         (sinh_test_upward): Likewise.
67097         (main): Call the new functions.
67098         * sysdeps/i386/fpu/libm-test-ulps: Update.
67099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67101 2012-03-05  Tom de Vries  <tom@codesourcery.com>
67103         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
67104         default stack guard is set in last bytes.
67105         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
67107 2012-03-05  Kees Cook  <keescook@chromium.org>
67109         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
67111         [BZ #13656]
67112         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
67113         possibly allocate from heap instead of stack.
67114         * stdio-common/bug-vfprintf-nargs.c: New file.
67115         * stdio-common/Makefile (tests): Add nargs overflow test.
67117 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
67119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67121 2012-03-03  Marek Polacek  <polacek@redhat.com>
67123         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
67124         * math/math_private.h: Likewise.
67125         * stdlib/tst-strtod.c: Likewise.
67126         * sysdeps/i386/i486/bits/atomic.h: Likewise.
67127         * sysdeps/x86_64/bits/atomic.h: Likewise.
67129 2012-03-02  David S. Miller  <davem@davemloft.net>
67131         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
67132         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
67133         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
67134         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
67135         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
67136         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
67137         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
67138         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
67140 2012-03-02  Roland McGrath  <roland@hack.frob.com>
67142         [BZ #13792]
67143         * manual/examples/README: New file, says the example source files
67144         can be used under GPL>=2.
67145         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
67146         line containing just "*/".
67147         * manual/examples/add.c: Add copyright header (GPL>=2).
67148         * manual/examples/argp-ex1.c: Likewise.
67149         * manual/examples/argp-ex2.c: Likewise.
67150         * manual/examples/argp-ex3.c: Likewise.
67151         * manual/examples/argp-ex4.c: Likewise.
67152         * manual/examples/atexit.c: Likewise.
67153         * manual/examples/db.c: Likewise.
67154         * manual/examples/dir.c: Likewise.
67155         * manual/examples/dir2.c: Likewise.
67156         * manual/examples/execinfo.c: Likewise.
67157         * manual/examples/filecli.c: Likewise.
67158         * manual/examples/filesrv.c: Likewise.
67159         * manual/examples/fmtmsgexpl.c: Likewise.
67160         * manual/examples/genpass.c: Likewise.
67161         * manual/examples/inetcli.c: Likewise.
67162         * manual/examples/inetsrv.c: Likewise.
67163         * manual/examples/isockad.c: Likewise.
67164         * manual/examples/longopt.c: Likewise.
67165         * manual/examples/memopen.c: Likewise.
67166         * manual/examples/memstrm.c: Likewise.
67167         * manual/examples/mkfsock.c: Likewise.
67168         * manual/examples/mkisock.c: Likewise.
67169         * manual/examples/mygetpass.c: Likewise.
67170         * manual/examples/pipe.c: Likewise.
67171         * manual/examples/popen.c: Likewise.
67172         * manual/examples/rprintf.c: Likewise.
67173         * manual/examples/search.c: Likewise.
67174         * manual/examples/select.c: Likewise.
67175         * manual/examples/setjmp.c: Likewise.
67176         * manual/examples/sigh1.c: Likewise.
67177         * manual/examples/sigusr.c: Likewise.
67178         * manual/examples/stpcpy.c: Likewise.
67179         * manual/examples/strdupa.c: Likewise.
67180         * manual/examples/strftim.c: Likewise.
67181         * manual/examples/strncat.c: Likewise.
67182         * manual/examples/subopt.c: Likewise.
67183         * manual/examples/swapcontext.c: Likewise.
67184         * manual/examples/termios.c: Likewise.
67185         * manual/examples/testopt.c: Likewise.
67186         * manual/examples/testpass.c: Likewise.
67187         * manual/examples/timeval_subtract.c: Likewise.
67189         [BZ #13792]
67190         * manual/time.texi (Elapsed Time): Move timeval_subtract example
67191         function to ...
67192         * manual/timeval_subtract.c.texi: ... here, new file.
67194 2012-03-02  David S. Miller  <davem@davemloft.net>
67196         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
67198 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
67200         [BZ #3976]
67201         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
67202         (__sin): Save and restore rounding mode and use round-to-nearest
67203         for all computations.
67204         (__cos): Save and restore rounding mode and use round-to-nearest
67205         for all computations.
67206         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
67207         <fenv.h>.
67208         (tan): Save and restore rounding mode and use round-to-nearest for
67209         all computations.
67210         * math/libm-test.inc (cos_test_tonearest): New function.
67211         (cos_test_towardzero): Likewise.
67212         (cos_test_downward): Likewise.
67213         (cos_test_upward): Likewise.
67214         (sin_test_tonearest): Likewise.
67215         (sin_test_towardzero): Likewise.
67216         (sin_test_downward): Likewise.
67217         (sin_test_upward): Likewise.
67218         (tan_test_tonearest): Likewise.
67219         (tan_test_towardzero): Likewise.
67220         (tan_test_downward): Likewise.
67221         (tan_test_upward): Likewise.
67222         (main): Call the new functions.
67223         * sysdeps/i386/fpu/libm-test-ulps: Update.
67224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67226         [BZ #10135]
67227         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
67228         small n, then large n, before computing and testing k+n.
67229         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
67230         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
67231         Likewise.
67232         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
67233         Likewise.
67234         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
67235         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
67236         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
67237         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
67238         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
67239         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
67240         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
67241         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
67242         * math/libm-test.inc (scalbn_test): Add more tests.
67243         (scalbln_test): Likewise.
67245         * manual/filesys.texi (mode_t): Describe constraints on size and
67246         signedness, not exact equivalence to a particular type.
67247         (ino_t): Likewise.
67248         (ino64_t): Likewise.
67249         (dev_t): Likewise.
67250         (nlink_t): Likewise.
67251         (blkcnt_t): Likewise.
67252         (blkcnt64_t): Likewise.
67253         * manual/llio.texi (off_t): Likewise.
67255         [BZ #3976]
67256         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
67257         (__ieee754_exp): Save and restore rounding mode and use
67258         round-to-nearest for all computations.
67259         * math/libm-test.inc (exp_test_tonearest): New function.
67260         (exp_test_towardzero): Likewise.
67261         (exp_test_downward): Likewise.
67262         (exp_test_upward): Likewise.
67263         (main): Call the new functions.
67264         * sysdeps/i386/fpu/libm-test-ulps: Update.
67265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67267 2012-03-01  Chris Demetriou  <cgd@google.com>
67269         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
67270         have predictable order.
67272 2012-03-01  David S. Miller  <davem@davemloft.net>
67274         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
67276         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
67277         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
67278         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
67279         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
67281         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
67282         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
67283         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
67284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
67285         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
67286         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
67287         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
67288         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
67289         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
67291         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67293         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
67294         * sysdeps/sparc/fpu/libm-test-ulps: to here.
67295         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
67297         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
67298         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
67299         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
67300         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
67301         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
67302         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
67303         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
67304         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
67305         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
67306         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
67307         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
67308         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67309         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
67310         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
67311         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
67312         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67313         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
67314         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
67315         * sysdeps/sparc/elf/configure: Regenerated.
67317 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
67319         * configure.in (AS, LD): Require binutils 2.20 or later.
67320         * configure: Regenerated.
67321         * manual/install.texi (Tools for Compilation): Give binutils 2.20
67322         as required minimum version.
67323         * INSTALL: Regenerated.
67325         [BZ #2541]
67326         [BZ #4108]
67327         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
67328         before squaring exponent.
67329         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
67330         bottom long double and 27 bits of top long double before squaring
67331         exponent.
67332         * math/libm-test.inc (erfc_test): Add more tests.
67333         * sysdeps/i386/fpu/libm-test-ulps: Update.
67334         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67337 2012-03-01  Kai Tietz  <ktietz@redhat.com>
67339         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
67340         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
67341         containing bit-fields.
67342         * soft-fp/extended.h (_FP_UNION_E): Likewise.
67343         * soft-fp/single.h (_FP_UNION_S): Likewise.
67344         * soft-fp/double.h (_FP_UNION_D): Likewise.
67346 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
67348         [BZ #13786]
67349         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
67350         not include ../strcmp.S.
67351         [USE_AS_STRNCASECMP_L]: Likewise.
67352         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
67353         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
67354         * sysdeps/i386/i686/multiarch/strncase_l-c.c
67355         (__strncasecmp_l_ia32): Define as alias to
67356         __strncasecmp_l_nonascii.
67358         [BZ #5794]
67359         * math/libm-test.inc (expm1_test): Add test for bug 5794.
67360         * sysdeps/i386/fpu/libm-test-ulps: Update.
67361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67363         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
67364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67366 2012-02-29  Jeff Law  <law@redhat.com>
67368         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
67369         out of bounds read.
67371 2012-02-29  Marek Polacek  <polacek@redhat.com>
67373         [BZ #13706]
67374         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
67375         * elf/Makefile: Add rules to run tst-unused-dep.out.
67377 2012-02-28  David S. Miller  <davem@davemloft.net>
67379         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
67380         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
67381         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
67382         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
67383         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
67384         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
67386 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
67388         * math/libm-test.inc (llround_test): Move one test from
67389         lround_test.  Use TEST_f_L in moved test.
67390         (lround_test): Move misplaced test to llround_test.  Add testcase
67391         from bug 2561.
67393 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
67395         * sysdeps/x86_64/fpu/e_expf.S: New file.
67396         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
67398 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
67400         [BZ #13637]
67401         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
67402         of remain_len that may cause incomplete multi-byte character and
67403         false match.
67404         * posix/bug-regex33.c: New file.
67405         * posix/Makefile (tests): Add bug-regex33.
67407 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
67409         * manual/macros.texi: New file.
67410         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
67411         * manual/libc.texinfo: Include macros.texi.
67412         * manual/creatute.texi: Likewise.
67413         * manual/install.texi: Likewise.
67414         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
67415         @glibcadj{} in references to the GNU C Library.
67416         * manual/charset.texi: Likewise.
67417         * manual/conf.texi: Likewise.
67418         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
67419         when not using those macros.
67420         * manual/creature.texi: Likewise.
67421         * manual/crypt.texi: Likewise.
67422         * manual/errno.texi: Likewise.
67423         * manual/filesys.texi: Likewise.
67424         * manual/header.texi: Likewise.
67425         * manual/install.texi: Likewise.
67426         * manual/intro.texi: Likewise.
67427         * manual/io.texi: Likewise.
67428         * manual/job.texi: Likewise.
67429         * manual/lang.texi: Likewise.
67430         * manual/libc.texiinfo: Likewise.
67431         * manual/llio.texi: Likewise.
67432         * manual/locale.texi: Likewise.
67433         * manual/maint.texi: Likewise.
67434         * manual/math.texi: Likewise.
67435         * manual/memory.texi: Likewise.
67436         * manual/message.texi: Likewise.
67437         * manual/nss.texi: Likewise.
67438         * manual/pattern.texi: Likewise.
67439         * manual/process.texi: Likewise.
67440         * manual/resource.texi: Likewise.
67441         * manual/search.texi: Likewise.
67442         * manual/setjmp.texi: Likewise.
67443         * manual/signal.texi: Likewise.
67444         * manual/socket.texi: Likewise.
67445         * manual/startup.texi: Likewise.
67446         * manual/stdio.texi: Likewise.
67447         * manual/string.texi: Likewise.
67448         * manual/sysinfo.texi: Likewise.
67449         * manual/syslog.texi: Likewise.
67450         * manual/terminal.texi: Likewise.
67451         * manual/time.texi: Likewise.
67452         * manual/users.texi: Likewise.
67453         * INSTALL: Regenerated.
67454         * NOTES: Regenerated.
67455         * sysdeps/gnu/errlist.c: Regenerated.
67457 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
67459         * include/dirent.h: Include <dirstream.h> before
67460         <dirent/dirent.h>.
67462 2012-02-28  David S. Miller  <davem@davemloft.net>
67464         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
67465         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
67466         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
67467         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
67469 2012-02-27  David S. Miller  <davem@davemloft.net>
67471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
67472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
67473         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
67474         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
67476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
67477         frame pointer instead of stack pointer relative arg slot.
67478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
67479         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
67480         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
67482 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
67484         [BZ #3992]
67485         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
67487 2012-02-27  David S. Miller  <davem@davemloft.net>
67489         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
67490         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
67491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
67492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
67493         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
67494         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
67495         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
67496         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
67498 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
67500         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
67501         later.  Allow versions 5-9.
67502         * configure: Regenerated.
67503         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
67504         required minimum version and 4.6 as recommended version.  Do not
67505         mention bugs in GCC 2.7 and 2.8.
67506         * INSTALL: Regenerated.
67508 2012-02-27  David S. Miller  <davem@davemloft.net>
67510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
67511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
67512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
67513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
67514         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
67515         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
67516         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
67517         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
67519         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
67520         manipulate bits before adding and subtracting TWO112[sx].
67521         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
67523 2012-02-27  Roland McGrath  <roland@hack.frob.com>
67525         [BZ #13775]
67526         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
67527         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
67528         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
67529         being in POSIX, because they are in 1003.1-2008.
67531         * rt/tst-aio.c: Include <fcntl.h>.
67532         * rt/tst-aio7.c: Likewise.
67533         * rt/tst-aio64.c: Likewise.
67535         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
67537 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
67539         * manual/install.texi (--with-headers): Describe headers as
67540         interface headers, not private headers.
67541         (Specific advice for GNU/Linux systems): Describe use of headers
67542         from "make headers_install", not private headers from older
67543         kernels.
67544         * INSTALL: Regenerated.
67545         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
67546         Change to 2.6.19.
67547         * sysdeps/unix/sysv/linux/configure: Regenerated.
67549         * manual/llio.texi (fclean): Remove documentation.
67551         * manual/Makefile (libc-texi-generated): New variable.  Include
67552         version.texi.
67553         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
67554         $(libc-texi-generated), not duplicated list of files.
67555         (version.texi, stamp-version): New rules.
67556         (realclean): Remove $(libc-texi-generated), not individual files
67557         from that list.  Do not remove dir-add.texinfo.
67558         * manual/libc.texinfo: Comment out uses of edition numbers and
67559         references to printed manual.  Remove last-updated dates.
67560         (EDITION): Comment out.
67561         (ISBN): Likewise.
67562         (VERSION, UPDATED): Remove.
67563         (version.texi): Include.
67565 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
67567         * sysdeps/posix/spawni.c: Include <signal.h>.
67568         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
67569         * sysdeps/pthread/aio_fsync.c: Likewise.
67571 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
67573         * conform/Makefile (tests): Run only when not cross-compiling and
67574         when fast-check is not defined.
67576         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
67577         * conform/data/limits.h-data: Fixes for POSIX2008.
67578         * conform/run-conformtest.sh: Run all tests.
67579         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
67580         headers.
67581         * include/bits/dlfcn.h: Likewise.
67582         * include/langinfo.h: Likewise.
67583         * include/monetary.h: Likewise.
67584         * include/sys/poll.h: Likewise.
67586         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
67587         for __USE_GNU.
67588         * posix/spawn.h: Define __need_sigset_t.
67589         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
67590         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
67591         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
67592         to get sigevent_t only.
67593         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
67594         only for __USE_GNU.
67595         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67596         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67597         process_vm_writev only for __USE_GNU.
67598         * termios/termios.h: Declare tcgetsid also for POSIX2008.
67600         * conform/Makefile: For now ignore errors from run-conformtest.
67601         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
67602         POSIX to avoid namespace pollution.  Don't prepend headers.
67603         * conform/data/aio.h-data: Fixes for POSIX testing.
67604         * conform/data/fcntl.h-data: Likewise.
67605         * conform/data/glob.h-data: Likewise.
67606         * conform/data/grp.h-data: Likewise.
67607         * conform/data/pthread.h-data: Likewise.
67608         * conform/data/pwd.h-data: Likewise.
67609         * conform/data/signal.h-data: Likewise.
67610         * conform/data/spawn.h-data: Likewise.
67611         * conform/data/stdio.h-data: Likewise.
67612         * conform/data/stdlib.h-data: Likewise.
67613         * conform/data/stropts.h-data: Likewise.
67614         * conform/data/sys/mman.h-data: Likewise.
67615         * conform/data/sys/stat.h-data: Likewise.
67616         * conform/data/sys/types.h-data: Likewise.
67617         * conform/data/sys/wait.h-data: Likewise.
67618         * conform/data/time.h-data: Likewise.
67619         * conform/data/unistd.h-data: Likewise.
67620         * conform/data/utime.h-data: Likewise.
67622         * io/sys/stat.h: fchmod was always in POSIX.
67623         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
67624         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
67625         * rt/aio.h: Define __need_timespec before including <time.h>.
67626         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
67627         struct.  Add forward declaration of pthread_attr_t and use it in
67628         sigevent.
67629         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
67630         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
67631         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
67632         always remove CLK_TCK definition.
67634 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
67636         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
67638 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
67640         * conform/run-conformtest.sh: New file.
67641         * conform/Makefile: Run run-conformtest for tests.
67642         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
67643         support.
67645         * conform/data/uchar.h-data: New file.
67646         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
67647         * conform/data/arpa/inet.h-data: Likewise.
67648         * conform/data/assert.h-data: Likewise.
67649         * conform/data/complex.h-data: Likewise.
67650         * conform/data/cpio.h-data: Likewise.
67651         * conform/data/ctype.h-data: Likewise.
67652         * conform/data/dirent.h-data: Likewise.
67653         * conform/data/dlfcn.h-data: Likewise.
67654         * conform/data/errno.h-data: Likewise.
67655         * conform/data/fcntl.h-data: Likewise.
67656         * conform/data/float.h-data: Likewise.
67657         * conform/data/fmtmsg.h-data: Likewise.
67658         * conform/data/fnmatch.h-data: Likewise.
67659         * conform/data/ftw.h-data: Likewise.
67660         * conform/data/glob.h-data: Likewise.
67661         * conform/data/grp.h-data: Likewise.
67662         * conform/data/iconv.h-data: Likewise.
67663         * conform/data/inttypes.h-data: Likewise.
67664         * conform/data/langinfo.h-data: Likewise.
67665         * conform/data/libgen.h-data: Likewise.
67666         * conform/data/limits.h-data: Likewise.
67667         * conform/data/locale.h-data: Likewise.
67668         * conform/data/math.h-data: Likewise.
67669         * conform/data/monetary.h-data: Likewise.
67670         * conform/data/mqueue.h-data: Likewise.
67671         * conform/data/ndbm.h-data: Likewise.
67672         * conform/data/net/if.h-data: Likewise.
67673         * conform/data/netdb.h-data: Likewise.
67674         * conform/data/netinet/in.h-data: Likewise.
67675         * conform/data/nl_types.h-data: Likewise.
67676         * conform/data/poll.h-data: Likewise.
67677         * conform/data/pthread.h-data: Likewise.
67678         * conform/data/pwd.h-data: Likewise.
67679         * conform/data/regex.h-data: Likewise.
67680         * conform/data/sched.h-data: Likewise.
67681         * conform/data/search.h-data: Likewise.
67682         * conform/data/semaphore.h-data: Likewise.
67683         * conform/data/setjmp.h-data: Likewise.
67684         * conform/data/signal.h-data: Likewise.
67685         * conform/data/spawn.h-data: Likewise.
67686         * conform/data/stdarg.h-data: Likewise.
67687         * conform/data/stdio.h-data: Likewise.
67688         * conform/data/stdlib.h-data: Likewise.
67689         * conform/data/string.h-data: Likewise.
67690         * conform/data/strings.h-data: Likewise.
67691         * conform/data/stropts.h-data: Likewise.
67692         * conform/data/sys/ipc.h-data: Likewise.
67693         * conform/data/sys/mman.h-data: Likewise.
67694         * conform/data/sys/msg.h-data: Likewise.
67695         * conform/data/sys/resource.h-data: Likewise.
67696         * conform/data/sys/select.h-data: Likewise.
67697         * conform/data/sys/sem.h-data: Likewise.
67698         * conform/data/sys/shm.h-data: Likewise.
67699         * conform/data/sys/socket.h-data: Likewise.
67700         * conform/data/sys/stat.h-data: Likewise.
67701         * conform/data/sys/statvfs.h-data: Likewise.
67702         * conform/data/sys/time.h-data: Likewise.
67703         * conform/data/sys/timeb.h-data: Likewise.
67704         * conform/data/sys/times.h-data: Likewise.
67705         * conform/data/sys/types.h-data: Likewise.
67706         * conform/data/sys/uio.h-data: Likewise.
67707         * conform/data/sys/un.h-data: Likewise.
67708         * conform/data/sys/utsname.h-data: Likewise.
67709         * conform/data/sys/wait.h-data: Likewise.
67710         * conform/data/syslog.h-data: Likewise.
67711         * conform/data/tar.h-data: Likewise.
67712         * conform/data/termios.h-data: Likewise.
67713         * conform/data/utime.h-data: Likewise.
67714         * conform/data/utmpx.h-data: Likewise.
67715         * conform/data/varargs.h-data: Likewise.
67716         * conform/data/wchar.h-data: Likewise.
67717         * conform/data/wctype.h-data: Likewise.
67718         * conform/data/wordexp.h-data: Likewise.
67720         * include/stropts.h: New file.
67721         * include/uchar.h: New file.
67722         * include/aio.h: Changes to allow conformtest.pl to use the headers.
67723         * include/assert.h: Likewise.
67724         * include/ctype.h: Likewise.
67725         * include/dirent.h: Likewise.
67726         * include/dlfcn.h: Likewise.
67727         * include/fcntl.h: Likewise.
67728         * include/fnmatch.h: Likewise.
67729         * include/glob.h: Likewise.
67730         * include/grp.h: Likewise.
67731         * include/libio.h: Likewise.
67732         * include/locale.h: Likewise.
67733         * include/math.h: Likewise.
67734         * include/net/if.h: Likewise.
67735         * include/netdb.h: Likewise.
67736         * include/netinet/in.h: Likewise.
67737         * include/pthread.h: Likewise.
67738         * include/pwd.h: Likewise.
67739         * include/regex.h: Likewise.
67740         * include/sched.h: Likewise.
67741         * include/search.h: Likewise.
67742         * include/setjmp.h: Likewise.
67743         * include/signal.h: Likewise.
67744         * include/stdio.h: Likewise.
67745         * include/stdlib.h: Likewise.
67746         * include/string.h: Likewise.
67747         * include/sys/cdefs.h: Likewise.
67748         * include/sys/mman.h: Likewise.
67749         * include/sys/msg.h: Likewise.
67750         * include/sys/resource.h: Likewise.
67751         * include/sys/select.h: Likewise.
67752         * include/sys/socket.h: Likewise.
67753         * include/sys/stat.h: Likewise.
67754         * include/sys/statvfs.h: Likewise.
67755         * include/sys/time.h: Likewise.
67756         * include/sys/times.h: Likewise.
67757         * include/sys/uio.h: Likewise.
67758         * include/sys/utsname.h: Likewise.
67759         * include/sys/wait.h: Likewise.
67760         * include/termios.h: Likewise.
67761         * include/time.h: Likewise.
67762         * include/ulimit.h: Likewise.
67763         * include/unistd.h: Likewise.
67764         * include/utime.h: Likewise.
67765         * include/wchar.h: Likewise.
67766         * include/wctype.h: Likewise.
67767         * include/wordexp.h: Likewise.
67769         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
67771         * time/time.h: TIME_UTC must be a macro.
67772         Make timespec_get available for ISO C11 only as well.
67774 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
67776         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
67777         Reported by Peng Haitao <penght@cn.fujitsu.com>.
67779 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67781         * configure.in: Use -o not -a in test for unsupported multi-arch.
67783 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67785         * manual/texinfo.tex: Update to version 2012-01-19.16.
67787 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67789         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
67791 2012-02-24  Roland McGrath  <roland@hack.frob.com>
67793         [BZ #13738]
67794         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
67795         * manual/fdl-1.3.texi: New file.
67796         * manual/fdl-1.1.texi: File removed.
67798         [BZ #13738]
67799         * manual/libc.texinfo (FDL_VERSION): New @set.
67800         Use it for mention of FDL in cover text.
67801         (Documentation License): Use it in @include file name.
67803 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67804             Roland McGrath  <roland@hack.frob.com>
67806         [BZ #5461]
67807         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
67808         (not LONG_LONG_MAX and LONG_LONG_MIN.
67809         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
67810         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
67811         name.
67812         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
67814 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67816         [BZ #2547]
67817         [BZ #11365]
67818         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
67819         manipulate bits before adding and subtracting TWO23[sx].
67820         * math/libm-test.inc (nearbyint_test): Add more tests.
67822 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67824         [BZ #2548]
67825         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
67826         bits before adding and subtracting TWO23[sx].
67827         * math/libm-test.inc (rint_test): Add more tests.
67828         (rint_test_tonearest): Likewise.
67829         (rint_test_towardzero): Likewise.
67830         (rint_test_downward): Likewise.
67831         (rint_test_upward: Likewise.
67833 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67835         [BZ #10110]
67836         * include/stdc-predef.h: New file.  Extracted from features.h.
67837         * include/features.h: Include stdc-predef.h.
67838         * Makefile (headers): Add stdc-predef.h.
67839         * CONFORMANCE (Compiler limitations): Update.
67841 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67843         * manual/libc.texinfo (VERSION, UPDATED): Revert.
67845 2012-02-21  David S. Miller  <davem@davemloft.net>
67847         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
67848         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
67850 2012-02-20  David S. Miller  <davem@davemloft.net>
67852         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
67853         using a normal save/restore sequence, rather than allocating a
67854         dummy stack frame just to store a frame pointer and restore.
67855         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67857 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67859         * manual/install.texi: Fix stray word in line-wrapped comment.
67861 2012-02-20  David S. Miller  <davem@davemloft.net>
67863         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
67864         both binutils and gcc support GOTDATA.
67866         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
67867         "rd %pc" in the PIC register setup sequences.
67869         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
67870         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
67871         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
67872         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
67873         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
67874         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
67875         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67876         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67877         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
67878         (SYSCALL_ERROR_HANDLER): Likewise.
67879         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
67880         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
67881         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
67882         (SYSCALL_ERROR_HANDLER): Likewise.
67884         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
67885         (HAVE_GCC_GOTDATA): New.
67886         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
67887         relocation support in both binutils and gcc.
67888         * sysdeps/sparc/elf/configure: Regenerate.
67890         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
67891         * sysdeps/sparc/sparc32/elf/configure: Delete.
67892         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
67893         * sysdeps/sparc/sparc64/elf/configure: Delete.
67894         * sysdeps/sparc/elf/configure.in: New file.
67895         * sysdeps/sparc/elf/configure: Generate.
67897         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
67898         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
67899         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
67900         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
67901         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
67903 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67905         * manual/install.texi: Do not mention specific glibc version
67906         numbers.
67907         * manual/libc.texinfo (VERSION, UPDATED): Update.
67908         (@copying): Use @copyright{} and range of years.
67910 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67912         [BZ #13695]
67913         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
67914         [crti.S not in sysdirs] (generated): Do not append.
67915         [crti.S not in sysdirs] (omit-deps): Likewise.
67916         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
67917         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
67918         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
67919         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
67920         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
67921         Likewise.
67922         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
67923         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
67924         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
67925         * csu/defs.awk: Remove file.
67926         * sysdeps/generic/initfini.c: Likewise.
67927         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
67928         variable.
67929         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
67930         Likewise.
67932 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67934         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
67935         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
67936         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
67937         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
67938         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
67939         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
67940         <bits/epoll.h>.
67941         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
67942         (__EPOLL_PACKED): Define to empty if not defined by
67943         <bits/epoll.h>.
67944         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
67945         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67946         bits/epoll.h.
67948 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67950         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
67951         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
67952         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
67953         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
67954         <bits/timerfd.h>.
67955         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
67956         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67957         bits/timerfd.h.
67959 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67961         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
67962         in C locale.
67963         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67964         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
67965         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
67966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67968 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
67970         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67971         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
67973 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
67975         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
67976         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
67977         defined.
67978         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
67979         Likewise.
67980         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
67981         entry for 2.16.
67983 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
67985         * math/w_acos.c: Use non-signaling floating-point comparisons.
67986         * math/w_acosf.c: Likewise.
67987         * math/w_acosh.c: Likewise.
67988         * math/w_acoshf.c: Likewise.
67989         * math/w_acoshl.c: Likewise.
67990         * math/w_acosl.c: Likewise.
67991         * math/w_asin.c: Likewise.
67992         * math/w_asinf.c: Likewise.
67993         * math/w_asinl.c: Likewise.
67994         * math/w_atanh.c: Likewise.
67995         * math/w_atanhf.c: Likewise.
67996         * math/w_atanhl.c: Likewise.
67997         * math/w_exp2.c: Likewise.
67998         * math/w_exp2f.c: Likewise.
67999         * math/w_exp2l.c: Likewise.
68000         * math/w_j0.c: Likewise.
68001         * math/w_j0f.c: Likewise.
68002         * math/w_j0l.c: Likewise.
68003         * math/w_j1.c: Likewise.
68004         * math/w_j1f.c: Likewise.
68005         * math/w_j1l.c: Likewise.
68006         * math/w_jn.c: Likewise.
68007         * math/w_jnf.c: Likewise.
68008         * math/w_log.c: Likewise.
68009         * math/w_log10.c: Likewise.
68010         * math/w_log10f.c: Likewise.
68011         * math/w_log10l.c: Likewise.
68012         * math/w_log2.c: Likewise.
68013         * math/w_log2f.c: Likewise.
68014         * math/w_log2l.c: Likewise.
68015         * math/w_logf.c: Likewise.
68016         * math/w_logl.c: Likewise.
68017         * math/w_sqrt.c: Likewise.
68018         * math/w_sqrtf.c: Likewise.
68019         * math/w_sqrtl.c: Likewise.
68020         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68021         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
68022         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68023         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
68024         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
68026 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68028         [BZ #9739]
68029         * manual/string.texi (strnlen): Use correct parameter name in
68030         equivalent expression.
68032 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68034         [BZ #11174]
68035         * manual/users.texi (seteuid): Consistently use neweuid for
68036         argument name.
68038 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68040         [BZ #13704]
68041         * manual/nss.texi (Services in the NSS configuration): Correct
68042         list of services in example configuration file.
68044 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
68046         [BZ #11322]
68047         * manual/arith.texi: Remove statements about negative zero
68048         behaving identically to zero.
68050 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
68052         [BZ #5993]
68053         * manual/install.texi: Do not document upgrading from libc5.
68055 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
68057         [BZ #4596]
68058         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
68060 2012-02-18  David S. Miller  <davem@davemloft.net>
68062         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
68063         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
68064         %o7 across the call.
68065         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
68066         instead.
68067         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
68068         SETUP_PIC_REG_LEAF.
68069         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68070         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
68071         * sysdeps/sparc/crtn.S: Likewise.
68073 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
68075         * aout/Makefile: Remove.
68077 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
68079         [BZ #13058]
68080         * manual/examples/argp-ex1.c (main): Format definition in GNU
68081         style.
68082         * manual/examples/argp-ex2.c (main): Likewise.
68083         * manual/examples/argp-ex3.c (main): Likewise.
68084         * manual/examples/argp-ex4.c (main): Likewise.
68085         * manual/examples/longopt.c (main): Use new-style prototype
68086         definition.
68087         * manual/examples/strncat.c (main): Specify return type and use
68088         (void) for arguments.
68089         * manual/examples/subopt.c (main): Use char **argv argument.
68091 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68093         [BZ #5077]
68094         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
68095         rounding modes.
68097 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
68099         [BZ #6907]
68100         * manual/string.texi (strchr): Change when strchrnul is
68101         recommended.
68103 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
68105         [BZ #174]
68106         * manual/locale.texi (setlocale): Document LOCPATH.
68108 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68110         [BZ #10210]
68111         * manual/process.texi (execle): Move @dots{} before last argument.
68113 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
68115         [BZ #12047]
68116         * manual/charset.texi (Generic Charset Conversion): Fix typo
68117         (LC_TYPE -> LC_CTYPE).
68119 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
68121         [BZ #5805]
68122         * manual/arith.texi (scalbn): Use @var{} on parameter names.
68123         (scalbnf): Likewise.
68124         (scalbnl): Likewise.
68125         (scalbln): Likewise.
68126         (scalblnf): Likewise.
68127         (scalblnl): Likewise.
68128         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
68129         (vwarnx): Likewise.
68130         (verr): Likewise.
68131         (verrx): Likewise.
68132         * manual/filesys.texi (telldir): Use braces around return type.
68133         * manual/llio.texi (mmap): Add space after comma.
68134         (mmap64): Likewise.
68135         * manual/math.texi (jn): Use @var{} on parameter names.
68136         (jnf): Likewise.
68137         (jnl): Likewise.
68138         (yn): Likewise.
68139         (ynf): Likewise.
68140         (ynl): Likewise.
68141         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
68142         line.
68143         * manual/resource.texi (ulimit): Use @dots{} instead of literal
68144         "...".
68145         (sched_get_priority_min): Remove semicolon on @deftypefun line.
68146         (sched_get_priority_max): Likewise.
68147         * manual/signal.texi (sigvec): Add space after comma.
68148         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
68149         names.
68150         (if_indextoname): Likewise.
68151         (if_freenameindex): Likewise.
68152         (sendto): Use ',' instead of '.' in prototype.
68153         * manual/startup.texi (syscall): Use @dots{} instead of literal
68154         "...".
68155         * manual/stdio.texi (__fpending): Separate initial words of
68156         paragraph from @deftypefun line.
68157         * manual/syslog.texi (syslog): Use @dots{} instead of literal
68158         "...".
68159         (vsyslog): Use @var{} on parameter names.
68160         * manual/terminal.texi (stty): Use @var{} on parameter names.
68161         * manual/users.texi (getutmp): Use @var{} on parameter names.
68162         (getutmpx): Likewise.
68164 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68166         [BZ #6884]
68167         * manual/stdio.texi (fopen): Fix typos in description of
68168         ",ccs=STRING".
68170 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
68172         [BZ #4026]
68173         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
68174         get clock_id definition.
68176 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
68178         [BZ #4822]
68179         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
68180         (madvise): Cast every argument to void on its own.
68182 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68184         [BZ #9902]
68185         * manual/startup.texi (Exit Status): Fix typo.
68187 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68189         [BZ #10140]
68190         * manual/examples/argp-ex1.c: Include <stdlib.h>.
68191         * manual/examples/argp-ex2.c: Likewise.
68192         * manual/examples/argp-ex3.c: Likewise.
68194 2012-02-16  Richard Henderson  <rth@redhat.com>
68196         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
68197         * sysdeps/s390/s390-32/initfini.c: Remove.
68198         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
68199         * sysdeps/s390/s390-64/initfini.c: Remove.
68201 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
68203         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
68204         compiler output for sysdeps/generic/initfini.c.
68205         * sysdeps/sh/elf/initfini.c: Remove file.
68207 2012-02-16  David S. Miller  <davem@davemloft.net>
68209         [BZ #11494]
68210         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
68212         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
68213         * sysdeps/sparc/crti.S: New file.
68214         * sysdeps/sparc/crtn.S: New file.
68215         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
68216         * sysdeps/sparc/sparc64/Makefile: Likewise.
68218 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
68220         [BZ #3335]
68221         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
68223 2012-02-15  Roland McGrath  <roland@hack.frob.com>
68225         [BZ #4822]
68226         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
68228         * mach/devstream.c (cookie_io_functions_t): Macro removed.
68229         (write, read, close): Likewise.
68230         Patch by Aurelien Jarno <aurelien@aurel32.net>.
68232 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
68234         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
68235         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
68236         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
68237         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
68238         <bits/signalfd.h>.
68239         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
68240         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68241         bits/signalfd.h.
68243 2012-02-14  Marek Polacek  <polacek@redhat.com>
68245         * sysdeps/x86_64/crti.S: New file.
68246         * sysdeps/x86_64/crtn.S: New file.
68247         * sysdeps/x86_64/elf/initfini.c: Remove file.
68249 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
68251         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
68252         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
68253         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
68254         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
68255         <bits/inotify.h>.
68256         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
68257         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68258         bits/inotify.h.
68260 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
68262         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
68263         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
68264         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
68265         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
68266         <bits/eventfd.h>.
68267         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
68268         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68269         bits/eventfd.h.
68271 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
68273         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
68274         __feraiseexcept instead of feraiseexcept.
68276         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
68277         nanosleep invocations.
68278         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
68279         strings, and add error checking for a nanosleep invocations.
68281 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
68283         Replace FSF snail mail address with URLs, as per GNU coding standards.
68284         Most of the snail mail addresses were wrong anyway, and omitting
68285         them makes the source code easier to maintain.  Almost all of the
68286         changes are to license notices and to locale LC_IDENTIFICATION
68287         addresses, except for this one:
68288         * manual/libc.texinfo: In "Published by", give the FSF's URL,
68289         not its snail mail address.
68291 2012-02-09  Richard Henderson  <rth@twiddle.net>
68293         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
68294         of kernel-features.h.
68296         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
68298 2012-02-08  Marek Polacek  <polacek@redhat.com>
68300         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
68301         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
68302         * sysdeps/gnu/_G_config.h: Likewise.
68303         * sysdeps/generic/_G_config.h: Likewise.
68305 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
68307         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
68308         tests.
68309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68311         * sysdeps/powerpc/powerpc32/crti.S: New file.
68312         * sysdeps/powerpc/powerpc32/crtn.S: New file.
68313         * sysdeps/powerpc/powerpc64/crti.S: New file.
68314         * sysdeps/powerpc/powerpc64/crtn.S: New file.
68316         * Makeconfig (have-initfini): Don't set.
68317         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
68318         * configure.in (nopic_initfini): Don't substitute.
68319         * config.h.in (HAVE_INITFINI): Don't #undef.
68320         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
68321         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
68323 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
68325         Support crti.S and crtn.S provided directly by architectures.
68326         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
68327         [crti.S in sysdirs] (omit-deps): Likewise.
68328         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
68329         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
68330         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
68331         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
68332         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
68333         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
68334         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
68335         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
68336         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
68337         compiler output for sysdeps/generic/initfini.c.
68338         * sysdeps/i386/elf/Makefile: Remove file.
68339         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
68341 2012-02-07  Marek Polacek  <polacek@redhat.com>
68343         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
68344         * sysdeps/gnu/_G_config.h: Likewise.
68345         * sysdeps/mach/hurd/_G_config.h: Likewise.
68347 2012-02-07  Marek Polacek  <polacek@redhat.com>
68349         * math/Makefile (tests): Add tst-CMPLX2.
68350         * math/tst-CMPLX2.c: New file.
68352 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
68354         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68356         * math/libm-test.inc (jn_test): Add missing L suffix.
68358 2012-02-06  Marek Polacek  <polacek@redhat.com>
68360         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
68361         * sysdeps/i386/fpu/e_powf.S: Likewise.
68362         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68363         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
68364         * sysdeps/i386/fpu/e_acosh.S: Likewise.
68365         * sysdeps/i386/fpu/e_pow.S: Likewise.
68366         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
68367         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68368         * sysdeps/i386/fpu/s_expm1.S: Likewise.
68369         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
68370         * sysdeps/i386/fpu/e_log2.S: Likewise.
68371         * sysdeps/i386/fpu/e_log2l.S: Likewise.
68372         * sysdeps/i386/fpu/e_scalb.S: Likewise.
68373         * sysdeps/i386/fpu/e_powl.S: Likewise.
68374         * sysdeps/i386/fpu/s_log1p.S: Likewise.
68375         * sysdeps/i386/fpu/e_log10f.S: Likewise.
68376         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
68377         * sysdeps/i386/fpu/e_logl.S: Likewise.
68378         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
68379         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
68380         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
68381         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
68382         * sysdeps/i386/fpu/e_log2f.S: Likewise.
68383         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68384         * sysdeps/i386/fpu/e_log.S: Likewise.
68385         * sysdeps/i386/fpu/s_cexp.S: Likewise.
68386         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68387         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
68388         * sysdeps/i386/fpu/e_logf.S: Likewise.
68389         * sysdeps/i386/fpu/e_log10l.S: Likewise.
68390         * sysdeps/i386/fpu/e_atanh.S: Likewise.
68391         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
68392         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
68393         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
68394         * sysdeps/i386/fpu/e_log10.S: Likewise.
68395         * sysdeps/i386/fpu/s_frexp.S: Likewise.
68396         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68397         * sysdeps/i386/fpu/s_asinh.S: Likewise.
68398         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
68399         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68400         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
68401         * sysdeps/i386/asm-syntax.h: Likewise.
68402         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68403         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68404         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68405         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
68406         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
68407         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68408         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
68409         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
68410         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68411         * sysdeps/powerpc/sysdep.h: Likewise.
68412         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
68413         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68415 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
68417         [BZ #411]
68418         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
68420 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
68422         * sysdeps/i386/sysdep.h: Include <features.h>.
68423         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
68424         version.
68426 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
68428         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
68429         Define.
68430         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
68431         LOAD_PIC_REG_STR.
68433 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68435         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
68436         (SETUP_PIC_REG): Use GET_PC_THUNK.
68437         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
68438         macro.
68440 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68442         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
68443         for non-PIC compilation.
68444         (SETUP_PIC_REG): Add .p2align directive.
68445         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
68446         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
68447         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
68448         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
68449         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
68450         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
68451         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
68452         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
68453         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
68454         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
68455         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
68456         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
68457         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
68458         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
68459         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
68460         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
68461         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
68462         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
68463         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
68464         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
68465         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
68466         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
68467         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
68468         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
68469         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
68470         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
68471         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68472         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
68473         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
68474         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
68475         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
68476         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68477         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
68478         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
68479         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
68480         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
68481         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
68482         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
68483         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
68484         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
68485         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
68487 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68489         * math/tst-CMPLX.c: Include <stdio.h>.
68491 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
68493         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
68494         float.
68495         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
68496         * sysdeps/sparc/bits/mathdef.h: Likewise.
68498 2012-01-31  Marek Polacek  <polacek@redhat.com>
68500         * libio/libio.h: Don't define _PARAMS.
68501         * locale/programs/config.h: Don't define PARAMS.
68502         * stdlib/strtol_l.c: Likewise.
68503         (__strtol_l): Remove PARAMS from the prototype.
68505 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
68507         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
68508         names.  Just use the correct names.  Remove unnecessary wrapper
68509         functions.
68510         * malloc/arena.c: Likewise.
68511         * malloc/hooks.c: Likewise.
68513         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
68514         ARENA_TEST says not to.  Simplify test for creation of a new arena.
68515         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
68517 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
68519         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
68520         into tail calls.
68521         (update_get_addr): New function.
68522         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
68523         GET_ADDR_MODULE parameter.
68525 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
68527         * crypt/cert.c: Remove __STDC__ conditionals.
68528         * crypt/crypt-entry.c: Likewise.
68529         * crypt/crypt_util.c: Likewise.
68530         * libio/filedoalloc.c: Likewise.
68531         * libio/fileops.c: Likewise.
68532         * libio/genops.c: Likewise.
68533         * libio/iofclose.c: Likewise.
68534         * libio/iofdopen.c: Likewise.
68535         * libio/iofopen.c: Likewise.
68536         * libio/iofopen64.c: Likewise.
68537         * libio/iogetdelim.c: Likewise.
68538         * libio/iopopen.c: Likewise.
68539         * libio/obprintf.c: Likewise.
68540         * libio/oldfileops.c: Likewise.
68541         * libio/oldiofclose.c: Likewise.
68542         * libio/oldiofdopen.c: Likewise.
68543         * libio/oldiofopen.c: Likewise.
68544         * libio/oldiopopen.c: Likewise.
68545         * libio/wfiledoalloc.c: Likewise.
68546         * libio/wgenops.c: Likewise.
68547         * locale/programs/xmalloc.c: Likewise.
68548         * misc/syslog.c: Likewise.
68549         * stdio-common/xbug.c: Likewise.
68550         * string/memchr.c: Likewise.
68551         * string/memcmp.c: Likewise.
68552         * string/memrchr.c: Likewise.
68553         * string/rawmemchr.c: Likewise.
68554         * sysdeps/posix/getcwd.c: Likewise.
68555         * time/strftime_l.c: Likewise.
68557 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
68559         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
68560         * config.make.in (config-cflags-sse2avx): Define.
68561         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
68562         Fix typo.
68564 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
68566         * scripts/config.guess: Update from upstream config git repository.
68567         * scripts/config.sub: Likewise.
68569 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
68571         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
68572         (EM_NUM): Update.
68573         (R_TILEPRO_*, R_TILEGX_*): New macros.
68575         * scripts/firstversions.awk: Fix bug in version range handling.
68577         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
68579         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
68581         * include/sys/epoll.h: New file.
68582         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
68583         libc_hidden_def.
68585 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
68587         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
68588         Avoid unnecessary __WORDSIZE == 64 test.
68589         (fmaxf): Use VEX format if possible.
68590         (fmax): Likewise.
68591         (fminf): Likewise.
68592         (fmin): Likewise.
68594         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
68595         * math/math_private.h: Remove libc_fegetround* and
68596         libc_fesetround*.
68597         * sysdeps/i386/configure.in: Check for -msse2avx.
68598         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
68599         also if SSE2AVX is defined.
68600         Remove libc_fegetround* and libc_fesetround*.
68601         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
68602         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
68603         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
68604         of HAS_YMM_USABLE.
68605         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68606         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68607         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68608         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68609         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68611         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
68613 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68615         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
68616         size is not set.
68617         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
68619 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
68621         [BZ #13618]
68622         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
68623         relocation.
68624         * Makeconfig (libm): Define.
68625         * elf/Makefile: Add rules to build and run tst-relsort1.
68626         * elf/tst-relsort1.c: New file.
68627         * elf/tst-relsort1mod1.c: New file.
68628         * elf/tst-relsort1mod2.c: New file.
68630 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
68632         * math/s_ldexp.c: Remove __STDC__ conditionals.
68633         * math/s_ldexpf.c: Likewise.
68634         * math/s_ldexpl.c: Likewise.
68635         * math/s_nextafter.c: Likewise.
68636         * math/s_nexttowardf.c: Likewise.
68637         * math/s_significand.c: Likewise.
68638         * math/s_significandf.c: Likewise.
68639         * math/s_significandl.c: Likewise.
68640         * math/w_jnl.c: Likewise.
68641         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68642         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68643         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68644         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68645         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68646         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68647         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
68648         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68649         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68650         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68651         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68652         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68653         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68654         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68655         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68656         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68657         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68658         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68659         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68660         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68661         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68662         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68663         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68664         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68665         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68666         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68667         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68668         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68669         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68670         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68671         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68672         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68673         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68674         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68675         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68676         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68677         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68678         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68679         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68680         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68681         * sysdeps/ieee754/k_standard.c: Likewise.
68682         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68683         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68684         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68685         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68686         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68687         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68688         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68689         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68690         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68691         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68692         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68693         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68694         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68695         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68696         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68697         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68698         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68699         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68700         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68701         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68702         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68703         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68704         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68705         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68706         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68707         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68708         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68709         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68710         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68711         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68712         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68713         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
68714         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68715         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68716         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68717         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68718         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
68719         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68720         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68721         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
68722         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
68723         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68724         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
68725         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
68726         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68727         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
68728         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
68729         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68730         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
68731         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
68732         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
68733         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
68734         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
68735         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
68736         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
68737         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
68738         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
68739         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68740         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68741         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68742         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68743         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68744         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68745         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68746         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68747         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68748         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68749         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68750         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68751         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68752         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68753         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68754         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68755         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68756         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68757         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68758         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
68759         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68760         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68761         * sysdeps/ieee754/s_matherr.c: Likewise.
68762         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68763         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68764         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68765         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68767 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
68769         * crypt/md5.h: Remove __STDC__ conditionals.
68770         * libio/libioP.h: Likewise.
68771         * locale/programs/config.h: Likewise.
68772         * sysdeps/generic/sysdep.h: Likewise.
68773         * sysdeps/i386/asm-syntax.h: Likewise.
68774         * sysdeps/s390/asm-syntax.h: Likewise.
68775         * sysdeps/unix/sysdep.h: Likewise.
68776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
68777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68779 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
68781         * libio/libio.h: Remove __STDC__ conditionals.
68782         * malloc/obstack.h: Likewise.
68783         * math/complex.h: Likewise.
68784         * math/math.h: Likewise.
68785         * sysdeps/generic/_G_config.h: Likewise.
68786         * sysdeps/gnu/_G_config.h: Likewise.
68787         * sysdeps/mach/hurd/_G_config.h: Likewise.
68788         * sysdeps/powerpc/bits/mathdef.h: Likewise.
68789         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
68790         * sysdeps/sparc/bits/mathdef.h: Likewise.
68792 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
68794         [BZ #13583]
68795         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
68796         Clean up HAS_* macros.
68797         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
68798         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
68799         possible.
68800         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
68801         HAS_AVX.
68802         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68803         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68804         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68805         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68806         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68808 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
68810         * elf/tst-unique3.cc (gets): Remove declaration.
68811         * elf/tst-unique3lib.cc (gets): Likewise.
68812         * elf/tst-unique3lib2.cc (gets): Likewise.
68813         * elf/tst-unique4.cc (gets): Likewise.
68815 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
68817         * include/stdio.h: Add C++ protection.  Add gets declarations and
68818         definitions.
68819         * debug/tst-chk1.c: Don't declare gets here.
68820         * stdio-common/tst-gets.c: Likewise.
68822 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
68824         * posix/glob: Remove directory.
68826 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
68828         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
68830 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
68832         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
68833         of the non-standard EPFNOSUPPORT.
68835 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68837         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
68838         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
68839         ANYWHERE set to 1 only on KERN_NO_SPACE error.
68841 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
68843         * wcsmbs/uchar.h: Test __STDC_VERSION__.
68845 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
68847         * nscd/aicache.c (addhstaiX): Do not cache negative results of
68848         transient errors.
68849         * nscd/grpcache.c (cache_addgr): Likewise.
68850         * nscd/hstcache.c (cache_addhst): Likewise.
68851         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68852         * nscd/pwdcache.c (cache_addpw): Likewise.
68853         * nscd/servicescache.c (cache_addserv): Likewise.
68855 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
68857         * malloc/malloc.c: Various cleanups.
68858         * malloc/hooks.c: Likewise.
68860         * stdlib/Makefile (tests): Add bug-fmtmsg1.
68861         * stdlib/bug-fmtmsg1.c: New file.
68863         * stdlib/fmtmsg.c (init): Add missing unlock.
68864         Patch by Peng Haitao <penght@cn.fujitsu.com>.
68866 2012-01-12  Marek Polacek  <polacek@redhat.com>
68868         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
68869         and _GNU_SOURCE.
68871 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
68873         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
68874         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
68875         macro to ensure uniqueness of label name.
68876         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
68877         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
68879 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
68881         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
68883         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
68884         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68885         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
68886         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
68888 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
68890         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
68892         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
68893         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68894         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
68896         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
68898         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
68899         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68900         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
68901         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
68903         * math/bits/math-finite.h: Add ldexp support.
68905 2012-01-10  Marek Polacek  <polacek@redhat.com>
68907         * locale/programs/localedef.h (show_archive_content): Add noreturn
68908         attribute.
68910 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
68912         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
68914 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68916         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
68918         * io/Makefile (headers): Add bits/poll2.h.
68920 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
68922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
68923         typo #include statement.
68925 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68927         * include/sys/cdefs.h: Define __attribute_alloc_size.
68928         * catgets/gencat.c: Add alloc_size attribute and apply consistently
68929         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
68930         * elf/pldd.c: Likewise.
68931         * iconv/iconv_charmap.c: Likewise.
68932         * iconv/iconvconfig.c: Likewise.
68933         * iconv/strtab.c: Likewise.
68934         * locale/programs/locale.c: Likewise.
68935         * locale/programs/localedef.h: Likewise.
68936         * locale/programs/simple-hash.c: Likewise.
68937         * nscd/nscd.h: Likewise.
68938         * nss/makedb.c: Likewise.
68939         * sysdeps/generic/ldconfig.h: Likewise.
68940         * locale/programs/localedef.c: Remove xmalloc prototype.
68941         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
68943 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68945         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
68946         appropriate.
68948 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68950         * math/Makefile (tests): Add tst-CMPLX.
68951         * math/tst-CMPLX.c: New file.
68953         * math/complex.h (CMPLXL): Fix typo.
68955         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
68956         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
68957         GLIBC_2.16.
68958         * debug/tst-chk1.c: Add poll and ppoll tests.
68959         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
68960         * include/sys/poll.h: Add hidden proto for ppoll.
68961         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
68962         * sysdeps/mach/hurd/ppoll.c: Likewise.
68963         * io/ppoll.c: Likewise.
68964         * debug/poll_chk.c: New file.
68965         * debug/ppoll_chk.c: New file.
68966         * include/bits/poll2.h: New file.
68967         * io/bits/poll2.h: New file.
68969         [BZ #1350]
68970         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
68972         * configure.in: static is always set to yes.  Remove.
68973         * config.make.in: Don't set build-static.
68974         * Makeconfig: Remove use of build-static.
68975         * dlfcn/Makefile: Likewise.
68976         * elf/Makefile: Likewise.
68977         * math/Makefile: Likewise.
68978         * misc/Makefile: Likewise.
68979         * nptl/Makefile: Likewise.
68980         * sysdeps/mach/hurd/Makefile: Likewise.
68982         * configure.in: PWD_P is not used anymore.
68983         * config.make.in: Remove PWD_P entry.
68985         * configure.in: Remove last remnants of RANLIB.
68986         No need to check for signed size_t anymore.
68987         Don't set libc_commonpagesize and libc_relro_required here for Alpha
68988         and IA-64.
68989         Remove __builtin_expect test because we require at least gcc 3.4.
68990         * aclocal.m4: Likewise.
68992         * wcsmbs/mbrtoc16.c: Implement using towc function.
68993         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
68994         * wcsmbs/wcsmbsload.c: Likewise.
68995         * iconv/gconv_simple.c: Likewise.
68996         * iconv/gconv_int.h: Likewise.
68997         * iconv/gconv_builtin.h: Likewise.
68998         * iconv/iconv_prog.c: Remove CHAR16 handling.
69000         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
69002         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
69004         * configure.in: Remove --with-elf and --enable-bounded options.
69005         Dont set base_machine for ia64.  More non-ELF conditions removed.
69006         Remove testing and setting of leading underscore information.
69007         * config.make.in (build-bounded): Set to no.
69008         * config.h.in: Remove NO_UNDERSCORES entry.
69009         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
69010         them.
69011         * csu/start.c: Remove !NO_UNDERSCORE code.
69012         * locale/localeinfo.h: Likewise.
69013         * sysdeps/generic/machine-gmon.h: Likewise.
69014         * sysdeps/generic/sysdep.h: Likewise.
69015         * sysdeps/i386/sysdep.h: Likewise.
69016         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
69017         * sysdeps/mach/sysdep.h: Likewise.
69018         * sysdeps/s390/s390-32/sysdep.h: Likewise.
69019         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69020         * sysdeps/sh/sysdep.h: Likewise.
69021         * sysdeps/sparc/sparc32/alloca.S: Likewise.
69022         * sysdeps/unix/i386/sysdep.S: Likewise.
69023         * sysdeps/unix/sparc/start.c: Likewise.
69024         * sysdeps/unix/sparc/sysdep.S: Likewise.
69025         * sysdeps/unix/sparc/sysdep.h: Likewise.
69026         * sysdeps/unix/start.c: Likewise.
69027         * sysdeps/unix/x86_64/sysdep.S: Likewise.
69028         * sysdeps/x86_64/sysdep.h: Likewise.
69030 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
69032         [BZ #13553]
69033         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
69034         for non-gcc.
69035         * argp/argp-fmtstream.h: Use const instead __const.
69036         * argp/argp.h: Likewise.
69037         * assert/assert.h: Likewise.
69038         * bits/fenv.h: Likewise.
69039         * bits/sched.h: Likewise.
69040         * bits/sigset.h: Likewise.
69041         * bits/sigthread.h: Likewise.
69042         * catgets/nl_types.h: Likewise.
69043         * conform/data/pthread.h-data: Likewise.
69044         * crypt/crypt-private.h: Likewise.
69045         * crypt/crypt.h: Likewise.
69046         * crypt/crypt_util.c: Likewise.
69047         * ctype/ctype.h: Likewise.
69048         * debug/execinfo.h: Likewise.
69049         * debug/mbsnrtowcs_chk.c: Likewise.
69050         * debug/mbsrtowcs_chk.c: Likewise.
69051         * debug/wcsnrtombs_chk.c: Likewise.
69052         * debug/wcsrtombs_chk.c: Likewise.
69053         * debug/wcstombs_chk.c: Likewise.
69054         * dirent/dirent.h: Likewise.
69055         * dlfcn/dlfcn.h: Likewise.
69056         * elf/neededtest4.c: Likewise.
69057         * grp/grp.h: Likewise.
69058         * gshadow/gshadow.h: Likewise.
69059         * iconv/gconv.h: Likewise.
69060         * iconv/gconv_int.h: Likewise.
69061         * iconv/gconv_simple.c: Likewise.
69062         * iconv/iconv.h: Likewise.
69063         * iconv/loop.c: Likewise.
69064         * iconv/skeleton.c: Likewise.
69065         * include/aio.h: Likewise.
69066         * include/aliases.h: Likewise.
69067         * include/argz.h: Likewise.
69068         * include/arpa/inet.h: Likewise.
69069         * include/assert.h: Likewise.
69070         * include/dirent.h: Likewise.
69071         * include/dlfcn.h: Likewise.
69072         * include/execinfo.h: Likewise.
69073         * include/fcntl.h: Likewise.
69074         * include/fenv.h: Likewise.
69075         * include/glob.h: Likewise.
69076         * include/grp.h: Likewise.
69077         * include/libintl.h: Likewise.
69078         * include/mntent.h: Likewise.
69079         * include/netdb.h: Likewise.
69080         * include/pwd.h: Likewise.
69081         * include/rpc/netdb.h: Likewise.
69082         * include/sched.h: Likewise.
69083         * include/search.h: Likewise.
69084         * include/shadow.h: Likewise.
69085         * include/signal.h: Likewise.
69086         * include/stdio.h: Likewise.
69087         * include/stdlib.h: Likewise.
69088         * include/string.h: Likewise.
69089         * include/sys/socket.h: Likewise.
69090         * include/sys/stat.h: Likewise.
69091         * include/sys/statfs.h: Likewise.
69092         * include/sys/statvfs.h: Likewise.
69093         * include/sys/syslog.h: Likewise.
69094         * include/sys/time.h: Likewise.
69095         * include/sys/uio.h: Likewise.
69096         * include/time.h: Likewise.
69097         * include/unistd.h: Likewise.
69098         * include/utmp.h: Likewise.
69099         * include/wchar.h: Likewise.
69100         * include/wctype.h: Likewise.
69101         * inet/aliases.h: Likewise.
69102         * inet/arpa/inet.h: Likewise.
69103         * inet/netinet/ether.h: Likewise.
69104         * inet/netinet/in.h: Likewise.
69105         * intl/libintl.h: Likewise.
69106         * io/bits/fcntl2.h: Likewise.
69107         * io/fcntl.h: Likewise.
69108         * io/ftw.h: Likewise.
69109         * io/sys/poll.h: Likewise.
69110         * io/sys/stat.h: Likewise.
69111         * io/sys/statfs.h: Likewise.
69112         * io/sys/statvfs.h: Likewise.
69113         * io/utime.h: Likewise.
69114         * libio/bits/stdio.h: Likewise.
69115         * libio/bits/stdio2.h: Likewise.
69116         * libio/libio.h: Likewise.
69117         * libio/libioP.h: Likewise.
69118         * libio/stdio.h: Likewise.
69119         * locale/lc-ctype.c: Likewise.
69120         * locale/locale.h: Likewise.
69121         * login/utmp.h: Likewise.
69122         * malloc/arena.c: Likewise.
69123         * malloc/malloc.c: Likewise.
69124         * malloc/malloc.h: Likewise.
69125         * malloc/mcheck.c: Likewise.
69126         * malloc/mtrace.c: Likewise.
69127         * math/bits/mathcalls.h: Likewise.
69128         * math/fenv.h: Likewise.
69129         * math/math_private.h: Likewise.
69130         * misc/bits/error.h: Likewise.
69131         * misc/bits/syslog.h: Likewise.
69132         * misc/err.h: Likewise.
69133         * misc/error.h: Likewise.
69134         * misc/fstab.h: Likewise.
69135         * misc/mntent.h: Likewise.
69136         * misc/regexp.h: Likewise.
69137         * misc/search.h: Likewise.
69138         * misc/sgtty.h: Likewise.
69139         * misc/sys/mman.h: Likewise.
69140         * misc/sys/syslog.h: Likewise.
69141         * misc/sys/uio.h: Likewise.
69142         * misc/sys/xattr.h: Likewise.
69143         * misc/ttyent.h: Likewise.
69144         * nis/rpcsvc/ypclnt.h: Likewise.
69145         * nss/nss.h: Likewise.
69146         * posix/bits/unistd.h: Likewise.
69147         * posix/fnmatch.h: Likewise.
69148         * posix/glob.h: Likewise.
69149         * posix/sched.h: Likewise.
69150         * posix/spawn.h: Likewise.
69151         * posix/sys/wait.h: Likewise.
69152         * posix/unistd.h: Likewise.
69153         * posix/wordexp.h: Likewise.
69154         * pwd/pwd.h: Likewise.
69155         * resolv/netdb.h: Likewise.
69156         * resource/sys/resource.h: Likewise.
69157         * rt/aio.h: Likewise.
69158         * rt/bits/mqueue2.h: Likewise.
69159         * rt/mqueue.h: Likewise.
69160         * shadow/shadow.h: Likewise.
69161         * signal/signal.h: Likewise.
69162         * socket/send.c: Likewise.
69163         * socket/sendto.c: Likewise.
69164         * socket/sys/socket.h: Likewise.
69165         * stdio-common/printf.h: Likewise.
69166         * stdlib/bits/stdlib.h: Likewise.
69167         * stdlib/fmtmsg.h: Likewise.
69168         * stdlib/monetary.h: Likewise.
69169         * stdlib/stdlib.h: Likewise.
69170         * stdlib/ucontext.h: Likewise.
69171         * streams/stropts.h: Likewise.
69172         * string/argz.h: Likewise.
69173         * string/bits/string2.h: Likewise.
69174         * string/string.h: Likewise.
69175         * string/strings.h: Likewise.
69176         * sunrpc/rpc/auth.h: Likewise.
69177         * sunrpc/rpc/auth_des.h: Likewise.
69178         * sunrpc/rpc/clnt.h: Likewise.
69179         * sunrpc/rpc/netdb.h: Likewise.
69180         * sunrpc/rpc/pmap_clnt.h: Likewise.
69181         * sunrpc/rpc/xdr.h: Likewise.
69182         * sysdeps/generic/inttypes.h: Likewise.
69183         * sysdeps/generic/net/if.h: Likewise.
69184         * sysdeps/generic/sys/swap.h: Likewise.
69185         * sysdeps/gnu/net/if.h: Likewise.
69186         * sysdeps/gnu/utmpx.h: Likewise.
69187         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
69188         * sysdeps/i386/i486/bits/string.h: Likewise.
69189         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
69190         * sysdeps/s390/bits/string.h: Likewise.
69191         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
69192         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
69193         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
69194         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
69195         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
69196         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
69197         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
69198         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
69199         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
69200         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
69201         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
69202         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
69203         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
69204         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
69205         * sysdeps/unix/sysv/linux/readv.c: Likewise.
69206         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
69207         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
69208         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69209         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
69210         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
69211         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
69212         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
69213         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
69214         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
69215         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
69216         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
69217         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
69218         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69219         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
69220         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
69221         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
69222         * sysvipc/sys/ipc.h: Likewise.
69223         * sysvipc/sys/msg.h: Likewise.
69224         * sysvipc/sys/sem.h: Likewise.
69225         * sysvipc/sys/shm.h: Likewise.
69226         * termios/termios.h: Likewise.
69227         * time/sys/time.h: Likewise.
69228         * time/time.h: Likewise.
69229         * wcsmbs/bits/wchar2.h: Likewise.
69230         * wcsmbs/uchar.h: Likewise.
69231         * wcsmbs/wchar.h: Likewise.
69232         * wctype/wctype.h: Likewise.
69234         [BZ #13551]
69235         * Makeconfig: Remove all but ELF support including AIX support.
69236         * Makerules: Likewise.
69237         * config.h.in: Likewise.
69238         * config.make.in: Likewise.
69239         * configure: Likewise.
69240         * configure.in: Likewise.
69241         * csu/Makefile: Likewise.
69242         * csu/version.c: Likewise.
69243         * debug/Makefile: Likewise.
69244         * dlfcn/Makefile: Likewise.
69245         * elf/Makefile: Likewise.
69246         * extra-lib.mk: Likewise.
69247         * iconv/Makefile: Likewise.
69248         * include/libc-symbols.h: Likewise.
69249         * include/shlib-compat.h: Likewise.
69250         * resolv/Makefile: Likewise.
69251         * resolv/res_libc.c: Likewise.
69252         * rt/Makefile: Likewise.
69253         * sysdeps/i386/asm-syntax.h: Likewise.
69254         * sysdeps/i386/sysdep.h: Likewise.
69255         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
69256         * sysdeps/mach/sysdep.h: Likewise.
69257         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
69258         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
69259         * sysdeps/s390/asm-syntax.h: Likewise.
69260         * sysdeps/s390/s390-32/sysdep.h: Likewise.
69261         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69262         * sysdeps/sh/sysdep.h: Likewise.
69263         * sysdeps/unix/sparc/sysdep.h: Likewise.
69264         * sysdeps/wordsize-32/divdi3.c: Likewise.
69265         * sysdeps/x86_64/sysdep.h: Likewise.
69267         * argp/Versions: Remove _argp_unlock_xxx.
69269         [BZ #13559]
69270         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
69271         * abilist/libBrokenLocale.abilist: Likewise.
69272         * abilist/libanl.abilist: Likewise.
69273         * abilist/libc.abilist: Likewise.
69274         * abilist/libcrypt.abilist: Likewise.
69275         * abilist/libdl.abilist: Likewise.
69276         * abilist/libm.abilist: Likewise.
69277         * abilist/libnsl.abilist: Likewise.
69278         * abilist/libpthread.abilist: Likewise.
69279         * abilist/libresolv.abilist: Likewise.
69280         * abilist/librt.abilist: Likewise.
69281         * abilist/libthread_db.abilist: Likewise.
69282         * abilist/libutil.abilist: Likewise.
69283         * abilist/libnss_db.abilist: New file.
69285         * scripts/abilist.awk: Add support for indirect functions.
69287         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
69289         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
69291         * shlib-versions: Remove entries for ports architectures.
69293         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
69294         files in ports.
69295         * elf/stackguard-macros.h: Remove support for IA-64.
69296         * elf/tst-auditmod1.c: Likewise.
69297         * sysdeps/generic/ldsodefs.h: Likewise.
69299         * sysdeps/unix/sysv/linux/configure.in: Ports should define
69300         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
69301         configure files.
69303         [BZ #13552]
69304         * configure.in: Remove --enable-omitfp support.
69305         * FAQ.in: Adjust.
69306         * config.make.in: Likewise.
69307         * Makeconfig: Likewise.
69308         * manual/install.texi: Likewise.
69310         In case anyone cares, the IA-64 architecture could move to ports.
69311         * sysdeps/ia64/*: Removed.
69312         * sysdeps/unix/sysv/linux/ia64/*: Removed.
69313         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
69315         [BZ #13555]
69316         * configure.in: Remove entries for unsupported architectures.
69318         [BZ #13533]
69319         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
69320         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
69321         routines.
69322         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
69323         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
69324         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
69325         fall back to using wcrtomb.
69326         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
69327         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
69328         renaming.
69329         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
69330         * wcsmbs/tst-c16c32-1.c: New file.
69332         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
69333         local variable.
69335         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
69337         * elf/tst-unique3.cc: Add explicit declaration of gets.
69338         * elf/tst-unique3lib.cc: Likewise.
69339         * elf/tst-unique3lib2.cc: Likewise.
69340         * elf/tst-unique4.cc: Likewise.
69342         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
69344 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
69346         [BZ #13566]
69347         * assert/assert.h (static_assert): Don't define for C++.
69348         * libio/stdio.h (gets): Do declare for C++ <= C++11.
69349         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
69351 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
69353         * iconv/loop.c (single loop): Fix assertion in storing of
69354         remaining bytes.
69356         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
69358 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
69360         * posix/getconf.c: Update copyright year.
69361         * nss/getent.c: Likewise.
69362         * nss/makedb.c: Likewise.
69363         * iconv/iconvconfig.c: Likewise.
69364         * iconv/iconv_prog.c: Likewise.
69365         * elf/ldconfig.c: Likewise.
69366         * elf/pldd.c: Likewise.
69367         * elf/sotruss.ksh: Likewise.
69368         * catgets/gencat.c: Likewise.
69369         * csu/version.c: Likewise.
69370         * elf/ldd.bash.in: Likewise.
69371         * elf/sprof.c (print_version): Likewise.
69372         * locale/programs/locale.c: Likewise.
69373         * locale/programs/localedef.c: Likewise.
69374         * login/programs/pt_chown.c: Likewise.
69375         * nscd/nscd.c (print_version): Likewise.
69376         * debug/xtrace.sh: Likewise.
69377         * malloc/memusage.sh: Likewise.
69378         * malloc/mtrace.pl: Likewise.
69379         * debug/catchsegv.sh: Likewise.
69381 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
69383         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
69384         pure attribute.
69386 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
69388         [BZ #13533]
69389         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
69390         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
69391         transformations.
69392         * iconv/gconv_int.h: Likewise.
69393         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
69394         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
69395         from libc for GLIBC_2.16.
69396         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
69397         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
69398         * wcsmbs/uchar.h: Really define mbstate_t.
69399         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
69400         * wcsmbs/c16rtomb.c: New file.
69401         * wcsmbs/mbrtoc16.c: New file.
69402         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
69403         for C/POSIX locale.
69404         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
69405         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
69407         * wcsmbs/wchar.h: Add missing __restrict.
69409 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
69411         [BZ #13532]
69412         * time/Makefile (routines): Add timespec_get.
69413         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
69414         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
69415         timespec for ISO C11.
69416         * time/timespec_get.c: New file.
69417         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
69418         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
69420         [BZ #13531]
69421         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
69422         * stdlib/stdlib.h: Declare aligned_alloc.
69423         * Versions.def: Add GLIBC_2.16 for libc.
69424         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
69426         [BZ 13527]
69427         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
69428         ISO C11.
69430         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
69431         code.
69433         [BZ #13528]
69434         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
69436         [BZ #13529]
69437         * assert/assert.h (static_assert): Define.
69439         * version.h: Update for 2.16 development version.
69441         [BZ #13526]
69442         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
69443         _ISOC11_SOURCE.
69445         * version.h (RELEASE): Bump for 2.15 release.
69446         * include/features.h (__GLIBC_MINOR__): Bump to 15.
69448         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
69449         Patch by Marek Polacek <mpolacek@redhat.com>.
69451         * bits/byteswap.h: Protect long long constants with __extension__.
69452         * sysdeps/i386/bits/byteswap.h: Likewise.
69453         * sysdeps/ia64/bits/byteswap.h: Likewise.
69454         * sysdeps/s390/bits/byteswap.h: Likewise.
69455         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69457 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69459         [BZ #13540]
69460         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
69461         destination buffer.
69462         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
69464 2011-12-23  Marek Polacek  <polacek@redhat.com>
69466         * elf/dl-addr.c (determine_info): Add inline keyword.
69467         * elf/tst-auditmod4b.c (check_avx): Likewise.
69468         * elf/tst-auditmod6b.c (check_avx): Likewise.
69469         * elf/tst-auditmod6c.c (check_avx): Likewise.
69470         * elf/tst-auditmod7b.c (check_avx): Likewise.
69472 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
69474         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
69475         !__SSE_MATH__.
69477 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69479         [BZ #13540]
69480         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
69481         processing for last bytes.
69483 2011-08-06  Bruno Haible  <bruno@clisp.org>
69485         [BZ #13061]
69486         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
69487         U+0385, not to U+1FEE.
69489         [BZ #13062]
69490         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
69491         entry for U+00A5 U+0301.
69493 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
69495         [BZ #13166]
69496         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
69497         buffer for the output is too small.
69499         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
69500         optimization.
69502         [BZ #13185]
69503         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
69504         SSE flags if possible.
69506 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69508         [BZ #13540]
69509         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
69510         processing for last bytes.
69512 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
69514         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
69515         (syscall-list-default-options, syscall-list-default-condition)
69516         (syscall-list-includes): Define.
69517         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
69518         list of ABIs and options and #if conditions for each ABI.  Do not
69519         handle common syscalls between ABIs specially.
69520         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
69521         Remove.
69522         (syscall-list-variants, syscall-list-32bit-options)
69523         (syscall-list-32bit-condition, syscall-list-64bit-options)
69524         (syscall-list-64bit-condition): Define.
69525         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
69526         (syscall-list-variants, syscall-list-32bit-options)
69527         (syscall-list-32bit-condition, syscall-list-64bit-options)
69528         (syscall-list-64bit-condition): Define.
69529         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
69530         Remove.
69531         (syscall-list-variants, syscall-list-32bit-options)
69532         (syscall-list-32bit-condition, syscall-list-64bit-options)
69533         (syscall-list-64bit-condition): Define.
69534         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
69535         Remove.
69536         (syscall-list-variants, syscall-list-32bit-options)
69537         (syscall-list-32bit-condition, syscall-list-64bit-options)
69538         (syscall-list-64bit-condition): Define.
69540 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
69542         * locale/iso-639.def: Add brx entry.
69544         [BZ #13328]
69545         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
69546         Proposed by Mariusz_Cukr <marcukr@op.pl>.
69548         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
69549         __feraiseexcept_renamed.
69551 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69553         [BZ #13538]
69554         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
69555         EPOLLET with unsigned values.
69556         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69557         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
69559         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
69560         to large cancellation.
69561         * math/s_cacoshf.c: Likewise.
69562         * math/s_cacoshl.c: Likewise.
69564 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
69566         [BZ #13305]
69567         [BZ #12786]
69568         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
69569         * math/s_cacoshf.c: Likewise.
69570         * math/s_cacoshl.c: Likewise.
69572 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69574         [BZ #13439]
69575         * iconv/gconv.h: Define __GCONV_SWAP.
69576         * iconvdata/unicode.c: The swap bit must be stored in __flags.
69577         * iconvdata/utf-16.c: Likewise.
69578         * iconvdata/utf-32.c: Likewise.
69580 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
69582         [BZ #13524]
69583         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
69584         numerator after shifting it by one limb.
69586 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
69588         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
69589         under [__USE_EXTERN_INLINES].
69591 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69593         [BZ #13446]
69594         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
69596 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69598         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
69599         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
69600         optimized code.
69601         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
69602         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
69603         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
69604         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
69605         for strncasecmp/strncasecmp_l compilation.
69606         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
69607         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
69609 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
69611         [BZ #13484]
69612         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
69613         of __asm__.
69615 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69617         [BZ #13506]
69618         * time/tzfile.c (__tzfile_read): Check values from file header.
69620 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
69622         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
69623         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
69624         * powerpc/powerpc32/dl-start.S: Likewise.
69625         * powerpc/powerpc32/elf/start.S: Likewise.
69626         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
69627         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
69628         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
69629         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
69630         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
69631         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
69632         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
69633         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
69634         * powerpc/powerpc32/fpu/s_round.S: Likewise.
69635         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
69636         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
69637         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
69638         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
69639         * powerpc/powerpc32/memset.S: Likewise.
69640         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
69641         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
69642         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
69643         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
69644         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
69645         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
69646         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
69647         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
69648         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
69649         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
69650         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
69651         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
69652         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
69654 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69656         * math/libm-test.inc: Added more nearbyint tests.
69657         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
69658         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
69659         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
69660         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
69662 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
69664         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
69665         FD_CLOEXEC.
69667 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69669         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
69670         Add wcscpy-ssse3 wcscpy-c.
69671         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
69672         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
69673         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
69674         * sysdeps/x86_64/wcschr.S: New file.
69675         * sysdeps/x86_64/wcsrchr.S: New file.
69676         * string/test-strcmp.c: Remove checking of wcscmp function for
69677         wrong alignments.
69678         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
69679         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
69680         wcsrchr-sse2 wcsrchr-c.
69681         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
69682         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
69683         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
69684         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
69685         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
69686         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
69687         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
69688         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
69689         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
69690         * wcsmbc/wcschr.c (WCSCHR): New macro.
69692 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69694         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
69695         * wcsmbs/test-wcsrchr.c: New file.
69696         * string/test-strrchr.c: Add wcsrchr support.
69697         (WIDE): New macro.
69698         * wcsmbs/test-wcscpy.c: New file.
69699         * string/test-strcpy.c: Add wcscpy support.
69700         (WIDE): New macro.
69702 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
69704         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
69705         the inner loop.
69707 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
69709         [BZ #13472]
69710         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
69712 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
69714         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
69715         Minor optimizations.
69717         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
69718         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
69719         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
69721 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
69723         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
69724         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
69725         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
69726         for gcc to avoid warnings.
69727         * inet/Makefile (tests): Add tst-checks.
69728         * inet/tst-checks.c: New file.
69730         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
69731         warning.
69733         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
69734         __wmemcmp_sse2.
69736         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
69737         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
69739         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
69741 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
69743         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
69744         problem.
69746         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
69748 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
69750         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
69751         conditional on GCC version.
69752         (__arch_compare_and_exchange_val_8_acq)
69753         (__arch_compare_and_exchange_val_16_acq)
69754         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
69755         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
69756         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
69758 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
69760         * sysdeps/sh/backtrace.c: New file.
69762 2011-12-02  Andreas Schwab  <schwab@redhat.com>
69764         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
69765         parenthesis.
69767 2011-12-01  Andreas Schwab  <schwab@redhat.com>
69769         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
69770         falling back to utime.
69772 2011-11-30  Andreas Schwab  <schwab@redhat.com>
69774         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
69775         expectations for float.
69777 2011-11-29  Andreas Schwab  <schwab@redhat.com>
69779         * locale/weight.h (findidx): Add parameter len.
69780         * locale/weightwc.h (findidx): Likewise.
69781         * posix/fnmatch_loop.c (FCT): Adjust caller.
69782         * posix/regcomp.c (build_equiv_class): Likewise.
69783         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
69784         * posix/regexec.c (check_node_accept_bytes): Likewise.
69785         * string/strcoll_l.c (STRCOLL): Likewise.
69786         * string/strxfrm_l.c (STRXFRM): Likewise.
69788 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
69790         * Makefile.in: Remove CVSOPT handling.
69791         * configure.in: Remove use of AC_REVISION.
69792         * iconvdata/Makefile (distribute): No need to filter out CVS.
69793         * scripts/list-sources.sh: Remove CVS, subversion and monotone
69794         handling.
69796 2011-11-16  Andreas Schwab  <schwab@redhat.com>
69798         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
69799         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
69800         [USE_AS_STRNCASECMP_L]: Likewise.
69801         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
69802         NO_TLS_DIRECT_SEG_REFS.
69803         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
69804         Fix argument offsets for non-PIC.
69805         [USE_AS_STRNCASECMP_L]: Likewise.
69806         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
69807         NO_TLS_DIRECT_SEG_REFS.
69809 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
69811         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
69812         O_CLOEXEC.
69813         * locale/loadlocale.c (_nl_load_locale): Likewise.
69815 2011-11-15  Andreas Schwab  <schwab@redhat.com>
69817         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
69818         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
69819         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
69820         (SYSCALL_GETTIME): Set errno on error.
69822         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
69823         count references to noai6ai_cached.
69825 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
69827         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
69829         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
69830         FD_CLOEXEC for /proc/self/maps.
69832         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
69833         FD_CLOEXEC for /proc/meminfo.
69835         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
69836         gai.conf.
69838         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
69839         FD_CLOEXEC for given file.
69841         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
69843         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
69844         FD_CLOEXEC for /etc/hosts.
69845         (_gethtent): Likewise.
69847         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
69849         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
69850         cancellation and set FD_CLOEXEC for /etc/netgroup.
69852         * nss/nss_files/files-key.c (search): Don't allow cancellation when
69853         reading /etc/publickey.
69855         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
69856         allow cancellation when reading /etc/group.
69858         * nss/nss_files/files-alias.c (internal_setent): Don't allow
69859         cancellation.
69860         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
69862         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
69863         when using data file.
69865         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
69867         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
69868         (write_nis_obj): Use "c" and "e" in fopen.
69870         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
69872         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
69874         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
69876         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
69878         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
69879         locale.alias.
69881         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
69883         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
69885         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
69887         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
69888         file parsing and set FD_CLOEXEC.
69890 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
69892         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
69894 2011-11-14  Andreas Schwab  <schwab@redhat.com>
69896         * malloc/arena.c (arena_get2): Don't call reused_arena when
69897         _int_new_arena failed.
69899 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
69901         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
69902         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
69903         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
69904         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69905         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69906         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
69907         to compile strcasecmp and strncasecmp.
69908         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
69909         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
69911         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
69913 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
69915         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
69916         locale-defines.sym to gen-as-const-headers.
69917         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
69918         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
69919         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
69920         to compile strcasecmp and strncasecmp.
69921         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
69922         strcasecmp_l and strncasecmp_l.
69923         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
69924         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
69925         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
69926         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
69927         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
69928         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
69929         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
69930         * sysdeps/i386/i686/multiarch/strncase.S: New file.
69931         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
69932         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
69933         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
69935 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
69937         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
69938         result of SYSDEP_GETTIME_CPU to retval.
69939         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
69940         parameter list to macro.  Remove trailing semicolon.  Adjust users.
69942         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
69943         variable.
69945         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
69946         mantissa words.
69947         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
69949         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
69950         from unused variable.
69952         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
69953         DWARF definitions.
69954         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
69955         for assembling.
69957         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
69958         over namespaces.
69960         * sunrpc/rpc_prot.c (rejected): Fix case value.
69962         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
69963         unsigned long long int to avoid warnings in shift.
69965         * posix/regex_internal.c (re_string_reconstruct): Actually use result
69966         of use of trans.
69967         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
69968         variable tmp.
69970         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
69971         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
69972         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
69974         * nis/nis_table.c (nis_list): Use variable of correct type for
69975         result of __follow_path call.
69977 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69979         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
69980         of math functions ceil, trunc, floor, round, and sqrt, when
69981         avaliable on the platform.
69982         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
69983         name clash.
69984         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
69985         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
69986         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
69988 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
69990         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
69991         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
69993 2011-11-11  Roland McGrath  <roland@hack.frob.com>
69995         * include/unistd.h: Fix __readlink return type.
69996         Reported by Chris Metcalf <cmetcalf@tilera.com>.
69998 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
70000         * stdlib/ucontext.h: Undo last change for makecontext.
70002 2011-11-11  Andreas Schwab  <schwab@redhat.com>
70004         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
70006         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
70007         * setjmp/setjmp.h: Mark functions as non-leaf.
70008         * setjmp/bits/setjmp2.h: Likewise.
70009         * stdlib/ucontext.h: Likewise.
70011 2011-11-10  Andreas Schwab  <schwab@redhat.com>
70013         * malloc/arena.c (_int_new_arena): Don't increment narenas.
70014         (reused_arena): Don't check arena limit.
70015         (arena_get2): Atomically check arena limit.
70017 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
70019         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
70020         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
70022         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
70023         instructions.
70025 2011-11-07  Andreas Schwab  <schwab@redhat.com>
70027         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
70028         handler when locking.
70030         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
70031         Fix size of allocated buffer.
70033 2011-11-04  Andreas Schwab  <schwab@redhat.com>
70035         [BZ #10103]
70036         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
70037         declarations for long double functions.
70038         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
70040         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
70042 2011-11-03  Andreas Schwab  <schwab@redhat.com>
70044         * nscd/nscd.c (main): Don't start AVC thread until credentials are
70045         installed.
70047         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
70048         is disabled.
70050 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70052         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
70054 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
70056         * include/alloca.h (stackinfo_alloca_round): Define.
70057         (extend_alloca): Use it.
70058         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
70059         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
70060         here.
70062         * scripts/check-local-headers.sh: Ignore libaudit.h.
70064         * nscd/Makefile (extra-objs): Make recursively expanded.
70066 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
70068         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
70069         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
70071         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
70072         * posix/tst-rfc3484-2.c: Likewise.
70073         * posix/tst-rfc3484-3.c: Likewise.
70075         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
70076         process_vm_writev.
70077         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
70078         process_vm_writev.
70079         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
70080         process_vm_writev from libc using GLIBC_2.15 version.
70082         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
70084 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
70086         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
70087         stack usage.
70089 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
70091         [BZ #13367]
70092         * nss/getent.c (initgroups_keys): Show error message in case no group
70093         names are given.
70095         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
70096         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
70097         __bump_nl_timestamp.
70098         * nscd/connections (nscd_init): When host database is served open
70099         netlink socket and request notification about configuration changes.
70100         (main_loop_poll): Track netlink file descriptor and bump timestamp
70101         in case data becomes available.
70102         (main_loop_epoll): Likewise.
70103         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
70104         (database_pers_head): Add extra_data fileds.
70105         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
70106         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
70107         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
70108         Adjust caller.
70109         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
70110         in6ai data, call __free_in6ai.
70111         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
70112         Add -DHAVE_NETLINK.
70113         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
70114         interface information.  Reuse previous data if netlink timestamp
70115         is not changed.
70116         (__bump_nl_timestamp): New function.
70117         (__free_in6ai): New function.
70119 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
70121         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
70122         close_not_cancel_no_status here.
70123         (__check_pf): Reorganize code a bit to not call close twice if OOM.
70125 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
70127         [BZ #13276]
70128         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
70129         return value.
70131         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
70132         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
70133         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
70135 2011-07-03  Andreas Jaeger  <aj@suse.de>
70137         [BZ #10709]
70138         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
70139         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
70140         * math/libm-test.inc (sin_test): Add test case.
70142 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
70144         [BZ #13337]
70145         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
70146         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
70148         * elf/chroot_canon.c (chroot_canon): Cleanups.
70150         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
70152         [BZ #13335]
70153         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
70154         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
70156         * string/test-strchr.c: Make usable for strchrnul testing.
70157         * string/test-strchrnul.c: New file.
70158         * string/Makefile (strop-tests): Add strchrnul.
70160         * po/it.po: Update from translation team.
70161         * po/es.po: Likewise.
70163 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
70165         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
70166         the three constants needed as parameters.  Drop the others.
70167         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
70168         __m128i_strloadu_tolower.
70169         Create and initialize variable zero and use it in all the places
70170         where _mm_setzero_si128 was used.
70172         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
70173         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
70174         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
70175         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
70176         anymore.
70177         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
70178         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
70179         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
70180         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
70181         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
70182         __mpranred, __mptan.
70183         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
70184         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
70185         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
70186         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
70187         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
70188         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
70189         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
70190         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
70191         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
70193 2011-10-28  Andreas Schwab  <schwab@redhat.com>
70195         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
70196         redefine if SHARED.
70197         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
70199         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
70200         wide char related routines to wcsmbs subdir.
70202 2011-10-27  Andreas Schwab  <schwab@redhat.com>
70204         [BZ #13344]
70205         * misc/sys/cdefs.h (__THROWNL): Define.
70206         * posix/unistd.h: Use __THREADNL instead of __THREAD
70207         for memory synchronization functions.
70209 2011-10-26  Roland McGrath  <roland@hack.frob.com>
70211         [BZ #13349]
70212         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
70213         doesn't exist.
70214         * manual/stdio.texi (Obstack Streams): Node removed.
70216 2011-10-26  Andreas Schwab  <schwab@redhat.com>
70218         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
70219         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70220         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70222         * math/math_private.h (math_force_eval): Allow non-addressable
70223         arguments.
70224         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
70226 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70228         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
70229         file is not needed.
70231         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
70232         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
70233         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70234         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70235         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70236         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70237         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70238         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
70239         Add AVX variants.
70240         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
70241         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
70242         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
70243         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
70244         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
70245         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
70246         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
70247         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
70248         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
70249         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
70250         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
70251         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
70252         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
70253         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
70254         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
70255         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
70256         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
70257         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
70258         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
70260         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
70261         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
70263         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
70264         place.  Use VEX encoding when compiling for AVX.
70266 2011-10-25  Andreas Schwab  <schwab@redhat.com>
70268         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
70269         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
70271         * string/test-strchr.c (do_test): Don't generate NUL bytes.
70273 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70275         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
70276         useless if() expression.
70277         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70278         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
70279         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
70280         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70281         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
70282         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70283         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70284         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70285         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
70286         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70287         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70288         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70289         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70290         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70291         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70292         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70293         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70294         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70295         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70297         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
70299 2011-10-25  Andreas Schwab  <schwab@redhat.com>
70301         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
70302         condition.
70303         * elf/dl-fini.c (_dl_sort_fini): Likewise.
70305 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70307         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
70308         .text section.  Avoid duplicate constants.
70309         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70310         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70311         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70312         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70313         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70314         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70315         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70316         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70317         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
70318         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
70319         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
70320         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
70321         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
70322         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
70323         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
70324         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
70325         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
70326         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
70327         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70328         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70329         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70330         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70331         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70332         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
70333         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
70334         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
70335         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
70336         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
70337         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
70338         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
70339         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
70340         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
70341         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
70342         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
70343         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
70344         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
70345         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
70346         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
70347         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
70348         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
70349         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
70350         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
70351         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
70352         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
70353         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
70355 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
70357         * sysdeps/x86_64/dla.h: Move to ...
70358         * sysdeps/x86_64/fpu/dla.h: ...here.
70359         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
70360         situations.  Use __builtin_fma only for gcc 4.6 and up.
70362         * config.make.in: Add have-mfma4 entry.
70363         * configure.in: Substitute libc_cv_cc_fma4.
70364         * math/Makefile (dbl-only-routines): Add sincostab.
70365         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
70366         Use __sincostab not sincos.
70367         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
70368         name is a macro.
70369         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70370         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70371         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70372         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
70373         using __copysign.
70374         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
70375         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
70376         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
70377         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
70378         and __inv.
70379         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
70380         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
70381         __copysign.
70382         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
70383         define aliases when function name is a macro.
70384         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
70385         sysdeps/ieee754/dbl-64/sincos.tbl.
70386         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
70387         fma4-enabled routines.
70388         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
70389         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
70390         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
70391         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
70392         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
70393         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
70394         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
70395         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
70396         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
70397         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
70398         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
70399         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
70400         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
70401         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
70402         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
70403         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
70404         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
70405         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
70406         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
70407         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
70408         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
70409         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
70410         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
70411         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
70412         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
70413         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
70414         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
70415         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
70416         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
70417         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
70419         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
70420         rename.
70421         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70422         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70423         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70424         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70425         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70426         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70427         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70428         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70430 2011-10-24  Andreas Schwab  <schwab@redhat.com>
70432         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
70434 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70436         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
70438         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
70439         prediction.
70440         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
70442         * string/strnlen.c: Don't define STRNLEN, reverse logic.
70443         Remove unused variable magic_bits.
70444         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
70446         * string/strnlen.c: Define and use STRNLEN macro.
70447         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
70448         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
70449         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
70450         * wcsmbs/wcslen.c: Define and use WCSLEN.
70451         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
70452         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
70453         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
70454         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
70455         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
70456         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
70457         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
70459 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70461         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70462         strnlen-sse2-no-bsf.
70463         Rename strlen-no-bsf to strlen-sse2-no-bsf.
70464         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
70465         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
70466         Add strnlen support.
70467         (USE_AS_STRNLEN): New macro.
70468         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
70469         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
70470         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
70471         * sysdeps/x86_64/wcslen.S: New file.
70473 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
70475         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
70476         XMM-moves are used for copying on small sizes.
70478 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70480         * wcsmbs/Makefile (strop-tests): Add wcschr.
70481         * wcsmbs/test-wcschr.c: New file.
70482         * string/test-strchr.c: Update.
70483         Add wcschr support.
70484         (WIDE): New macro.
70486 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70488         * wcsmbs/Makefile (strop-tests): Add wcslen.
70489         * wcsmbs/test-wcslen.c: New file.
70490         * string/test-strlen.c: Update.
70491         Add wcslen support.
70492         (WIDE): New macro.
70494 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70496         * po/it.po: Update from translation team.
70498 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70500         * sysdeps/x86_64/wcscmp.S: Update.
70501         Fix wrong comparison semantics.
70502         wcscmp shall use signed comparison not unsigned.
70503         Don't use substraction to avoid overflow bug.
70504         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
70505         * wcsmbc/wcscmp.c: Likewise.
70506         * string/test-strcmp.c: Likewise.
70507         Add new tests to check cases with negative values.
70509 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70511         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
70512         * sysdeps/x86_64/dla.h: ...here.  New file.
70513         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
70514         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70515         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70516         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70517         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70518         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70519         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70520         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70521         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70523 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
70525         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
70526         __ynl_finite aliases.
70528 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
70530         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70532         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
70533         define DLA_FMA.
70534         [DLA_FMA] (EMULV): Use DLA_FMA.
70535         [DLA_FMA] (MUL12): Use EMULV.
70536         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
70537         that are not needed.
70538         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70539         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70540         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70541         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70542         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70543         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70544         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70546 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
70548         * math/s_nan.c: Undef __nan.
70549         * math/s_nanf.c: Undef __nanf.
70550         * math/s_nanl.c: Undef __nanl.
70551         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
70552         "math_private.h".
70554 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
70556         * math/s_catan.c: Add branch predictions.
70557         * math/s_catanf.c: Likewise.
70558         * math/s_catanh.c: Likewise.
70559         * math/s_catanhf.c: Likewise.
70560         * math/s_catanhl.c: Likewise.
70561         * math/s_catanl.c: Likewise.
70562         * math/s_cexp.c: Likewise.
70563         * math/s_cexpf.c: Likewise.
70564         * math/s_cexpl.c: Likewise.
70565         * math/s_clog.c: Likewise.
70566         * math/s_clog10.c: Likewise.
70567         * math/s_clog10f.c: Likewise.
70568         * math/s_clog10l.c: Likewise.
70569         * math/s_clogf.c: Likewise.
70570         * math/s_clogl.c: Likewise.
70571         * math/s_csqrt.c: Likewise.
70572         * math/s_csqrtf.c: Likewise.
70573         * math/s_csqrtl.c: Likewise.
70574         * math/s_ctanf.c: Likewise.
70575         * math/s_ctanh.c: Likewise.
70576         * math/s_ctanhf.c: Likewise.
70577         * math/s_ctanhl.c: Likewise.
70578         * math/s_ctanl.c: Likewise.
70580         * math/math_private.h: Define __nan, __nanf, __nanl.
70581         * math/s_cacosh.c: Include <math_private.h>.
70582         * math/s_cacoshl.c: Likewise.
70583         * math/s_casinh.c: Likewise.
70584         * math/s_casinhf.c: Likewise.
70585         * math/s_casinhl.c: Likewise.
70586         * math/s_ccos.c: Rely entire on ccosh.
70587         * math/s_ccosf.c: Rely entire on ccoshf.
70588         * math/s_ccosl.c: Rely entirely on ccoshl.
70589         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
70590         Remove tests for FE_INVALID.
70591         * math/s_ccoshf.c: Likewise.
70592         * math/s_ccoshl.c: Likewise.
70593         * math/s_csin.c: Likewise.
70594         * math/s_csinf.c: Likewise.
70595         * math/s_csinh.c Likewise.
70596         * math/s_csinhf.c: Likewise.
70597         * math/s_csinhl.c: Likewise.
70598         * math/s_csinl.c: Likewise.
70599         * math/s_ctan.c: Likewise.
70600         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
70601         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
70602         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
70604 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
70606         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
70607         compilation problems.
70609         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
70610         __builtin_expect.
70612 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
70614         * sysdeps/i386/configure.in: Test for -mfma4 option.
70615         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
70616         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
70617         COMMON_CPUID_INDEX_80000001.
70618         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
70619         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
70620         use it if FMA3 is not supported.
70621         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
70623         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
70624         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
70626 2011-10-20  Andreas Schwab  <schwab@redhat.com>
70628         [BZ #12892]
70629         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
70630         it would create a cycle with a link time dependency.
70632 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
70634         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
70635         instruction.
70636         * string/Makefile (strop-tests): Add rawmemchr.
70637         * string/test-rawmemchr.c: New file.
70639         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
70640         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
70641         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
70642         when compiling str{,n}casecmp and when AVX is available.  Hook up
70643         new optimized code in initializers.
70645 2011-10-19  Andreas Schwab  <schwab@redhat.com>
70647         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
70648         __feraiseexcept instead of feraiseexcept.
70650 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
70652         * math/math_private.h: Define defaults for libc_fetestexcept and
70653         libc_feupdateenv.
70654         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
70655         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
70656         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
70657         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70658         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70659         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70660         libc_fetestexcept and libc_feupdateenv.
70662         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
70663         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
70664         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
70665         * sysdeps/x86_64/fpu/math_private.h: Define special version of
70666         libc_feholdexcept_setround.
70668         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
70669         Add s_nearbyint-c and s_nearbyintf-c.
70670         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
70671         nearbyintf inlines.
70672         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
70673         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
70674         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
70675         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
70677         * math/math_private.h: Define defaults for libc_fegetround,
70678         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
70679         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
70680         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
70681         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
70682         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
70683         standard functions.
70684         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
70685         Remove comments and hacks for old compiler versions.
70686         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70687         libc_fegetround, libc_fesetround, libc_feholdexcept, and
70688         libc_feholdexceptl.
70690 2011-10-18  Andreas Schwab  <schwab@redhat.com>
70692         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
70693         (__feraiseexcept_renamed): Add __NTH.
70694         (feraiseexcept): Add __NTH.  Rename local variables to fix
70695         namespace violations.
70697 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
70699         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
70701         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
70703         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
70704         recently added interfaces.
70705         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
70707         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
70708         about macro parameter expansion.
70710         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
70711         __NO_MATH_INLINES is defined.  Cleanups.
70713         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
70714         and __floorf is target has SSE4.1.
70715         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
70716         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
70717         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
70718         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
70720         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
70721         name.
70722         (floorf): Likewise.
70724         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
70726 2011-10-17  Andreas Schwab  <schwab@redhat.com>
70728         * misc/sys/cdefs.h: Fix last change.
70730         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
70731         database lookup.
70733 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
70735         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
70737         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
70738         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70739         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70740         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70741         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70742         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70743         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70744         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70745         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70746         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
70747         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
70748         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
70749         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
70750         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
70751         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
70752         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
70753         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
70754         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
70755         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
70756         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
70757         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
70758         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
70760         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
70761         ceil, ceilf, floor, floorf.
70763         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
70764         Perform IRELATIVE relocations last.
70766         * elf/do-rel.h: Add another parameter nrelative, replacing the
70767         local variable with the same name.  Change name of the function
70768         to end in Rel or Rela (uppercase).
70769         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
70770         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
70771         elf_dynamic_do_##reloc function.
70773 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
70775         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
70776         is sufficient, at least on modern CPUs.
70778         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
70780         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
70781         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
70783         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
70784         __expl_finite.
70785         * math/bits/math-finite.h: Add entries for exp.
70786         * math/e_expl.c: Add __*_finite alias.
70787         * sysdeps/i386/fpu/e_exp.S: Likewise.
70788         * sysdeps/i386/fpu/e_expf.S: Likewise.
70789         * sysdeps/i386/fpu/e_expl.c: Likewise.
70790         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70791         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70792         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
70793         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
70794         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
70795         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
70796         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
70798         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
70799         is sufficient, at least on modern CPUs.
70801         * ctype/ctype-info.c (__ctype_init): Define.
70802         * include/ctype.h (__ctype_init): Declare.
70803         (__ctype_b_loc): The variable is always initialized.
70804         (__ctype_toupper_loc): Likewise.
70805         (__ctype_tolower_loc): Likewise.
70806         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
70807         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
70809 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
70811         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
70813         * configure.in: Also look in $cxxmachine/include for C++ system
70814         headers.
70816 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70818         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
70819         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
70820         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
70821         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
70822         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
70823         (USE_AS_WMEMCMP): New macro.
70824         Fixing indents.
70825         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
70826         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
70827         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
70828         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
70829         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70830         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
70831         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
70832         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
70833         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
70834         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
70835         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
70836         (USE_AS_WMEMCMP): New macro.
70837         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
70838         * sysdeps/string/test-memcmp.c: Update.
70839         Fix simple_wmemcmp.
70840         Add new tests.
70841         * wcsmbs/wmemcmp.c: Update.
70842         (WMEMCMP): New macro.
70843         Fix overflow bug.
70845 2011-10-12  Andreas Jaeger  <aj@suse.de>
70847         [BZ #13268]
70848         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
70850 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
70852         * libio/iofwide.c (do_length): Avoid warning.
70854         * ctype/ctype.h (__isctype_f): Add missing __THROW.
70856 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
70858         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
70860         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
70861         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
70862         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
70863         * sysdeps/i386/i686/fpu/e_log.S: New file.
70864         * sysdeps/i386/i686/fpu/e_logf.S: New file.
70865         * sysdeps/i386/i686/fpu/e_logl.S: New file.
70867         * ctype/ctype.h: Add support for inlined isXXX functions when
70868         compiling C++ code.
70870 2011-10-14  Andreas Schwab  <schwab@redhat.com>
70872         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70874         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
70876 2011-10-13  Roland McGrath  <roland@hack.frob.com>
70878         [BZ #13291]
70879         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
70881 2011-10-13  Andreas Schwab  <schwab@redhat.com>
70883         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
70884         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
70885         feraiseexcept.
70887         * sysdeps/x86_64/memrchr.S: Check for zero size.
70889         * string/stratcliff.c: Add memrchr tests.
70891 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70893         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70894         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
70895         rawmemchr-sse2 rawmemchr-sse2-bsf.
70896         * sysdeps/i386/i686/multiarch/memchr.S: New file.
70897         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
70898         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
70899         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
70900         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
70901         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
70902         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
70903         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
70904         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
70905         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
70906         * string/memrchr.c (MEMRCHR): New macro.
70908 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
70910         Add integration with gcc's -ffinite-math-only and optimize wrapper
70911         functions in libm.
70912         * Versions.def: Define GLIBC_2.15 version for libm.
70913         * math/Makefile (headers): Add bits/math-finite.h.
70914         * math/bits/math-finite.h: New file.
70915         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
70916         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
70917         * math/e_acoshl.c: Add __*_finite alias.
70918         * math/e_acosl.c: Likewise.
70919         * math/e_asinl.c: Likewise.
70920         * math/e_atan2l.c: Likewise.
70921         * math/e_atanhl.c: Likewise.
70922         * math/e_coshl.c: Likewise.
70923         * math/e_exp10.c: Likewise.
70924         * math/e_exp10f.c: Likewise.
70925         * math/e_exp10l.c: Likewise.
70926         * math/e_exp2l.c: Likewise.
70927         * math/e_fmodl.c: Likewise.
70928         * math/e_gammal_r.c: Likewise.
70929         * math/e_hypotl.c: Likewise.
70930         * math/e_j0l.c: Likewise.
70931         * math/e_j1l.c: Likewise.
70932         * math/e_jnl.c: Likewise.
70933         * math/e_lgammal_r.c: Likewise.
70934         * math/e_log10l.c: Likewise.
70935         * math/e_log2l.c: Likewise.
70936         * math/e_logl.c: Likewise.
70937         * math/e_powl.c: Likewise.
70938         * math/e_sinhl.c: Likewise.
70939         * math/e_sqrtl.c: Likewise.
70940         * math/e_scalb.c: Completely rewritten and optimized.
70941         * math/e_scalbf.c: Likewise.
70942         * math/e_scalbl.c: Likewise.
70943         * math/w_acos.c: Likewise.
70944         * math/w_acosf.c: Likewise.
70945         * math/w_acosl.c: Likewise.
70946         * math/w_acosh.c: Likewise.
70947         * math/w_acoshf.c: Likewise.
70948         * math/w_acoshl.c: Likewise.
70949         * math/w_asin.c: Likewise.
70950         * math/w_asinf.c: Likewise.
70951         * math/w_asinl.c: Likewise.
70952         * math/w_atan2.c: Likewise.
70953         * math/w_atan2f.c: Likewise.
70954         * math/w_atan2l.c: Likewise.
70955         * math/w_atanh.c: Likewise.
70956         * math/w_atanhf.c: Likewise.
70957         * math/w_atanhl.c: Likewise.
70958         * math/w_exp10.c: Likewise.
70959         * math/w_exp10f.c: Likewise.
70960         * math/w_exp10l.c: Likewise.
70961         * math/w_fmod.c: Likewise.
70962         * math/w_fmodf.c: Likewise.
70963         * math/w_fmodl.c: Likewise.
70964         * math/w_j0.c: Likewise.
70965         * math/w_j0f.c: Likewise.
70966         * math/w_j0l.c: Likewise.
70967         * math/w_j1.c: Likewise.
70968         * math/w_j1f.c: Likewise.
70969         * math/w_j1l.c: Likewise.
70970         * math/w_jn.c: Likewise.
70971         * math/w_jnf.c: Likewise.
70972         * math/w_log.c: Likewise.
70973         * math/w_logf.c: Likewise.
70974         * math/w_logl.c: Likewise.
70975         * math/w_log10.c: Likewise.
70976         * math/w_log10f.c: Likewise.
70977         * math/w_log10l.c: Likewise.
70978         * math/w_log2.c: Likewise.
70979         * math/w_log2f.c: Likewise.
70980         * math/w_log2l.c: Likewise.
70981         * math/w_pow.c: Likewise.
70982         * math/w_powf.c: Likewise.
70983         * math/w_powl.c: Likewise.
70984         * math/w_remainder.c: Likewise.
70985         * math/w_remainderf.c: Likewise.
70986         * math/w_remainderl.c: Likewise.
70987         * math/w_scalb.c: Likewise.
70988         * math/w_scalbf.c: Likewise.
70989         * math/w_scalbl.c: Likewise.
70990         * math/w_sqrt.c: Likewise.
70991         * math/w_sqrtf.c: Likewise.
70992         * math/w_sqrtl.c: Likewise.
70993         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
70994         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
70995         used.
70996         * math/math_private.h: Declare __kernel_standard_f.
70997         * math/w_cosh.c: Remove cruft and optimize a bit.
70998         * math/w_coshf.c: Likewise.
70999         * math/w_coshl.c: Likewise.
71000         * math/w_exp2.c: Likewise.
71001         * math/w_exp2f.c: Likewise.
71002         * math/w_exp2l.c: Likewise.
71003         * math/w_hypot.c: Likewise.
71004         * math/w_hypotf.c: Likewise.
71005         * math/w_hypotl.c: Likewise.
71006         * math/w_lgamma.c: Likewise.
71007         * math/w_lgamma_r.c: Likewise.
71008         * math/w_lgammaf.c: Likewise.
71009         * math/w_lgammaf_r.c: Likewise.
71010         * math/w_lgammal.c: Likewise.
71011         * math/w_lgammal_r.c: Likewise.
71012         * math/w_sinh.c: Likewise.
71013         * math/w_sinhf.c: Likewise.
71014         * math/w_sinhl.c: Likewise.
71015         * math/w_tgamma.c: Likewise.
71016         * math/w_tgammaf.c: Likewise.
71017         * math/w_tgammal.c: Likewise.
71018         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71019         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71020         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
71021         Minor optimizations.  Pretty printing.  Remove cruft.
71022         * sysdeps/i386/fpu/e_acosf.S: Likewise.
71023         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71024         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71025         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71026         * sysdeps/i386/fpu/e_acosl.c: Likewise.
71027         * sysdeps/i386/fpu/e_asin.S: Likewise.
71028         * sysdeps/i386/fpu/e_asinf.S: Likewise.
71029         * sysdeps/i386/fpu/e_atan2.S: Likewise.
71030         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
71031         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
71032         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71033         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71034         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71035         * sysdeps/i386/fpu/e_exp10.S: Likewise.
71036         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
71037         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
71038         * sysdeps/i386/fpu/e_exp2.S: Likewise.
71039         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
71040         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
71041         * sysdeps/i386/fpu/e_fmod.S: Likewise.
71042         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
71043         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
71044         * sysdeps/i386/fpu/e_hypot.S: Likewise.
71045         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
71046         * sysdeps/i386/fpu/e_log.S: Likewise.
71047         * sysdeps/i386/fpu/e_log10.S: Likewise.
71048         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71049         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71050         * sysdeps/i386/fpu/e_log2.S: Likewise.
71051         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71052         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71053         * sysdeps/i386/fpu/e_logf.S: Likewise.
71054         * sysdeps/i386/fpu/e_logl.S: Likewise.
71055         * sysdeps/i386/fpu/e_pow.S: Likewise.
71056         * sysdeps/i386/fpu/e_powf.S: Likewise.
71057         * sysdeps/i386/fpu/e_powl.S: Likewise.
71058         * sysdeps/i386/fpu/e_remainder.S: Likewise.
71059         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
71060         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
71061         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71062         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71063         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71064         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
71065         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
71066         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
71067         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
71068         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71069         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71070         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
71071         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71072         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
71073         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
71074         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
71075         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71076         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
71077         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
71078         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
71079         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71080         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
71081         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
71082         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71083         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71084         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
71085         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71086         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71087         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
71088         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
71089         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71090         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71091         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
71092         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
71093         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
71094         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
71095         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
71096         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
71097         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71098         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
71099         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71100         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
71101         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
71102         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
71103         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
71104         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
71105         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
71106         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
71107         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
71108         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
71109         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
71110         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
71111         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71112         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
71113         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
71114         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
71115         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
71116         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
71117         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
71118         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
71119         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
71120         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71121         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
71122         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
71123         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
71124         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
71125         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
71126         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
71127         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
71128         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71129         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71130         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71131         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71132         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
71133         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
71134         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
71135         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
71136         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
71137         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
71138         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
71139         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
71140         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
71141         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
71142         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71143         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
71144         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71145         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71146         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71147         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71148         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71149         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
71150         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71151         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71152         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71153         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71154         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71155         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71156         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71157         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71158         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71159         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71160         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
71161         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71162         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71163         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71164         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
71165         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
71166         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
71167         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
71168         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
71169         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
71170         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
71171         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71172         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71173         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71174         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71175         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
71176         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71177         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
71178         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
71179         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
71180         (__isnanf): Likewise.
71181         (__isinf_ns): Likewise.
71182         (__isinf_nsf): Likewise.
71183         (__finite): Likewise.
71184         (__finitef): Likewise.
71185         (__ieee754_sqrt): Define as macro.
71186         (__ieee754_sqrtf): Define as macro.
71187         (__ieee754_sqrtl): Define as macro.
71188         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
71189         inlined copy.
71190         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
71191         __FINITE_MATH_ONLY__ consistent.
71192         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
71194 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
71196         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
71197         of rawmemchr.
71199         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
71201 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
71203         * po/ja.po: Update from translation team.
71205 2011-10-08  Roland McGrath  <roland@hack.frob.com>
71207         * locale/programs/locarchive.c (prepare_address_space): New function.
71208         (create_archive, enlarge_archive, open_archive): Use it.
71210         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
71211         inside [SHARED], where it is used.
71213         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
71215         * nss/getent.c (netgroup_keys): Remove unused variable.
71216         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
71218 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
71220         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
71221         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
71222         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
71223         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
71224         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
71225         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
71226         * math/Makefile (libm-calls): Add s_isinf_ns.
71227         * math/divtc3.c: Use __isinf_nsl instead of isinf.
71228         * math/multc3.c: Likewise.
71229         * math/s_casin.c: Likewise.
71230         * math/s_casinf.c: Likewise.
71231         * math/s_casinl.c: Likewise.
71232         * math/s_ccos.c: Likewise.
71233         * math/s_ccosf.c: Likewise.
71234         * math/s_ccosl.c: Likewise.
71235         * math/s_ctan.c: Likewise.
71236         * math/s_ctanf.c: Likewise.
71237         * math/s_ctanh.c: Likewise.
71238         * math/s_ctanhf.c: Likewise.
71239         * math/s_ctanhl.c: Likewise.
71240         * math/s_ctanl.c: Likewise.
71241         * math/w_fmod.c: Likewise.
71242         * math/w_fmodf.c: Likewise.
71243         * math/w_fmodl.c: Likewise.
71244         * math/w_remainder.c: Likewise.
71245         * math/w_remainderf.c: Likewise.
71246         * math/w_remainderl.c: Likewise.
71247         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
71248         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
71249         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
71250         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
71251         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
71252         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
71253         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
71254         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
71256         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
71257         of the number.
71258         * stdio-common/printf_fphex.c: Likewise.
71259         * stdio-common/printf_size.c: Likewise.
71261         * math/e_exp10.c: Include math_private.h using <...> not "...".
71262         * math/e_exp10f.c: Likewise.
71263         * math/e_exp10l.c: Likewise.
71264         * math/e_exp2l.c: Likewise.
71265         * math/e_j0l.c: Likewise.
71266         * math/e_j1l.c: Likewise.
71267         * math/e_jnl.c: Likewise.
71268         * math/e_lgammal_r.c: Likewise.
71269         * math/e_rem_pio2l.c: Likewise.
71270         * math/e_scalb.c: Likewise.
71271         * math/e_scalbf.c: Likewise.
71272         * math/e_scalbl.c: Likewise.
71273         * math/k_cosl.c: Likewise.
71274         * math/k_sinl.c: Likewise.
71275         * math/k_tanl.c: Likewise.
71276         * math/s_cacoshf.c: Likewise.
71277         * math/s_catan.c: Likewise.
71278         * math/s_catanf.c: Likewise.
71279         * math/s_catanh.c: Likewise.
71280         * math/s_catanhf.c: Likewise.
71281         * math/s_catanhl.c: Likewise.
71282         * math/s_catanl.c: Likewise.
71283         * math/s_ccosh.c: Likewise.
71284         * math/s_ccoshf.c: Likewise.
71285         * math/s_ccoshl.c: Likewise.
71286         * math/s_cexp.c: Likewise.
71287         * math/s_cexpf.c: Likewise.
71288         * math/s_cexpl.c: Likewise.
71289         * math/s_clog.c: Likewise.
71290         * math/s_clog10.c: Likewise.
71291         * math/s_clog10f.c: Likewise.
71292         * math/s_clog10l.c: Likewise.
71293         * math/s_clogf.c: Likewise.
71294         * math/s_clogl.c: Likewise.
71295         * math/s_csin.c: Likewise.
71296         * math/s_csinf.c: Likewise.
71297         * math/s_csinh.c: Likewise.
71298         * math/s_csinhf.c: Likewise.
71299         * math/s_csinhl.c: Likewise.
71300         * math/s_csinl.c: Likewise.
71301         * math/s_csqrt.c: Likewise.
71302         * math/s_csqrtf.c: Likewise.
71303         * math/s_csqrtl.c: Likewise.
71304         * math/s_ctan.c: Likewise.
71305         * math/s_ctanf.c: Likewise.
71306         * math/s_ctanh.c: Likewise.
71307         * math/s_ctanhf.c: Likewise.
71308         * math/s_ctanhl.c: Likewise.
71309         * math/s_ctanl.c: Likewise.
71310         * math/s_ldexp.c: Likewise.
71311         * math/s_ldexpf.c: Likewise.
71312         * math/s_ldexpl.c: Likewise.
71313         * math/s_significand.c: Likewise.
71314         * math/s_significandf.c: Likewise.
71315         * math/s_significandl.c: Likewise.
71316         * math/w_acos.c: Likewise.
71317         * math/w_acosf.c: Likewise.
71318         * math/w_acosh.c: Likewise.
71319         * math/w_acoshf.c: Likewise.
71320         * math/w_acoshl.c: Likewise.
71321         * math/w_acosl.c: Likewise.
71322         * math/w_asin.c: Likewise.
71323         * math/w_asinf.c: Likewise.
71324         * math/w_asinl.c: Likewise.
71325         * math/w_atan2.c: Likewise.
71326         * math/w_atan2f.c: Likewise.
71327         * math/w_atan2l.c: Likewise.
71328         * math/w_atanh.c: Likewise.
71329         * math/w_atanhf.c: Likewise.
71330         * math/w_atanhl.c: Likewise.
71331         * math/w_cosh.c: Likewise.
71332         * math/w_coshf.c: Likewise.
71333         * math/w_coshl.c: Likewise.
71334         * math/w_dremf.c: Likewise.
71335         * math/w_exp10.c: Likewise.
71336         * math/w_exp10f.c: Likewise.
71337         * math/w_exp10l.c: Likewise.
71338         * math/w_exp2.c: Likewise.
71339         * math/w_exp2f.c: Likewise.
71340         * math/w_fmod.c: Likewise.
71341         * math/w_fmodf.c: Likewise.
71342         * math/w_fmodl.c: Likewise.
71343         * math/w_hypot.c: Likewise.
71344         * math/w_hypotf.c: Likewise.
71345         * math/w_hypotl.c: Likewise.
71346         * math/w_j0.c: Likewise.
71347         * math/w_j0f.c: Likewise.
71348         * math/w_j0l.c: Likewise.
71349         * math/w_j1.c: Likewise.
71350         * math/w_j1f.c: Likewise.
71351         * math/w_j1l.c: Likewise.
71352         * math/w_jn.c: Likewise.
71353         * math/w_jnf.c: Likewise.
71354         * math/w_jnl.c: Likewise.
71355         * math/w_lgamma.c: Likewise.
71356         * math/w_lgamma_r.c: Likewise.
71357         * math/w_lgammaf.c: Likewise.
71358         * math/w_lgammaf_r.c: Likewise.
71359         * math/w_lgammal.c: Likewise.
71360         * math/w_lgammal_r.c: Likewise.
71361         * math/w_log.c: Likewise.
71362         * math/w_log10.c: Likewise.
71363         * math/w_log10f.c: Likewise.
71364         * math/w_log10l.c: Likewise.
71365         * math/w_log2.c: Likewise.
71366         * math/w_log2f.c: Likewise.
71367         * math/w_log2l.c: Likewise.
71368         * math/w_logf.c: Likewise.
71369         * math/w_logl.c: Likewise.
71370         * math/w_pow.c: Likewise.
71371         * math/w_powf.c: Likewise.
71372         * math/w_powl.c: Likewise.
71373         * math/w_remainder.c: Likewise.
71374         * math/w_remainderf.c: Likewise.
71375         * math/w_remainderl.c: Likewise.
71376         * math/w_scalb.c: Likewise.
71377         * math/w_scalbf.c: Likewise.
71378         * math/w_scalbl.c: Likewise.
71379         * math/w_sinh.c: Likewise.
71380         * math/w_sinhf.c: Likewise.
71381         * math/w_sinhl.c: Likewise.
71382         * math/w_sqrt.c: Likewise.
71383         * math/w_sqrtf.c: Likewise.
71384         * math/w_sqrtl.c: Likewise.
71385         * math/w_tgamma.c: Likewise.
71386         * math/w_tgammaf.c: Likewise.
71387         * math/w_tgammal.c: Likewise.
71389         * po/ja.po: Update from translation team.
71391 2011-09-29  Andreas Jaeger  <aj@suse.de>
71393         [BZ #13179]
71394         * sunrpc/netname.c (netname2host): Fix logic.
71396         [BZ #6779]
71397         [BZ #6783]
71398         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
71399         correctly.
71400         * math/w_remainder.c (__remainder): Likewise.
71401         * math/w_remainderf.c (__remainderf): Likewise.
71402         * math/libm-test.inc (remainder_test): Add test cases.
71404 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71406         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
71407         sdiv_qrnnd.
71409 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
71411         * string/test-memcmp.c: Avoid unncessary #defines.
71412         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
71414 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71416         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
71417         Use new sse2 version for core i3 - i7 as it's faster
71418         than sse42 version.
71419         (bit_Prefer_PMINUB_for_stringop): New.
71420         * sysdeps/x86_64/rawmemchr.S: Update.
71421         Replace with faster SSE2 version.
71422         * sysdeps/x86_64/memrchr.S: New file.
71423         * sysdeps/x86_64/memchr.S: Update.
71424         Replace with faster SSE2 version.
71426 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
71428         * elf/dl-load.c (lose): Add cast to avoid warning.
71430 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
71432         * po/ca.po: Update from translation team.
71434         * inet/getnetgrent_r.c: Hook up nscd.
71435         * nscd/Makefile (routines): Add nscd_netgroup.
71436         (nscd-modules): Add netgroupcache.
71437         (CFLAGS-netgroupcache.c): Define.
71438         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
71439         (cache_search): Add const to second parameter.
71440         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
71441         INNETGR.
71442         (dbs): Add netgrdb entry.
71443         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
71444         (verify_persistent_db): Handle netgrdb.
71445         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
71446         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
71447         GETFDNETGR.
71448         (netgroup_response_header): Define.
71449         (innetgroup_response_header): Define.
71450         (datahead): Add netgroup_response_header and innetgroup_response_header
71451         elements.
71452         * nscd/nscd.conf: Add entries for netgroup cache.
71453         * nscd/nscd.h (dbtype): Add netgrdb.
71454         (_PATH_NSCD_NETGROUP_DB): Define.
71455         (netgroup_iov_disabled): Declare.
71456         (xmalloc, xcalloc, xrealloc): Move declarations here.
71457         (cache_search): Adjust prototype.
71458         Add netgroup-related prototypes.
71459         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
71460         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
71461         (__nscd_innetgr): Declare.
71462         * nscd/selinux.c (perms): Use access_vector_t as element type and
71463         add netgroup-related initializers.
71464         * nscd/netgroupcache.c: New file.
71465         * nscd/nscd_netgroup.c: New file.
71466         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
71467         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
71468         For four parameters use innetgr.
71469         * nss/nss_files/files-init.c: Add definition and callback for netgr.
71470         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
71471         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
71472         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
71474         * nscd/connections.c (register_traced_file): Don't register file
71475         for disabled databases.
71477 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
71479         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
71481         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
71482         from tree and freeing node.
71484 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
71486         * nss/nsswitch.c (__nss_database_lookup): Handle
71487         nss_parse_service_list out of memory case.
71489 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
71491         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
71492         out of memory case.
71494 2011-10-04  Andreas Schwab  <schwab@redhat.com>
71496         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
71497         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
71498         pass it down.
71499         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
71500         elf_machine_rela, elf_machine_lazy_rel.
71501         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
71502         (ELF_DYNAMIC_DO_REL): Likewise.
71503         (ELF_DYNAMIC_DO_RELA): Likewise.
71504         (ELF_DYNAMIC_RELOCATE): Likewise.
71505         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
71506         to ELF_DYNAMIC_DO_REL.
71507         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
71508         (dl_main): In trace mode always set __RTLD_NOIFUNC.
71509         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
71510         elf_machine_rela.
71511         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
71512         skip_ifunc, don't call ifunc function if non-zero.
71513         (elf_machine_rela): Likewise.
71514         (elf_machine_lazy_rel): Likewise.
71515         (elf_machine_lazy_rela): Likewise.
71516         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
71517         (elf_machine_lazy_rel): Likewise.
71518         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
71519         Likewise.
71520         (elf_machine_lazy_rel): Likewise.
71521         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71522         Likewise.
71523         (elf_machine_lazy_rel): Likewise.
71524         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
71525         (elf_machine_lazy_rel): Likewise.
71526         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
71527         (elf_machine_lazy_rel): Likewise.
71528         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
71529         (elf_machine_lazy_rel): Likewise.
71530         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
71531         (elf_machine_lazy_rel): Likewise.
71532         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
71533         (elf_machine_lazy_rel): Likewise.
71534         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
71535         (elf_machine_lazy_rel): Likewise.
71537 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
71539         * nss/nss_files/files-init.c (_nss_files_init): Use static
71540         initialization for all the *_traced_file variables.
71542 2011-09-28  Andreas Schwab  <schwab@redhat.com>
71544         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71546 2011-09-27  Roland McGrath  <roland@hack.frob.com>
71548         [BZ #13226]
71549         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
71551 2011-09-27  Andreas Schwab  <schwab@redhat.com>
71553         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71554         Reread the line before reparsing it.
71556 2011-09-26  Andreas Schwab  <schwab@redhat.com>
71558         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
71560 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
71561             Maxim Kuvyrkov  <maxim@codesourcery.com>
71562             Joseph Myers  <joseph@codesourcery.com>
71564         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
71565         if needed for __stack_chk_guard.
71567 2011-09-19  Roland McGrath  <roland@hack.frob.com>
71569         * sysdeps/posix/spawni.c (script_execute): Always define it.
71570         It will be optimized away if unused.
71571         (maybe_script_execute): New function.
71572         (__spawni): Call it.
71574         * Makerules: Don't include tls.make.
71575         (config-tls): Always set to thread.
71576         * tls.make.c: File removed.
71578 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
71580         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
71581         * config.make.in (CPPFLAGS-config): New substituted variable.
71583 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71585         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
71587         [BZ #13192]
71588         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
71589         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
71591 2011-09-15  Roland McGrath  <roland@hack.frob.com>
71593         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
71594         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
71595         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71596         (CALL_FAIL): Likewise.
71597         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
71598         (CALL_FAIL): Macro removed.
71599         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
71601 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71603         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
71604         for __FINITE_MATH_ONLY__ == 1.
71606 2011-09-15  Andreas Schwab  <schwab@redhat.com>
71608         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
71609         __ieee754_sqrt instead of sqrt.
71610         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
71611         __ieee754_sqrtf instead of sqrtf.
71612         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
71613         __floorf instead of floorf.
71614         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
71615         __floorf, __truncf instead of floorf, truncf.
71617 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
71619         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
71621         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
71622         __extern_always_inline.
71623         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
71624         32-bit.
71626 2011-09-14  Andreas Schwab  <schwab@redhat.com>
71628         * elf/rtld.c (dl_main): Also relocate in dependency order when
71629         doing symbol dependency testing.
71631 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
71633         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71634         Always define `refsym'.
71636 2011-09-13  Andreas Schwab  <schwab@redhat.com>
71638         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
71639         (__FD_ELT): Renamed from __FDELT.
71640         * misc/bits/select2.h (__FD_ELT): Likewise.
71641         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
71642         __FD_MASK instead of __FDELT, __FDMASK.
71643         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71644         Likewise.
71645         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71646         Likewise.
71648         * elf/Makefile (gen-ldd): Fix pattern.
71650         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
71651         (init_tls): Likewise.
71653 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
71655         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
71657 2011-09-12  Andreas Schwab  <schwab@redhat.com>
71659         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
71660         `struct cmsghdr *' instead of `void *'.
71661         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
71662         Likewise.
71664 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
71666         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
71667         if non-absolute.
71668         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
71669         ldd_rewrite_script.
71671 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
71673         * configure.in: Remove --with-tls option.
71674         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
71675         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
71676         out in case it is missing.
71677         * sysdeps/ia64/elf/configure.in: Likewise.
71678         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
71679         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
71680         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
71681         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
71682         * sysdeps/sh/elf/configure.in: Likewise.
71683         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
71684         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71685         * sysdeps/x86_64/elf/configure.in: Likewise.
71686         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
71687         * sysdeps/mach/hurd/tls.h: Likewise.
71689         [BZ #13067]
71690         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
71692         [BZ #13090]
71693         * configure.in: Fix use of AC_INIT.
71695         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
71697 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
71699         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
71700         __set_errno.
71701         * malloc/hooks.c: Likewise.
71703         [BZ #11929]
71704         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
71705         variables statically.
71706         (narenas): Initialize.
71707         (list_lock): Initialize.
71708         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
71709         initializtion of main_arena and list_lock.  Small cleanups.
71710         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
71711         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
71712         Add initializers to main_arena and mp_.
71713         (malloc_state): Remove pagesize member.  Change all users to use
71714         GLRO(dl_pagesize).
71716         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
71717         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
71718         is always initialized.
71720         * malloc/malloc.c: Removed unused configurations and dead code.
71721         * malloc/arena.c: Likewise.
71722         * malloc/hooks.c: Likewise.
71723         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
71725         * include/tls.h: Removed.  USE___THREAD must always be defined.
71726         * bits/libc-tsd.h: Don't handle !USE___THREAD.
71727         * elf/dl-libc.c: Likewise.
71728         * elf/dl-tsd.c: Likewise.
71729         * include/errno.h: Likewise.
71730         * include/netdb.h: Likewise.
71731         * include/resolv.h: Likewise.
71732         * inet/herrno-loc.c: Likewise.
71733         * inet/herrno.c: Likewise.
71734         * malloc/arena.c: Likewise.
71735         * malloc/hooks.c: Likewise.
71736         * malloc/malloc.c: Likewise.
71737         * resolv/res-state.c: Likewise.
71738         * resolv/res_libc.c: Likewise.
71739         * sysdeps/i386/dl-machine.h: Likewise.
71740         * sysdeps/ia64/dl-machine.h: Likewise.
71741         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
71742         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
71743         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
71744         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
71745         * sysdeps/sh/dl-machine.h: Likewise.
71746         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71747         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71748         * sysdeps/unix/i386/sysdep.S: Likewise.
71749         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
71750         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
71751         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
71752         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
71753         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
71754         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
71755         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
71756         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71757         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71758         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
71759         * sysdeps/unix/x86_64/sysdep.S: Likewise.
71760         * sysdeps/x86_64/dl-machine.h: Likewise.
71761         * tls.make.c: Likewise.
71763         * configure.in: Remove --with-__thread option.  Make tests for
71764         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
71765         tls_model attribute fail if no support is available.  Remove
71766         USE_IN_LIBIO.
71767         * Makeconfig: Adjust for dropped configure option.  All features are
71768         now mandatory.
71769         * Makerules: Likewise.
71770         * Versions.def: Likewise.
71771         * argp/argp-fmtstream.c: Likewise.
71772         * argp/argp-fmtstream.h: Likewise.
71773         * argp/argp-help.c: Likewise.
71774         * assert/assert.c: Likewise.
71775         * config.h.in: Likewise.
71776         * config.make.in: Likewise.
71777         * configure: Likewise.
71778         * configure.in: Likewise.
71779         * csu/Versions: Likewise.
71780         * csu/init.c: Likewise.
71781         * elf/tst-audit2.c: Likewise.
71782         * elf/tst-tls10.c: Likewise.
71783         * elf/tst-tls10.h: Likewise.
71784         * elf/tst-tls11.c: Likewise.
71785         * elf/tst-tls12.c: Likewise.
71786         * elf/tst-tls14.c: Likewise.
71787         * elf/tst-tlsmod11.c: Likewise.
71788         * elf/tst-tlsmod12.c: Likewise.
71789         * elf/tst-tlsmod13.c: Likewise.
71790         * elf/tst-tlsmod13a.c: Likewise.
71791         * elf/tst-tlsmod14a.c: Likewise.
71792         * elf/tst-tlsmod15b.c: Likewise.
71793         * elf/tst-tlsmod16a.c: Likewise.
71794         * elf/tst-tlsmod16b.c: Likewise.
71795         * elf/tst-tlsmod7.c: Likewise.
71796         * elf/tst-tlsmod8.c: Likewise.
71797         * elf/tst-tlsmod9.c: Likewise.
71798         * gmon/gmon.c: Likewise.
71799         * grp/fgetgrent_r.c: Likewise.
71800         * grp/putgrent.c: Likewise.
71801         * hurd/fopenport.c: Likewise.
71802         * include/libc-symbols.h: Likewise.
71803         * include/tls.h: Likewise.
71804         * intl/gettextP.h: Likewise.
71805         * intl/loadinfo.h: Likewise.
71806         * locale/global-locale.c: Likewise.
71807         * locale/localeinfo.h: Likewise.
71808         * mach/devstream.c: Likewise.
71809         * malloc/arena.c: Likewise.
71810         * malloc/set-freeres.c: Likewise.
71811         * misc/err.c: Likewise.
71812         * misc/getttyent.c: Likewise.
71813         * misc/mntent_r.c: Likewise.
71814         * posix/getopt.c: Likewise.
71815         * posix/wordexp.c: Likewise.
71816         * pwd/fgetpwent_r.c: Likewise.
71817         * resolv/Versions: Likewise.
71818         * resolv/res_hconf.c: Likewise.
71819         * shadow/fgetspent_r.c: Likewise.
71820         * shadow/putspent.c: Likewise.
71821         * stdio-common/printf_fphex.c: Likewise.
71822         * stdio-common/tmpfile.c: Likewise.
71823         * stdlib/abort.c: Likewise.
71824         * stdlib/fmtmsg.c: Likewise.
71825         * sunrpc/auth_unix.c: Likewise.
71826         * sunrpc/clnt_perr.c: Likewise.
71827         * sunrpc/clnt_tcp.c: Likewise.
71828         * sunrpc/clnt_udp.c: Likewise.
71829         * sunrpc/clnt_unix.c: Likewise.
71830         * sunrpc/openchild.c: Likewise.
71831         * sunrpc/svc_simple.c: Likewise.
71832         * sunrpc/svc_tcp.c: Likewise.
71833         * sunrpc/svc_udp.c: Likewise.
71834         * sunrpc/svc_unix.c: Likewise.
71835         * sunrpc/xdr.c: Likewise.
71836         * sunrpc/xdr_array.c: Likewise.
71837         * sunrpc/xdr_rec.c: Likewise.
71838         * sunrpc/xdr_ref.c: Likewise.
71839         * sunrpc/xdr_stdio.c: Likewise.
71841 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71843         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71845 2011-07-03  Andreas Jaeger  <aj@suse.de>
71847         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
71848         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
71849         regenerate with gen-libm-tests.pl.
71851 2010-05-12  Petr Baudis  <pasky@suse.cz>
71853         [BZ #11589]
71854         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
71855         around j0() zero points by switching to j1().
71856         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71857         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71858         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71859         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71861 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71863         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
71864         instead of 0.
71865         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
71866         instead of 0.
71867         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71868         Patch in part by Pavel Roskin <proski@gnu.org>.
71870         [BZ #13138]
71871         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
71872         realloc.
71873         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
71874         Free memory block if necessary.
71876         [BZ #12847]
71877         * libio/genops.c (INTDEF): For string streams the _lock pointer can
71878         be NULL.  Don't lock in this case.
71880 2011-09-09  Roland McGrath  <roland@hack.frob.com>
71882         * elf/elf.h (ELFOSABI_GNU): New macro.
71883         (ELFOSABI_LINUX): Define to that.
71885 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
71887         * string/strncat.c (strncat): Undef the symbol in case it has been
71888         defined in bits/string.h.
71890 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71892         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
71894         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
71895         link map.
71897 2011-08-17  Andreas Jaeger  <aj@suse.de>
71899         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
71901 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
71902             Ian Lance Taylor  <iant@google.com>
71904         * math/libm-test.inc (lround_test): New testcase.
71905         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
71907 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
71909         * Makefile: Remove support for automatic cvs check-ins.
71910         * Makerules: Likewise.
71911         * config.make.in: Likewise.
71912         * configure.in: Likewise.
71913         * intl/Makefile: Likewise.
71914         * locale/Makefile: Likewise.
71915         * po/Makefile: Likewise.
71916         * posix/Makefile: Likewise.
71917         * sysdeps/gnu/Makefile: Likewise.
71918         * sysdeps/mach/hurd/Makefile: Likewise.
71919         * sysdeps/sparc/sparc32/Makefile: Likewise.
71921         [BZ #13118]
71922         * posix/Makefile (bug-regex32-ENV): Define.
71923         Patch by John Stanley <jpsinthemix@verizon.net>.
71925         * misc/Makefile (headers): Add bits/select2.h.
71926         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
71927         * misc/bits/select2.h: New file.
71928         * include/bits/select2.h: New file.
71929         * debug/Makefile (routines): Add fdelt_chk.
71930         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
71931         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
71932         FD_ISSET.
71933         * debug/fdelt_chk.c: New file.
71935         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
71936         * wcsmbs/test-wmemcmp.c: Likewise.
71937         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
71938         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
71940 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71942         * string/Makefile (strop-tests): Add memcmp.
71943         * string/test-wmemcmp.c: New file.
71944         * string/test-memcmp.c: Add wmemcmp support.
71946 2011-09-08  Roland McGrath  <roland@hack.frob.com>
71948         [BZ #13153]
71949         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
71950         2011-07-19 change.
71952         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
71953         garbage value in a __mach_port_mod_refs call in the cases of the
71954         task-self and thread-self ports.
71956 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71958         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
71960 2011-09-08  Andreas Schwab  <schwab@redhat.com>
71962         * elf/dl-load.c (lose): Check for non-null L.
71964 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
71966         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
71968         * elf/dl-libc.c (dlerror_run): Pass back error code from
71969         dl_catch_error.
71971         [BZ #13123]
71972         * elf/dl-load.c (lose): Free l_origin if it is valid.
71974         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
71975         names.
71976         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
71977         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
71978         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
71979         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
71980         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
71981         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
71983 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71985         * sysdeps/powerpc/fpu/e_hypot.c: New file.
71986         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
71987         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
71988         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
71989         * sysdeps/powerpc/fpu/k_cosf.c: New file.
71990         * sysdeps/powerpc/fpu/k_sinf.c: New file.
71991         * sysdeps/powerpc/fpu/s_cosf.c: New file.
71992         * sysdeps/powerpc/fpu/s_sinf.c: New file.
71993         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
71994         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
71996 2011-08-15  Alan Modra  <amodra@gmail.com>
71998         [BZ #13092]
71999         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
72000         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
72001         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
72002         ppc_mcount to static-only-routines.
72003         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
72004         __mcount_internal.
72005         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
72006         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
72008 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
72010         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
72011         for finite and infinity parameters.
72013 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72015         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
72016         and add nop instructions for throughput optimization.
72017         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72019 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
72021         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
72022         aligned copy for power7 with vector-scalar instructions.
72023         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
72025 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
72027         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
72028         AVX check.
72030 2011-09-07  Andreas Schwab  <schwab@redhat.com>
72032         [BZ #13144]
72033         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
72034         last change.
72036 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
72038         * sysdeps/unix/sysv/linux/x86_64/init-first.c
72039         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
72040         syscall wrapper around clock_gettime in __vdso_clock_gettime.
72041         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
72042         clock_gettime.
72044 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
72046         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
72047         Forgot to demangle the pointer.
72049         * sysdeps/i386/sysdep.h: Define atom_text_section.
72050         * sysdeps/x86_64/sysdep.h: Likewise.
72051         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
72052         section with atom_text_section.
72053         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
72054         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
72055         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
72056         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72057         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
72059         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
72060         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
72061         already be defined.  Change to take two parameters and don't assign
72062         result to variable.  Adjust all users.
72063         Define INTERNAL_GETTIME if not already defined.
72064         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
72065         call.
72066         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
72067         HAVE_CLOCK_GETTIME_VSYSCALL.
72068         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
72070         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
72071         gettimeofday vsyscall, just use time.
72073 2011-09-06  Andreas Schwab  <schwab@redhat.com>
72075         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
72076         <errno.h>.
72078 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
72080         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
72081         syscall on x86-64.
72082         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
72083         syscall.
72084         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
72085         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
72086         syscall if possible.
72088 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72090         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
72091         e_ident.  Don't pass to find_mapsXX.
72092         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
72094 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72096         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72097         strchr-sse2-no-bsf strrchr-sse2-no-bsf
72098         * sysdeps/x86_64/multiarch/strchr.S: Update.
72099         Check bit_slow_BSF bit.
72100         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
72101         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
72102         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
72104 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72106         [BZ #13134]
72107         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
72108         before glibc 2.15.
72109         (tryshell): Define.
72110         (__spawni): Change last parameter to be flag.  Test
72111         SPAWN_XFLAGS_USE_PATH flag to use path or not.
72112         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
72113         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
72114         * posix/spawni.c: Likewise.
72115         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
72116         * posix/spawnp.c: Likewise.  Change normal version to use
72117         SPAWN_XFLAGS_USE_PATH.
72118         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
72119         SPAWN_XFLAGS_TRY_SHELL.
72121         [BZ #13150]
72122         * posix/glob.h: Remove gcc 1.x support.
72124         [BZ #13068]
72125         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
72127 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72129         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72130         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
72131         strrchr-sse2-bsf
72132         * sysdeps/i386/i686/multiarch/strchr.S: New file.
72133         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
72134         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
72135         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
72136         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
72137         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
72139 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72141         * sysdeps/x86_64/wcscmp.S: New file.
72143         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
72144         wcscmp-c wcscmp-sse2
72145         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
72146         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
72147         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
72148         * wcsmbs/wcscmp.c: Allow renaming.
72150 2011-09-05  David S. Miller  <davem@davemloft.net>
72152         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
72153         stack slot, rather than the struct return pointer slot.
72154         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
72155         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
72156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
72157         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
72159 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72161         * po/ja.po: Update from translation team.
72163         [BZ #13144]
72164         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
72165         kernel in 64-bit binaries.
72167 2011-09-01  David S. Miller  <davem@davemloft.net>
72169         * elf/elf.h (HWCAP_SPARC_*): Move to..
72170         * sysdeps/sparc/sysdep.h: this new file and add new values.
72171         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
72172         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
72173         _DL_HWCAP_COUNT to 24.
72174         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
72175         entries.
72176         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
72177         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
72178         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
72179         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
72180         instead of magic constants.
72181         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72183 2011-08-31  David S. Miller  <davem@davemloft.net>
72185         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
72186         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
72187         Reimplement to do errno handling inline.
72188         (SYSCALL_ERROR_HANDLER): New macro.
72189         (__SYSCALL_STRING): Do not do errno handling in asm.
72190         (__CLONE_SYSCALL_STRING): Delete.
72191         (__INTERNAL_SYSCALL_STRING): Delete.
72192         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
72193         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
72194         (PSEUDO): Reimplement to do errno handling inline.
72195         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
72196         (SYSCALL_ERROR_HANDLER): New macro.
72197         (__SYSCALL_STRING): Do not do errno handling in asm.
72198         (__CLONE_SYSCALL_STRING): Delete.
72199         (__INTERNAL_SYSCALL_STRING): Delete.
72200         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
72201         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
72202         i386.
72203         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
72204         (inline_syscall*): Add 'err' argument.
72205         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
72206         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
72207         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
72208         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
72210         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
72211         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72213 2011-08-30  Andreas Schwab  <schwab@redhat.com>
72215         * elf/rtld.c (dl_main): Relocate objects in dependency order.
72217 2011-08-29  Jiri Olsa <jolsa@redhat.com>
72219         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
72220         directive.
72222 2011-08-24  David S. Miller  <davem@davemloft.net>
72224         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
72226 2011-08-24  Andreas Schwab  <schwab@redhat.com>
72228         * elf/Makefile: Add rules to build and run unload8 test.
72229         * elf/unload8.c: New file.
72230         * elf/unload8mod1.c: New file.
72231         * elf/unload8mod1x.c: New file.
72232         * elf/unload8mod2.c: New file.
72233         * elf/unload8mod3.c: New file.
72235         * elf/dl-close.c (_dl_close_worker): Reset private search list if
72236         it wasn't used.
72238 2011-08-23  David S. Miller  <davem@davemloft.net>
72240         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
72241         subtract stack bias.
72242         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
72243         %sp not %fp in calculations.
72244         (_JMPBUF_UNWINDS_ADJ): Likewise.
72246         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
72247         (aio_suspend): Call it to force an exception region around the
72248         AIO_MISC_WAIT() invocation.
72250 2011-08-23  Andreas Schwab  <schwab@redhat.com>
72252         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
72253         backslash.
72255 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
72257         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
72258         protection macro.
72259         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
72260         and <dl-machine.h>.
72261         (Elf64_FuncDesc): Remove.
72263 2011-08-22  David S. Miller  <davem@davemloft.net>
72265         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
72266         sigaltstack check, add missing cfi directives.
72267         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
72268         missing cfi directives, and sigaltstack handling.
72270 2011-08-16  Andreas Schwab  <schwab@redhat.com>
72272         [BZ #11724]
72273         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
72274         object is seen twice.
72275         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72277         * elf/Makefile (distribute): Add tst-initorder2.c.
72278         (tests): Add tst-initorder2.
72279         (modules-names): Add tst-initorder2a tst-initorder2b
72280         tst-initorder2c tst-initorder2d.  Add rules to build them.
72281         ($(objpfx)tst-initorder2.out): New rule.
72282         * elf/tst-initorder2.c: New file.
72283         * elf/tst-initorder2.exp: New file.
72285 2011-08-22  Andreas Schwab  <schwab@redhat.com>
72287         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
72289         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
72290         dependencies back to end of function.
72292         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
72293         $(elfobjdir)/ld.so.
72295 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
72297         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
72298         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
72299         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
72300         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
72301         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
72302         of __vdso_gettimeofday.
72303         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
72304         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
72305         attribute_hidden.
72306         (_libc_vdso_platform_setup): Remove initialization of
72307         __vdso_gettimeofday and __vdso_time.
72309 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
72311         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
72312         and fgetc_unlocked.
72313         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
72314         getc_unlocked.
72316         * elf/dl-open.c (add_to_global): Report additions to the global scope
72317         for LD_DEBUG=scopes.
72318         (dl_open_worker): Also print scope of newly loaded dependencies.
72319         (_dl_show_scope): Indicate if there is no scope.
72321         [BZ #13114]
72322         * stdio-common/Makefile (tests): Add bug24.
72323         * stdio-common/bug24.c: New file.
72325 2011-08-19  Andreas Jaeger  <aj@suse.de>
72327         [BZ #13114]
72328         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
72329         non-existant file when using close-on-exec mode.
72331 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
72333         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
72334         the very first instruction.
72336         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
72337         the CFI state in the end.
72338         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
72339         inclusion of dl-trampoline.h.
72340         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
72342 2011-08-19  Andreas Schwab  <schwab@redhat.com>
72344         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
72345         expectations for long double.
72347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
72348         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
72350 2011-08-14  David S. Miller  <davem@davemloft.net>
72352         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
72353         artificual limit depends upon the system page size.
72355 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
72357         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
72358         * resolv/Makefile: Define CFLAGS-libresolv.
72360 2011-08-17  Andreas Schwab  <schwab@redhat.com>
72362         * nss/makedb.c (compute_tables): Make variables used in nested
72363         function static.
72365 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
72367         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
72368         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
72369         if buffer was too small.
72371         * elf/pldd.c (main): Attach to all threads in the process.
72372         Rewrite /proc handling to use *at functions.
72374 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
72376         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
72377         specifies first scope to show.
72378         (dl_open_worker): Update callers.  Move printing scope of new
72379         object to before the relocation.
72380         * elf/rtld.c (dl_main): Update _dl_show_scope call.
72381         * sysdeps/generic/ldsodefs.h: Update declaration.
72383         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
72384         string for the scope number.
72386 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
72388         * nscd/servicescache.c (cache_addserv): Make sure written is always
72389         initialized.
72391 2011-08-14  Roland McGrath  <roland@hack.frob.com>
72393         * sysdeps/i386/i486/bits/atomic.h
72394         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
72395         statement expression, so as to suppress "set but not used" warning.
72396         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
72398         * string/strncat.c (STRNCAT): Use prototype definition.
72400         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
72401         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
72402         -Iprograms here.
72403         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
72404         (localedef-modules): Add localedef.
72405         (locale-modules): Add locale.
72407         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
72408         * elf/rtld.c (dl_main): Invert order of assignment in last change,
72409         to avoid a warning.
72411 2011-08-14  David S. Miller  <davem@davemloft.net>
72413         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
72414         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
72416 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
72418         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
72419         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
72420         * elf/rtld.c (dl_main): Set l_name of vDSO.
72421         Call _dl_show_scope when DL_DEBUG_SCOPES.
72422         (process_dl_debug): Recognize scopes flag and also set it for all.
72423         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
72424         Declare _dl_show_scope.
72426         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
72427         (do_dlopen): Pass caller_dlopen to dl_open.
72428         (__libc_dlopen_mode): Initialize caller_dlopen.
72430         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
72431         of libc.  Make tolower call locale-independent.  Optimize a bit by
72432         using isdigit instead of isalnum.
72433         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
72435 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
72437         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
72438         was a dependency or dynamically loaded.
72440 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
72442         * intl/l10nflist.c: Allow architecture-specific pop function.
72443         * sysdeps/x86_64/l10nflist.c: New file.
72445         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
72446         classification.
72448 2011-08-10  Andreas Schwab  <schwab@redhat.com>
72450         * include/dirent.h: Add libc_hidden_proto for scandirat and
72451         scandirat64.  Don't declare __scandirat64.
72452         * dirent/scandirat.c: Add libc_hidden_def.
72453         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
72454         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
72456 2011-08-10  David S. Miller  <davem@davemloft.net>
72458         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
72459         enum.
72460         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
72461         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
72462         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
72464 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
72466         * Versions.def [libc]: Add GLIBC_2.15.
72467         * dirent/Makefile (routines): Add scandirat and scandirat64.
72468         * dirent/Versions [libc]: Export scandirat and scandirat64 for
72469         GLIBC_2.15.
72470         * dirent/dirent.h: Declare scandirat and scandirat64.
72471         * dirent/scandirat.c: New file.
72472         * dirent/scandirat64.c: New file.
72473         * sysdeps/wordsize-64/scandirat.c: New file.
72474         * sysdeps/wordsize-64/scandirat64.c: New file.
72475         * dirent/opendir.c: Define opendirat.
72476         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
72477         using scandirat.
72478         * dirent/scandir64.c: Adjust for scandir.c change.
72479         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
72480         __scandirat64, and __scandir_cancel_handler.
72481         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
72482         additional parameter and use openat instead of open (outside of ld.so).
72483         Add new __opendir as wrapper around __opendirat.
72484         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
72485         here without requiring old scandirat implementation.
72487 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
72489         * dirent/scandir.c (cancel_handler): Renamed to
72490         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
72491         defined.  Adjust users.
72492         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
72493         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
72495 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
72497         * string/test-string.h (IMPL): Use __STRING to expand name and then
72498         stringify it.
72500         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
72501         of cleanups.
72503 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72505         * string/Makefile: Update.
72506         (strop-tests): Append strncat.
72507         * string/test-wcscmp.c: New file.
72508         New comprehensive test for wcscmp.
72509         * string/test-strcmp.c: Update.
72510         (WIDE): New define.
72512 2011-07-22  Andreas Schwab  <schwab@redhat.com>
72514         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
72515         line.
72517 2011-07-26  Andreas Schwab  <schwab@redhat.com>
72519         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
72520         encoding to ACE if AI_IDN.
72522 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
72524         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
72525         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
72527 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72529         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
72530         Fix overflow bug in strncat.
72531         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
72533         * string/test-strncat.c: Update.
72534         Add new tests for checking overflow bugs.
72536 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72538         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72539         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
72540         * sysdeps/i386/i686/multiarch/strcat.S: New file.
72541         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
72542         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
72543         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
72544         * sysdeps/i386/i686/multiarch/strncat.S: New file.
72545         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
72546         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
72548         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
72549         (USE_AS_STRCAT): Define.
72550         Add strcat and strncat support.
72551         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
72553 2011-07-25  Andreas Schwab  <schwab@redhat.com>
72555         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
72556         __n bigger than INT_MAX+1.
72557         (__strncmp_g): Likewise.
72559 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
72561         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
72562         * libio/stido.h: Likewise.
72564         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
72565         (AF_NFC): Define.
72566         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
72567         (AF_NFC): Define.
72569         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
72570         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
72571         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
72572         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
72573         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
72575         [BZ #13021]
72576         * scripts/test-installation.pl: Don't expect libnss_test1 to be
72577         installed.
72579         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
72580         typo.
72581         (_dl_x86_64_save_sse): Likewise.
72583 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
72585         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
72586         OSXSAVE.
72587         (_dl_x86_64_save_sse): Likewise.
72589         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
72591         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
72593 2011-07-21  Andreas Schwab  <schwab@redhat.com>
72595         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
72596         change.
72597         (_dl_x86_64_save_sse): Use correct AVX check.
72599 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72601         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
72602         bug in strncpy/strncat.
72603         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
72605 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
72607         * string/tester.c (test_strcat): Add tests for different alignments
72608         of source and destination.
72609         (test_strncat): Likewise.
72611 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72613         [BZ #12852]
72614         * posix/glob.c (glob): Check passed in values before using them in
72615         expressions to avoid some overflows.
72616         (glob_in_dir): Likewise.
72618         [BZ #13007]
72619         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
72620         check for AVX enablement so that we don't crash with old kernels and
72621         new hardware.
72622         * elf/tst-audit4.c: Add same checks here.
72623         * elf/tst-audit6.c: Likewise.
72625         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
72627 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
72629         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
72631 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72633         * po/cs.po: Update from translation team.
72634         * po/bg.po: Likewise.
72636 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
72638         * misc/sys/cdefs.h: Add support for const attribute.
72639         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
72640         to gnu_dev_{major,minor,makedev} functions.
72642 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
72644         * intl/dcigettext.c (get_output_charset): Add missing bracket.
72646 2011-07-20  Andreas Schwab  <schwab@redhat.com>
72648         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
72649         strlen results.
72651 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72653         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
72654         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
72655         register in order to avoid conflicts with the soft frame pointer
72656         being held in r11 when necessary.
72657         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
72658         (INTERNAL_VSYSCALL_NCS): Likewise.
72660 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
72662         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
72663         * elf/dl-fini.c (_dl_fini): Adjust caller.
72664         * elf/dl-close.c (_dl_close_worker): Likewise.
72665         * sysdeps/generic/ldsodefs.h: Adjust declaration.
72667 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72669         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
72670         "aux_cache->nlibs < 0".
72672         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
72673         in the reload-count case.
72675 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72677         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72678         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
72679         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
72680         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
72681         * sysdeps/x86_64/multiarch/strcat.S: New file.
72682         * sysdeps/x86_64/multiarch/strncat.S: New file.
72683         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
72684         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
72685         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
72686         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
72687         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
72688         (USE_AS_STRCAT): Define.
72689         Add strcat and strncat support.
72690         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72691         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
72692         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
72693         * string/strncat.c: Update.
72694         (USE_AS_STRNCAT): Define.
72695         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72696         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
72697         and i7.
72698         * sysdeps/x86_64/multiarch/init-arch.h
72699         (bit_Prefer_PMINUB_for_stringop): New.
72700         (index_Prefer_PMINUB_for_stringop): Likewise.
72701         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
72702         bit_Prefer_PMINUB_for_stringop.
72704 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
72706         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
72707         buffer64.
72708         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
72709         of casting of buffer.
72710         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
72711         buffer32 and buffer64.
72712         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
72713         writes instead of casting of buffer.
72714         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
72715         buffer32.
72716         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
72717         casting of buffer.
72719 2011-07-19  Andreas Schwab  <schwab@redhat.com>
72721         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
72723 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
72725         * nscd/nscd.c (termination_handler): Don't do anything for a database
72726         if it has not yet been initialized.
72728 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
72730         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
72732 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72734         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
72736 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
72738         * po/nl.po: Update from translation team.
72739         * po/sv.po: Likewise.
72741 2011-07-16  Roland McGrath  <roland@hack.frob.com>
72743         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
72744         now disallowed by GCC.
72746         * configure.in (use-default-link): Default to yes if a test -shared
72747         link meets our qualifications.
72748         * configure: Regenerated.
72750         * config.make.in (output-format): New variable.
72751         * configure.in: Check for ld --print-output-format support.
72752         * configure: Regenerated.
72753         * Makerules ($(common-objpfx)format.lds)
72754         [$(output-format) != unknown]: Just use $(output-format),
72755         instead of the linker-script munging.
72757 2011-07-14  Roland McGrath  <roland@hack.frob.com>
72759         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
72760         of $(common-objpfx)shlib.lds.
72761         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
72763         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
72764         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
72766         * configure.in (-z relro check): Adjust test code to add a large
72767         writable data section after it.
72768         * configure: Regenerated.
72770 2011-07-11  Roland McGrath  <roland@hack.frob.com>
72772         * configure.in (-z relro check): Fix test code to make the variable
72773         truly const.
72774         * configure: Regenerated.
72776 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
72778         * nscd/nscd.h (struct traced_file): Define.
72779         (struct database_dyn): Remove inotify_descr, reset_res, and filename
72780         elements.  Add traced_files.
72781         (inotify_fd): Declare.
72782         (register_traced_file): Declare.
72783         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
72784         (inotify_fd): Export.
72785         (resolv_conf_descr): Remove.
72786         (nscd_init): Move inotify descriptor creation to main.
72787         Don't register files for notification here.
72788         (register_traced_file): New function.
72789         (invalidate_cache): Don't use reset_res to determine whether to call
72790         res_init, go through the list of registered files.
72791         (main_loop_poll): The inotify descriptors are now stored in the
72792         structures for the traced files.
72793         (main_loop_epoll): Likewise.
72794         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
72795         to __nss_disable_nscd.
72796         * nscd/cache.c (prune_cache): There is no single inotify descriptor
72797         for a database anymore.  Check the records for all the registered
72798         files instead.
72799         * nss/Makefile (libnss_files-routines): Add files-init.
72800         (libnss_db-routines): Add db-init.
72801         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
72802         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
72803         * nss/nss_db/db-init.c: New file.
72804         * nss/nss_files/files-init.c: New file.
72805         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
72806         __nss_lookup_function.
72807         (__nss_lookup_function): Call nss_load_library.
72808         (nss_load_all_libraries): New function.
72809         (__nss_disable_nscd): Take parameter with callback function for files
72810         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
72811         used for the cached services.
72812         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
72813         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
72814         options for features to all the files in nscd.
72816         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
72818 2011-07-10  Roland McGrath  <roland@hack.frob.com>
72820         * csu/elf-init.c (__libc_csu_init): Comment typo.
72822 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
72824         * po/pl.po: Update from translation team.
72825         * po/ja.po: Likewise.
72826         * po/ru.po: Likewise.
72827         * po/ko.po: Likewise.
72828         * po/fr.po: Likewise.
72830 2011-07-09  Roland McGrath  <roland@hack.frob.com>
72832         * configure.in (.ctors/.dtors header and trailer check):
72833         Use an empirical test on a built program.
72834         * configure: Regenerated.
72836         * configure.in (-z relro check): Use an empirical test on a built DSO.
72837         Detect, but do not require, on ia64.
72838         * configure: Regenerated.
72840         * configure.in (READELF): Find it with AC_CHECK_TOOL.
72841         Update tests that use readelf to use $READELF instead.
72842         * configure: Regenerated.
72844 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
72846         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
72847         if the result is not used.
72849 2011-07-05  Andreas Jaeger  <aj@suse.de>
72851         [BZ#9696]
72852         * stdlib/tst-strtod.c: Add testcase.
72854 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
72856         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
72857         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
72858         The latter has a higher limit.  Take additional parameter to pass to
72859         the new function.
72860         (__pathconf): Pass file to __statfs_link_max.
72861         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
72862         __statfs_link_max.
72863         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
72864         __statfs_link_max.
72866         [BZ #12868]
72867         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
72868         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72869         Handle Lustre.
72870         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
72871         (__statfs_filesize_max): Likewise.
72872         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
72874 2011-07-05  Andreas Jaeger  <aj@suse.de>
72876         * resolv/res_comp.c (dn_skipname): Remove unused variable.
72878 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
72880         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
72881         `status' variable.
72882         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
72883         Likewise.
72885 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
72887         * Makefile (strop-tests): Add strncat.
72888         * string/test-strncat.c: New file.
72890 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
72892         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
72894 2011-06-21  Andreas Jaeger  <aj@suse.de>
72896         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
72897         Copy rule from iconvdata/Makefile.
72899 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
72901         [BZ #12922]
72902         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
72903         but no long options are defined, just return 'W'.
72905 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
72907         [BZ #9696]
72908         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
72910 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
72912         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
72913         netgroups to read.
72914         (innetgr): Likewise.
72916 2011-07-05  Roland McGrath  <roland@hack.frob.com>
72918         * config.make.in (install_root): Default to $(DESTDIR).
72920 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
72922         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
72924 2011-07-02  Roland McGrath  <roland@hack.frob.com>
72926         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
72928         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
72929         containing directory rather than embedding absolute directory names.
72931         * scripts/check-local-headers.sh: Rewritten using awk.
72932         Match by word, not by line.  Print error messages for matches.
72933         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
72935         * Makerules [shlib-lds-flags empty]:
72936         ($(common-objpfx)libc_pic.opts): New target.
72937         ($(common-objpfx)libc_pic.os.clean): New target.
72938         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
72940         * config.make.in (OBJCOPY): New variable.
72941         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
72942         * configure: Regenerated.
72944         * config.make.in (use-default-link): New variable.
72945         * configure.in (use_default_link): Grok --with-default-link to set it.
72946         * configure: Regenerated.
72947         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
72948         (shlib-lds, shlib-lds-flags): Define to empty.
72950         * Makerules (shlib-lds): New variable.
72951         (shlib-lds-flags): New variable.
72952         (build-shlib, build-moduile, build-module-asneeded): Use it.
72953         ($(common-objpfx)libc.so): Use $(shlib-lds).
72954         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
72955         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
72957         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
72958         DT_FLAGS/DT_FLAGS_1 with zero flags.
72960         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
72961         linker script munging.
72963 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
72965         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
72966         as 128-bit value.
72967         * crypt/sha512.c (sha512_process_block): Perform total addition using
72968         128-bit if possible.
72969         (__sha512_finish_ctx): Likewise.
72970         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
72971         as 64-bit value.
72972         * crypt/sha256.c (SWAP64): Define.
72973         (sha256_process_block): Perform total addition using 64-bit if
72974         possible.
72975         (__sha256_finish_ctx): Likewise.
72977 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
72979         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
72980         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72981         * nscd/hstcache.c (cache_addhst): Likewise.
72982         * nscd/grpcache.c (cache_addgr): Likewise.
72983         * nscd/aicache.c (addhstaiX): Likewise.
72984         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
72986 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
72988         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
72989         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72990         * nscd/hstcache.c (cache_addhst): Likewise.
72991         * nscd/grpcache.c (cache_addgr): Likewise.
72992         * nscd/aicache.c (addhstaiX): Likewise.
72994 2011-07-01  Andreas Schwab  <schwab@redhat.com>
72996         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
72997         domain only when needed.
72999 2011-06-30  Andreas Schwab  <schwab@redhat.com>
73001         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
73002         is always restored.
73004 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
73006         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
73007         are re-adding the entry.
73008         * nscd/servicescache.c (cache_addserv): Likewise.
73010 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
73012         * sysdeps/generic/dl-irel.h: fix protection against multiple
73013         inclusions.
73014         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
73016 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
73018         [BZ #12935]
73019         * malloc/memusage.sh: Fix quoting in message.
73020         * debug/xtrace.sh: Likewise.
73022         * configure.in: Remove support for --experimental-malloc option, make
73023         it the default.
73024         * config.make.in: Likewise.
73025         * malloc/Makefile: Likewise.
73027 2011-06-27  Andreas Schwab  <schwab@redhat.com>
73029         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
73030         two-byte characters.
73032 2011-06-27  Roland McGrath  <roland@hack.frob.com>
73034         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
73035         AC_CACHE_CHECK invocation.
73036         * configure: Regenerated.
73038         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
73040 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
73042         [BZ #12350]
73043         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
73044         bit from old_res_options.
73046         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
73048         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
73049         value type for setfct.
73051 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
73053         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
73054         __gettimeofday instead of gettimeofday.
73056 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
73058         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
73060 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
73062         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
73064         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
73065         info.
73067 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
73069         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73070         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
73071         strcpy-sse2-unaligned strncpy-sse2-unaligned
73072         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
73073         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
73074         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
73075         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
73076         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
73077         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
73078         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
73079         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
73080         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
73081         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
73082         (STRCPY): Support SSE2 and SSSE3 versions.
73084 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
73086         [BZ #12874]
73087         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
73088         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
73089         kernels which artificially limit size of requests.
73091 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
73093         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73094         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
73095         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
73096         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
73097         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
73098         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
73099         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
73100         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
73101         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
73102         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
73103         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
73104         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
73105         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
73106         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
73107         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
73108         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73109         Enable unaligned load optimization for Intel Core i3, i5 and i7
73110         processors.
73111         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
73112         Define.
73113         (index_Fast_Unaligned_Load): Define.
73114         (HAS_FAST_UNALIGNED_LOAD): Define.
73116 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
73118         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
73120 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
73122         [BZ #12907]
73123         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
73124         until it is clear that the information is realy needed.
73125         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
73127 2011-06-22  Andreas Schwab  <schwab@redhat.com>
73129         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
73131 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
73133         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
73134         /sys/devices/system/cpu/online if it is usable.
73136         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
73137         reading the information from the /proc filesystem to once a second.
73139 2011-06-21  Andreas Jaeger  <aj@suse.de>
73141         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
73142         NULL after inclusion of kernel headers.
73144 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
73146         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
73147         calls to internal_setent.
73149         [BZ #12885]
73150         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
73151         addresses using gethostbyname4_r ignore IPv4 addresses.
73153         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
73154         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
73156         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
73158 2011-06-20  David S. Miller  <davem@davemloft.net>
73160         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
73161         inclusions.
73162         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
73164         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
73165         (elf_irel): Use it.
73166         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
73167         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
73168         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
73169         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
73170         * sysdeps/x86_64/dl-irel.h: Likewise.
73172         * elf/dl-runtime.c: Use elf_ifunc_invoke.
73173         * elf/dl-sym.c: Likewise.
73175 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
73177         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
73178         need to dereference resplen2.
73180 2011-06-14  Andreas Schwab  <schwab@redhat.com>
73182         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
73184 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
73186         * Makeconfig: Define vardbdir and inst_vardbdir.
73187         * nss/Makefile: Add rules to install db-Makefile.
73189         * nss/nss_db/db-XXX.c: Cleanup.
73191         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
73192         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
73193         GLIBC_PRIVATE.
73194         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
73195         * nss/makedb.c: Implement -g option to specify that value strings
73196         are generated and should not be added to table iterated over for
73197         get*ent calls.
73198         * nss/nss_db/db-initgroups.c: New file.
73200         * nss/getent.c: Add support for initgroups lookups through getgrouplist
73201         interface.
73203         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
73204         (internal_getgrouplist): Adjust to name change.
73205         Update use_initgroups_entry if this is not the first call.
73206         * nss/databases.def: Add initgroups entry.
73208         * nss/makedb.c (compute_tables): Check result of multiple hash table
73209         sizes to minimize maximum chain length.
73211 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
73213         * Versions.def: Add entry for libnss_db.
73214         * shlib-versions: Likewise.
73215         * nss/Makefile: Add rules to build libnss_db.
73216         * nss/Versions: Add libnss_db information.  Organize libnss_files
73217         entries better.
73218         * nss/db-Makefile: Add gshadow support.  Change rules for the new
73219         makedb progra.  Some minor improvements to generate smaller files.
73220         * nss/nss_db/nss_db.h: Move NSS database header data structures to
73221         here from...
73222         * nss/makedb.c: ...here.
73223         Improve database format to be smaller and require less memory at
73224         runtime.
73225         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
73226         db anymore.
73227         * nss/nss_db/db-netgrp.c: Likewise.
73228         * nss/nss_db/db-open.c: Likewise.
73229         * nss/nss_files/flies-XXX.x: Adjust comments.
73230         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
73231         * nss/nss_files/files-grp.c: Likewise.
73232         * nss/nss_files/files-hosts.c: Likewise.
73233         * nss/nss_files/files-network.c: Likewise.
73234         * nss/nss_files/files-proto.c: Likewise.
73235         * nss/nss_files/files-pwd.c: Likewise.
73236         * nss/nss_files/files-rpc.c: Likewise.
73237         * nss/nss_files/files-service.c: Likewise.
73238         * nss/nss_files/files-sgrp.c: Likewise.
73239         * nss/nss_files/files-spwd.c: Likewise.
73240         * nss/nss_db/db-alias.c: Removed.
73241         * nss/nss_db/dummy-db.h: Removed.
73243 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
73245         * nss/makedb.c: Rewritten to not use database library.
73246         * nss/Makefile: Update to build new makedb program.
73248 2011-06-14  Andreas Jaeger  <aj@suse.de>
73250         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
73251         memset declaration.
73253 2011-06-10  Andreas Schwab  <schwab@redhat.com>
73255         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
73256         tmpbuf.
73258 2011-06-10  Roland McGrath  <roland@hack.frob.com>
73260         * Makerules (shlib.lds): Fail if the linker script comes out empty.
73261         * elf/Makefile ($(objpfx)ld.so): Likewise.
73263         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
73264         Don't list ld.so twice in dependencies.
73266         * posix/bug-regex31.c: Include <stdlib.h>.
73268         * nscd/hstcache.c (cache_addhst): Remove unused variable.
73270         * nis/nss_compat/compat-spwd.c
73271         (getspent_next_nss_netgr): Remove unused variable.
73272         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
73274         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
73275         nonmembers" output to use the right array.
73277         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
73279         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
73281         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
73282         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
73283         * catgets/gencat.c (read_input_file): Likewise.
73284         * locale/programs/locarchive.c (enlarge_archive): Likewise.
73286         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
73287         variable definition inside #if's controlling its use.
73289         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
73291         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
73293         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
73295         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
73296         unreachable code.
73298         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
73300         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
73301         * configure: Regenerated.
73303         * Makerules: Revert last change.
73304         * elf/Makefile: Likewise.
73306 2011-06-09  Roland McGrath  <roland@hack.frob.com>
73308         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
73309         * elf/Makefile ($(objpfx)librtld.os): Likewise.
73310         (reloc-link): Likewise.
73312 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
73314         * elf/Makefile: Add rules to build pldd.
73315         * elf/pldd.c: New file.
73316         * elf/pldd-xx.c: New file.
73318 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
73320         * version.h: Update for 2.15 development version.
73322 2011-06-07  David S. Miller  <davem@davemloft.net>
73324         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
73325         ifuncs.
73326         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
73327         elf_machine_lazy_rel): Likewise.
73328         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
73329         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
73330         elf_machine_lazy_rel): Likewise.
73331         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
73332         dl_hwcap via passed in argument.
73333         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
73334         Likewise.
73336 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73338         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
73340 2011-06-06  Roland McGrath  <roland@hack.frob.com>
73342         [BZ #12849]
73343         * manual/fdl-1.1.texi: New file, verbatim from:
73344         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
73345         * manual/lgpl-2.1.texi: New file, verbatim from:
73346         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
73347         * manual/Makefile (licenses): New variable, list those new file names.
73348         (texis): Use it.
73349         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
73351         * manual/fdl.texi: File removed.
73352         * manual/lesser.texi: File removed.
73353         * manual/libc.texinfo (Copying, Documentation License):
73354         Use new @include file names, put @appendix directive before @include.
73356 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
73358         [BZ #12841]
73359         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
73360         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
73361         (mq_open): Add __NTH.
73363 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
73365         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73366         Assume Intel Core i3/i5/i7 processor if AVX is available.
73368 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
73370         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
73371         typo.
73373 2011-05-31  Andreas Schwab  <schwab@redhat.com>
73375         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
73376         memory.  Use alloca_account.  Fix memory leak when retrying.
73378 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
73380         * version.h (RELEASE): Bump for 2.14 release.
73381         * include/features.h (__GLIBC_MINOR__): Bump to 14.
73383         * config.make.in (RANLIB): Remove entry.
73385 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
73387         * po/Makefile (po-sed-cmd): Add ksh to extensions.
73388         (libc.pot): Work around missing support for .ksh extension in xgettext.
73390         [BZ #12684]
73391         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
73392         if both request failed.
73393         (send_dg): In case of server errors clear resplen or *resplen2.
73395         [BZ #12454]
73396         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
73397         when there are multiple maps.
73398         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
73399         (_dl_fini): Remove test here.
73401         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
73403 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
73405         [BZ #12350]
73406         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
73407         bit from old_res_options.
73408         (gaih_inet): Likewise.
73410         [BZ #11099]
73411         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
73412         as signed.
73414         * resolv/res_init.c (res_setoptions): Make the code more compact.
73416         [BZ #11558]
73417         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
73418         set RES_USEVC.
73420         [BZ #11634]
73421         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
73423         * malloc/malloc.h: Mark malloc hook variables as deprecated.
73425         [BZ #11781]
73426         * malloc/malloc.h: Declare malloc hook variables as volatile.
73428         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
73429         in last patch.
73431         [BZ #11799]
73432         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
73433         raise in the comment.
73434         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
73435         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
73436         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
73438 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
73440         [BZ #12811]
73441         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
73442         grow the buffers more if it already has to be sufficient.
73443         (build_wcs_upper_buffer): Likewise.
73444         * posix/regexec.c (check_matching): Likewise.
73445         (clean_state_log_if_needed): Likewise.
73446         (extend_buffers): Don't enlarge buffers beyond size of the input
73447         buffer.
73448         Patches mostly by Emil Wojak <emil@wojak.eu>.
73449         * posix/bug-regex32.c: New file.
73450         * posix/Makefile (tests): Add bug-regex32.
73452         * locale/findlocale.c (_nl_find_locale): Return right away if
73453         _nl_explode_name failed.
73454         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
73456         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
73458         * debug/xtrace.sh: Unify messages.
73459         * malloc/memusage.sh: Likewise.
73461         [BZ #12813]
73462         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
73463         time symbol from vDSO.  Substitute with vsyscall if not available.
73464         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
73465         __vdso_time.
73467         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
73468         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
73469         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
73470         Add sendmmsg and internal_sendmmsg.
73471         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
73472         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
73473         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
73475         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
73476         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
73477         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
73479 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
73481         [BZ #12813]
73482         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
73483         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
73484         available.
73485         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
73486         __vdso_getcpu.
73488         [BZ #12814]
73489         * iconvdata/Makefile (tests): Add bug-iconv9.
73490         * iconvdata/bug-iconv9.c: New file.
73492 2011-05-27  Andreas Schwab  <schwab@redhat.com>
73494         [BZ #12814]
73495         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
73497 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
73499         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
73500         (struct user_regs_struct): Change intcs field back to cs.
73502 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
73504         * po/ja.po: Update from translation team.
73506 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
73508         [BZ #12795]
73509         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
73510         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
73512 2011-05-20  Andreas Schwab  <schwab@redhat.com>
73514         * stdlib/longlong.h: Update from GCC.
73516 2011-05-23  Andreas Schwab  <schwab@redhat.com>
73518         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
73519         parameter name.
73520         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
73521         Add parameter name.
73522         (__sysconf): Pass it down.
73524 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
73526         [BZ #12671]
73527         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
73528         some situations.
73529         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
73530         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
73531         add in in __libc_use_alloca calls.  Adjust callers.
73532         (glob): Use malloc in some situations.
73534         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
73535         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
73536         pltexit.
73538 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
73540         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
73541         and CLOCK_BOOTTIME_ALARM.
73543         [BZ #12782]
73544         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
73545         is returned.
73547         * string/_strerror.c (__strerror_r): Print negative errors as signed
73548         numbers.
73550         [BZ #12777]
73551         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
73552         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
73553         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
73555         * configure.in: Fix typo in redirection and correct removal of test
73556         files in two cases.
73558         [BZ #12788]
73559         * locale/setlocale.c (new_composite_name): Fix test to check for
73560         identical name of all categories.
73562         [BZ #12792]
73563         * libio/filedoalloc.c (local_isatty): New function.
73564         (_IO_file_doallocate): Use local_isatty.
73565         * stdio-common/perror.c (perror): In case a new stream is used
73566         forward the stream error.
73567         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
73568         error flag.
73570 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
73572         [BZ #11884]
73573         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
73574         alloca.
73575         * include/alloca.h (extend_alloca_account): Define.
73577         [BZ #11857]
73578         * posix/regex.h: Fix comments with documentation of user-accessible
73579         fields after compilation and describe correct free'ing of pattern
73580         after re_compile_pattern.
73581         Patch by Reuben Thomas <rrt@sc3d.org>.
73583 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
73585         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
73586         and -mno-altivec to prevent the compiler from using Altivec and/or
73587         VSX instructions when the corresponding registers are not available.
73589 2011-05-19  Andreas Schwab  <schwab@redhat.com>
73591         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
73593 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
73595         * libio/freopen.c (freopen): Use __dup2, not dup2.
73596         * libio/freopen64.c (freopen64): Likewise.
73598 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73600         [BZ #12775]
73601         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
73602         * math/Makefile (tests): Add test-powl.
73603         (CFLAGS-test-powl.c): Define.
73604         * math/test-powl.c: New file.
73606 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73608         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
73610 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
73612         [BZ #11837]
73613         * iconvdata/gb18030.c: Update to GB18020-2005.
73615 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
73617         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
73618         RE_SYNTAX_POSIX_AWK): Update to match recent development.
73619         Patch by Aharon Robbins <arnold@skeeve.com>.
73621         [BZ #11892]
73622         * stdlib/putenv.c (putenv): Don't always create copy of the variable
73623         on the stack.
73625         [BZ #11895]
73626         * misc/pselect.c (__pselect): Handle timeout value errors hidden
73627         through underflows.
73629         [BZ #12766]
73630         * misc/error.c (error_at_line): Ensure file_name and old_file_name
73631         point to strings before performing equality test for error_one_per_line
73632         mode.
73634         [BZ #11697]
73635         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
73637         [BZ #11820]
73638         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
73639         (struct user_fpregs_struct): Avoid __uint*_t types.
73641         [BZ #6420]
73642         * malloc/mtrace.c (tr_where): Add additional parameter to point to
73643         symbol info.  Use it instead of calling _dl_addr locally.
73644         (lock_and_info): New function.
73645         (tr_freehook): Call lock_and_info and pass symbol info as additional
73646         parameter to tr_where.
73647         (tr_mallochook): Likewise.
73648         (tr_reallochook): Likewise.
73649         (tr_memalignhook): Likewise.
73651         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
73652         used and couldn't be at all thread-safe.
73654 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
73656         * libio/freopen.c (freopen): Don't close old file descriptor
73657         before the new one is opened.  Instead dup the new file descriptor
73658         to the old one after the new stream is created.
73659         * libio/freopen64.c (freopen64): Likewise.
73660         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
73661         * libio/fileops.c (_IO_new_file_close_it): Handle new
73662         _IO_FLAGS2_NOCLOSE flag.
73663         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
73664         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
73665         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
73666         _IO_FLAGS2_NOCLOSE flag.
73667         * include/unistd.h: Add hidden_proto for dup3.
73668         Define __have_dup3.
73669         * io/dup3.c: Define hidden symbol.
73670         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
73672         [BZ #7101]
73673         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
73674         when an incomplete long option is used.
73675         * posix/tst-getopt_long1.c: New file.
73676         * posix/Makefile (tests): Add tst-getopt_long1.
73678         [BZ #10138]
73679         * scripts/config.guess: Update from autoconf-2.68.
73680         * scripts/config.sub: Likewise.
73682         [BZ #10157]
73683         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
73684         tests into ...
73685         (has_cpuclock): ...this.  New function.
73686         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
73687         macro here based on has_cpuclock code.
73689         [BZ #10149]
73690         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73691         First byte (not low byte) is now always NUL.
73692         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
73694         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73695         Use non-cancelable interfaces.
73697         [BZ #9809]
73698         * locale/iso-639.def: Add entry for Sorani.
73700         [BZ #11901]
73701         * include/stdlib.h: Move include protection to the right place.
73702         Define abort_msg_s.  Declare __abort_msg with it.
73703         * stdlib/abort.c (__abort_msg): Adjust type.
73704         * assert/assert.c (__assert_fail_base): New function.  Majority
73705         of code from __assert_fail.  Allocate memory for __abort_msg with
73706         mmap.
73707         (__assert_fail): Now call __assert_fail_base.
73708         * assert/assert-perr.c: Remove bulk of implementation.  Use
73709         __assert_fail_base.
73710         * include/assert.hL Declare __assert_fail_base.
73711         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
73712         mmap.
73713         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
73715 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
73717         [BZ #11952]
73718         [BZ #12453]
73719         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
73720         until all modules are registered in the DTV.
73721         * elf/Makefile: Add rules to build and run tst-tls19.
73722         * elf/tst-tls19.c: New file.
73723         * elf/tst-tls19mod1.c: New file.
73724         * elf/tst-tls19mod2.c: New file.
73725         * elf/tst-tls19mod3.c: New file.
73726         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
73728         [BZ #12083]
73729         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
73730         correctly.
73732         [BZ #12601]
73733         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
73734         two-byte sequence errors.
73735         * iconvdata/Makefile (tests): Add bug-iconv8.
73736         * iconvdata/bug-iconv8.c: New file.
73738         [BZ #12626]
73739         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
73740         buf2 definition.
73742         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
73744         [BZ #12432]
73745         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
73746         (dummy_getcfa): New function.
73747         (init): Get _Unwind_GetCFA address, use dummy if not found.
73748         (backtrace_helper): In recursion check, also check whether CFA changes.
73749         (__backtrace): Completely initialize arg.
73751         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
73752         storing incomplete byte sequence in state object.  Avoid testing for
73753         guaranteed too small input if we know there is enough data available.
73755 2011-05-11  Andreas Schwab  <schwab@redhat.com>
73757         * Makeconfig (+link-pie): Indent.
73758         * Rules (binaries-pie): Define if $(have-fpie) and
73759         $(build-shared).
73760         (binaries-shared): Also filter out $(binaries-pie).
73761         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
73762         * nscd/Makefile (others-pie): Add nscd.
73763         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
73764         ($(objpfx)nscd): Remove command override.
73765         * login/Makefile (others-pie): Add pt_chown.
73766         ($(objpfx)pt_chown): Remove command override.
73767         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
73768         remove command overrides.
73770 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
73772         * libio/tst_putwc.c: Fix error messages.
73774         [BZ #12724]
73775         * libio/fileops.c (_IO_new_file_close_it): Always flush when
73776         currently writing and seek to current position when not.
73777         * libio/Makefile (tests): Add bug-fclose1.
73778         * libio/bug-fclose1.c: New file.
73780 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
73782         [BZ #12511]
73783         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
73784         don't set DF_1_NODELETE here.
73785         (do_lookup_x): When entering new entry test for copy relocation
73786         and if necessary set DF_1_NODELETE flag.
73787         * elf/tst-unique4.cc: New file.
73788         * elf/tst-unique4.h: New file.
73789         * elf/tst-unique4lib.cc: New file.
73790         * elf/Makefile: Add rules to build and run tst-unique4.
73791         Patch by Piotr Bury <pbury@goahead.com>.
73793 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
73795         [BZ #12052]
73796         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
73798         [BZ #12625]
73799         * misc/mntent_r.c (addmntent): Flush the stream after the output
73801         [BZ #12393]
73802         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
73803         (is_trusted_path_normalize): Skip initial colon.  Append slash
73804         to empty buffer.  Duplicate is_trusted_path code but allow
73805         constructed patch to be prefix.
73806         (is_dst): Allow $ORIGIN followed by /.
73807         (_dl_dst_substitute): Correct clearing of check_for_trusted.
73808         Correct testing of result of is_trusted_path_normalize
73809         (decompose_rpath): Fix warning.
73811 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
73813         [BZ #11257]
73814         * grp/initgroups.c (internal_getgrouplist): When we found the service
73815         list through the initgroups entry in nsswitch.conf do not always
73816         continue on a successful lookup.  Don't always use the
73817         __nss_group_database value if it is set.
73818         * nss/nsswitch.conf (initgroups): Change action for successful db
73819         lookup to continue for compatibility.
73821 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
73823         [BZ #11532]
73824         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
73825         and CP774 modules.
73826         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
73827         and CP774 modules.
73828         * iconvdata/tst-tables.sh: Likewise.
73829         * iconvdata/cp770.c: New file.
73830         * iconvdata/cp771.c: New file.
73831         * iconvdata/cp772.c: New file.
73832         * iconvdata/cp773.c: New file.
73833         * iconvdata/cp774.c: New file.
73834         * iconvdata/testdata/CP770: New file.
73835         * iconvdata/testdata/CP770..UTF8: New file.
73836         * iconvdata/testdata/CP771: New file.
73837         * iconvdata/testdata/CP771..UTF8: New file.
73838         * iconvdata/testdata/CP772: New file.
73839         * iconvdata/testdata/CP772..UTF8: New file.
73840         * iconvdata/testdata/CP773: New file.
73841         * iconvdata/testdata/CP773..UTF8: New file.
73842         * iconvdata/testdata/CP774: New file.
73843         * iconvdata/testdata/CP774..UTF8: New file.
73845         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
73846         END CHARMAP line.
73847         * iconvdata/gen-8bit-gap.sh: Likewise.
73848         * iconvdata/gen-8bit.sh: Likewise.
73850         * locale/iso-639.def: Add ary entry.
73852         [BZ #11258]
73853         * locale/C-translit.h.in: Add U20A1 transliteration.
73855         [BZ #12178]
73856         * locale/iso-639.def: Add wae entry.
73857         Patch by Kevin Bortis <bortis@translate-wae.ch>.
73859         [BZ #12545]
73860         * locale/programs/localedef.c (construct_output_path): Use ssize_t
73861         for n.
73863         [BZ #12711]
73864         * locale/C-translit.h.in: Add entry for U20B9.
73865         Patch by pravin.d.s@gmail.com.
73867 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
73869         [BZ #12713]
73870         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
73871         ENAMETOOLONG use generic getcwd.
73872         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
73873         in rtld.  Use *stat64.
73874         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
73875         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
73876         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
73877         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
73878         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
73879         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
73880         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
73881         __fstatat64 macros.
73882         * include/dirent.h: Add libc_hidden_proto for rewinddir.
73883         * dirent/rewinddir.c: Add libc_hidden_def.
73884         * sysdeps/mach/hurd/rewinddir.c: Likewise.
73885         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
73887         * include/dirent.h (__alloc_dir): Add flags parameter.
73888         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
73889         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
73890         __alloc_dir.
73891         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
73892         from fdopendir if O_CLOEXEC is already set.
73894 2011-03-15  Alan Modra  <amodra@gmail.com>
73896         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
73897         l_tls_firstbyte_offset non-zero.  Save padding offset in
73898         l_tls_firstbyte_offset for later use.
73899         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
73900         freeing static tls block.
73902 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
73904         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
73905         where #ifdef was intended.  The intent is to prevent ARG_MAX from
73906         being defined by the kernel headers.
73908 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
73910         [BZ #12734]
73911         * resolv/resolv.h: Define RES_NOTLDQUERY.
73912         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
73913         no-tld-query and set RES_NOTLDQUERY.
73914         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
73915         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
73916         modern BIND to search name as TLD unless forbidden.
73918 2011-05-07  Petr Baudis  <pasky@suse.cz>
73919             Ulrich Drepper  <drepper@gmail.com>
73921         [BZ #12393]
73922         * elf/dl-load.c (fillin_rpath): Move trusted path check...
73923         (is_trusted_path): ...to here.
73924         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
73925         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
73926         using is_trusted_path_normalize() in setuid scripts.
73928 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
73930         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
73931         __BEGIN/__END_DECLS.
73933 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
73935         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
73936         NSS_STATUS_NOTFOUND if no record was found.
73938 2011-05-05  Andreas Schwab  <schwab@redhat.com>
73940         * sunrpc/Makefile (headers): Add rpc/netdb.h.
73941         (headers-not-in-tirpc): Remove rpc/netdb.h
73942         * resolv/netdb.h: Revert last change.
73944 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
73946         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
73947         circular dependency between libgcc.a and libc.a.
73949 2011-05-05  Andreas Schwab  <schwab@redhat.com>
73951         * resolv/netdb.h: Don't include <rpc/netdb.h>.
73952         * nis/Makefile: Don't install rpcsvc/*.
73953         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
73954         instead of <rpc/types.h>.
73955         (MAXHOSTNAMELEN): Define.
73957 2011-05-03  Andreas Schwab  <schwab@redhat.com>
73959         * elf/ldconfig.c (add_dir): Don't crash on empty path.
73961 2011-04-28  Maciej Babinski  <mbabinski@google.com>
73963         [BZ #12714]
73964         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
73965         gethostbyname4_r when IPv6 results are possible.
73967 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
73969         [BZ #12723]
73970         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
73971         _PC_PIPE_BUF handling.
73973 2011-04-30  Bruno Haible  <bruno@clisp.org>
73975         [BZ #12717]
73976         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
73977         * resolv/netdb.h (getnameinfo): Change type of flags parameter
73978         to 'int'.
73979         * inet/getnameinfo.c (getnameinfo): Likewise.
73981 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
73983         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
73984         to groups setting in database lookup.
73985         * nss/nsswitch.conf: Add initgroups entry.
73987 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
73989         [BZ #12685]
73990         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
73991         mode string.
73992         Patch by Eric Blake <eblake@redhat.com>.
73994 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
73996         * sunrpc/Makefile (need-export-routines): Add svc_run.
73997         (routines): Remove svc_run.
73998         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
73999         * sunrpc/clnt_perr.c (clnt_perrno): Export.
74000         * sunrpc/svc_run.c (svc_run): Likewise.
74001         * sunrpc/svc_udp.c (svcudp_create): Likewise.
74003 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
74005         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
74006         problem in reallocation in last patch.
74008 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
74010         * sunrpc/Makefile: Move inclusion of Rules.
74012 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
74014         * nss/nss_files/files-initgroups.c: New file.
74015         * nss/Makefile (libnss_files-routines): Add files-initgroups.
74016         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
74017         _nss_files_initgroups_dyn.
74019 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
74021         * elf/elf.h (R_ARM_IRELATIVE): Define.
74023 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
74025         * po/ru.po: Update from translation team.
74027 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
74029         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
74030         dependencies.
74032 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
74034         [BZ #12653]
74035         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
74036         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
74037         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
74038         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
74039         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
74041 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
74043         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
74044         differing bytes.
74045         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
74046         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
74047         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
74049 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
74051         [BZ #12420]
74052         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
74053         storing it.
74054         * stdlib/bug-getcontext.c: New file.
74055         * stdlib/Makefile: Add rules to build and run bug-getcontext.
74057 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74059         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
74060         instructions into .machine "z9-109".
74061         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
74062         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
74064 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74066         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
74067         between environment variables and auxiliary vector.
74069 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
74071         * Makefile: Add rules to build linkobj/libc.so.
74072         * include/libc-symbols.h: Define libc_hidden_nolink.
74073         * include/rpc/auth.h: Mark functions which are to be hidden.
74074         * include/rpc/auth_des.h: Likewise.
74075         * include/rpc/auth_unix.h: Likewise.
74076         * include/rpc/clnt.h: Likewise.
74077         * include/rpc/des_crypt.h: Likewise.
74078         * include/rpc/key_prot.h: Likewise.
74079         * include/rpc/pmap_clnt.h: Likewise.
74080         * include/rpc/pmap_prot.h: Likewise.
74081         * include/rpc/pmap_rmt.h: Likewise.
74082         * include/rpc/rpc_msg.h: Likewise.
74083         * include/rpc/svc.h: Likewise.
74084         * include/rpc/svc_auth.h: Likewise.
74085         * include/rpc/xdr.h: Likewise.
74086         * nis/Makefile: Link all DSOs against linkobj/libc.so.
74087         * nss/Makefile: Likewise.
74088         * sunrpc/Makefile: Don't install headers.  Build library with normal
74089         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
74090         * sunrpc/auth_des.c: Hide exported symbols by default, export some
74091         for the compat linking library.  Remove use of INTDEF/INTUSE.
74092         * sunrpc/auth_none.c: Likewise.
74093         * sunrpc/auth_unix.c: Likewise.
74094         * sunrpc/authdes_prot.c: Likewise.
74095         * sunrpc/authuxprot.c: Likewise.
74096         * sunrpc/clnt_gen.c: Likewise.
74097         * sunrpc/clnt_perr.c: Likewise.
74098         * sunrpc/clnt_raw.c: Likewise.
74099         * sunrpc/clnt_simp.c: Likewise.
74100         * sunrpc/clnt_tcp.c: Likewise.
74101         * sunrpc/clnt_udp.c: Likewise.
74102         * sunrpc/clnt_unix.c: Likewise.
74103         * sunrpc/des_crypt.c: Likewise.
74104         * sunrpc/des_soft.c: Likewise.
74105         * sunrpc/get_myaddr.c: Likewise.
74106         * sunrpc/key_call.c: Likewise.
74107         * sunrpc/key_prot.c: Likewise.
74108         * sunrpc/netname.c: Likewise.
74109         * sunrpc/pm_getmaps.c: Likewise.
74110         * sunrpc/pm_getport.c: Likewise.
74111         * sunrpc/pmap_clnt.c: Likewise.
74112         * sunrpc/pmap_prot.c: Likewise.
74113         * sunrpc/pmap_prot2.c: Likewise.
74114         * sunrpc/pmap_rmt.c: Likewise.
74115         * sunrpc/publickey.c: Likewise.
74116         * sunrpc/rpc_cmsg.c: Likewise.
74117         * sunrpc/rpc_common.c: Likewise.
74118         * sunrpc/rpc_dtable.c: Likewise.
74119         * sunrpc/rpc_prot.c: Likewise.
74120         * sunrpc/rpc_thread.c: Likewise.
74121         * sunrpc/rtime.c: Likewise.
74122         * sunrpc/svc.c: Likewise.
74123         * sunrpc/svc_auth.c: Likewise.
74124         * sunrpc/svc_authux.c: Likewise.
74125         * sunrpc/svc_raw.c: Likewise.
74126         * sunrpc/svc_run.c: Likewise.
74127         * sunrpc/svc_simple.c: Likewise.
74128         * sunrpc/svc_tcp.c: Likewise.
74129         * sunrpc/svc_udp.c: Likewise.
74130         * sunrpc/svc_unix.c: Likewise.
74131         * sunrpc/svcauth_des.c: Likewise.
74132         * sunrpc/xcrypt.c: Likewise.
74133         * sunrpc/xdr.c: Likewise.
74134         * sunrpc/xdr_array.c: Likewise.
74135         * sunrpc/xdr_float.c: Likewise.
74136         * sunrpc/xdr_intXX_t.c: Likewise.
74137         * sunrpc/xdr_mem.c: Likewise.
74138         * sunrpc/xdr_rec.c: Likewise.
74139         * sunrpc/xdr_ref.c: Likewise.
74140         * sunrpc/xdr_sizeof.c: Likewise.
74141         * sunrpc/xdr_stdio.c: Likewise.
74143 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
74145         [BZ #12650]
74146         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
74147         * sysdeps/ia64/dl-tls.h: Likewise.
74148         * sysdeps/powerpc/dl-tls.h: Likewise.
74149         * sysdeps/s390/dl-tls.h: Likewise.
74150         * sysdeps/sh/dl-tls.h: Likewise.
74151         * sysdeps/sparc/dl-tls.h: Likewise.
74152         * sysdeps/x86_64/dl-tls.h: Likewise.
74153         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
74155 2011-03-14  Andreas Schwab  <schwab@redhat.com>
74157         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
74158         rpath element also skip the following colon.
74159         (expand_dynamic_string_token): Add is_path parameter and pass
74160         down to DL_DST_REQUIRED and _dl_dst_substitute.
74161         (decompose_rpath): Call expand_dynamic_string_token with
74162         non-zero is_path.  Ignore empty rpaths.
74163         (_dl_map_object_from_fd): Call expand_dynamic_string_token
74164         with zero is_path.
74166 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
74168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
74169         Make cancelable.
74171 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
74173         [BZ #12655]
74174         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
74175         Patch by Filipe David Manana <fdmanana@apache.org>.
74177 2011-04-07  Andreas Schwab  <schwab@redhat.com>
74179         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
74180         Maintain aligned stack.
74181         (CHECK_RSP): Remove unused macro.
74183 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
74185         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
74186         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
74188 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
74190         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
74192         * include/features.h: Mention __USE_XOPEN2K8 in comment.
74194 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
74196         [BZ #12518]
74197         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
74198         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
74199         * sysdeps/x86_64/memmove.c: New file.
74200         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
74201         (memcpy): Renamed to ...
74202         (__new_memcpy): This.
74203         (memcpy): Provide GLIBC_2_14 memcpy.
74204         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
74205         (memcpy): Provide GLIBC_2_2_5 memcpy.
74207 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74209         [BZ #12631]
74210         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
74212 2011-03-30  Andreas Schwab  <schwab@redhat.com>
74214         * misc/syncfs.c: New file.
74215         * misc/Makefile (routines): Add syncfs.
74216         * posix/unistd.h: Declare syncfs.
74217         * sysdeps/unix/syscalls.list: Add syncfs.
74219 2011-04-01  Andreas Schwab  <schwab@redhat.com>
74221         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
74222         open_by_handle_at.
74223         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
74224         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74225         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74226         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74227         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74228         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
74229         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74231 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74233         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
74234         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74235         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
74236         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74237         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74238         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74239         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74241         * io/Makefile: Compile fallocate.c, fallocate64.c, and
74242         sync_file_range.c with -fexceptions.
74243         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
74244         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
74245         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
74246         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
74247         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
74248         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
74249         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
74250         sync_file_range as cancellation point
74251         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
74252         now a wrapper around __call_sync_file_range with cancellation handling.
74253         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
74254         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
74255         function name to __call_sync_file_range.
74256         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
74257         Add call_sync_file_range.
74259 2011-04-01  Andreas Schwab  <schwab@redhat.com>
74261         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74262         bits/timex.h.
74264 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74266         * iconv/iconv.h: Fix typo in comment.
74267         * io/fcntl.h: Likewise.
74268         * libio/stdio.h: Likewise.
74269         * posix/spawn.h: Likewise.
74270         * posix/unistd.h: Likewise.
74271         * stdlib/stdlib.h: Likewise.
74272         * time/time.h: Likewise.
74273         * wcsmbs/wchar.h: Likewise.
74275         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
74276         open_by_handle): Add.
74277         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
74278         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
74279         Augment a few comments.
74280         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74281         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74282         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74283         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74284         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74285         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
74286         open_by_handle.
74288         * io/fcntl.h (AT_EMPTY_PATH): Define.
74290 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
74292         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
74293         * sysdeps/unix/sysv/linux/bits/time.h: New file.
74294         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
74295         to...
74296         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
74297         * Versions.def: Add GLIBC_2.14.
74298         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
74299         Export.
74301 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
74303         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
74304         round counter.
74305         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
74307 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
74309         [BZ #12597]
74310         * string/test-strncmp.c (do_page_test): New function.
74311         (check2): Likewise.
74312         (test_main): Call check2.
74313         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
74315 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
74317         [BZ #12587]
74318         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
74319         Handle cache information in CPU leaf 4.
74320         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
74322 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
74324         [BZ #12583]
74325         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
74326         character representation.
74327         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
74329 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
74331         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
74332         END(__isnan) to END(__isnanf) to match function entry point/label
74333         EALIGN(__isnanf,...).
74335 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
74337         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
74339 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
74341         [BZ #12510]
74342         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
74343         copy from the symbol referenced in the relocation to initialize the
74344         used variable.
74345         Patch by Piotr Bury <pbury@goahead.com>.
74346         * elf/Makefile: Add rules to build and tst-unique3.
74347         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
74348         * elf/tst-unique3.cc: New file.
74349         * elf/tst-unique3.h: New file.
74350         * elf/tst-unique3lib.cc: New file.
74351         * elf/tst-unique3lib2.cc: New file.
74353         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
74355 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
74357         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
74358         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
74359         to _start.
74361 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
74363         * elf/dl-load.c (_dl_map_object): If we are looking for the first
74364         to-be-loaded object along a path to loader is ld.so.
74366 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
74367             Ulrich Drepper  <drepper@gmail.com>
74369         * sysdeps/x86_64/memset.S: After aligning destination, code
74370         branches to different locations depending on the value of
74371         misalignment, when multiarch is enabled. Fix this.
74373 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
74375         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
74376         Set _x86_64_preferred_memory_instruction for AMD processsors.
74377         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74378         Set bit_Prefer_SSE_for_memop for AMD processors.
74380 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
74382         * libio/fmemopen.c (fmemopen): Optimize a bit.
74384 2011-03-03  Andreas Schwab  <schwab@redhat.com>
74386         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
74388 2011-03-03  Roland McGrath  <roland@redhat.com>
74390         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
74392 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
74394         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
74395         __bzero_ultra1 instead of __memset_ultra1.
74397 2011-02-23  Andreas Schwab  <schwab@redhat.com>
74398             Ulrich Drepper  <drepper@gmail.com>
74400         [BZ #12509]
74401         * include/link.h (struct link_map): Add l_orig_initfini.
74402         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
74403         returning unsuccessfully.
74404         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
74405         close of a file loaded at startup, restore the original l_initfini
74406         list.
74407         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
74408         list, store the pointer.
74409         * elf/Makefile ($(objpfx)noload-mem): New rule.
74410         (noload-ENV): Define.
74411         (tests): Add $(objpfx)noload-mem.
74412         * elf/noload.c: Include <memcheck.h>.
74413         (main): Call mtrace.  Close all opened handles.
74415 2011-02-17  Andreas Schwab  <schwab@redhat.com>
74417         [BZ #12454]
74418         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
74419         dependencies are missing.
74421 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74423         Fix __if_freereq crash: Unlike the generic version which uses free,
74424         Hurd needs munmap.
74425         * sysdeps/mach/hurd/ifreq.h: New file.
74427 2011-01-27  Petr Baudis  <pasky@suse.cz>
74428             Ulrich Drepper  <drepper@gmail.com>
74430         [BZ 12445]#
74431         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
74432         to extend_alloca().
74433         * stdio-common/bug23.c: New file.
74434         * stdio-common/Makefile (tests): Add bug23.
74436 2010-09-28  Andreas Schwab  <schwab@redhat.com>
74437             Ulrich Drepper  <drepper@gmail.com>
74439         [BZ #12489]
74440         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
74441         before performing relro protection.  At old place add assertion
74442         to make sure nothing changed.
74444 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
74445             Glauber de Oliveira Costa  <glommer@gmail.com>
74447         * elf/elf.h: Add new ARM TLS relocs.
74449 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
74451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
74452         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
74453         cast from r3.
74454         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
74455         'tests' variable.
74456         * sysdeps/wordsize-64/tst-writev.c: New file.
74458 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
74460         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
74461         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
74462         insns in _dl_start to prevent a TOC reference before relocs are
74463         resolved.
74465 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
74467         [BZ #12469]
74468         * Makeconfig: Remove RANLIB definition.
74469         * Makerules: Don't use RANLIB.
74470         * aclocal.m4: Remove ranlib test.
74471         * configure.in: No need to check for ranlib.
74472         * elf/rtld-Rules: Don't use RANLIB.
74474 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74476         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
74477         protection macro.
74478         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
74479         inclusion protection macro.
74481         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
74482         SIGRTMIN and SIGRTMAX and print information in that case only when
74483         SIGRTMIN is defined.
74485 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
74487         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
74488         arginfo fn returning -1.
74490         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
74491         and thousands string is zero terminated.
74493 2011-02-03  Andreas Schwab  <schwab@redhat.com>
74495         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
74496         sysdeps/unix/sysv/linux/bits/socket.h.
74498 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74500         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
74501         (__CPU_COUNT): Remove old macros.
74502         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
74503         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
74504         (__CPU_ALLOC, __CPU_FREE): Add macros.
74505         (__sched_cpualloc, __sched_cpufree): Add declarations.
74507 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
74509         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
74510         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
74511         * nscd/aicache.c (addhstaiX): Return timeout of added value.
74512         (readdhstai): Return value of addhstaiX call.
74513         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
74514         (addgrbyX): Return value returned by cache_addgr.
74515         (readdgrbyname): Return value returned by addgrbyX.
74516         (readdgrbygid): Likewise.
74517         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
74518         (addpwbyX): Return value returned by cache_addpw.
74519         (readdpwbyname): Return value returned by addhstbyX.
74520         (readdpwbyuid): Likewise.
74521         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
74522         (addservbyX): Return value returned by cache_addserv.
74523         (readdservbyname): Return value returned by addservbyX:
74524         (readdservbyport): Likewise.
74525         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
74526         (addhstbyX): Return value returned by cache_addhst.
74527         (readdhstbyname): Return value returned by addhstbyX.
74528         (readdhstbyaddr): Likewise.
74529         (readdhstbynamev6): Likewise.
74530         (readdhstbyaddrv6): Likewise.
74531         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
74532         (readdinitgroups): Return value returned by addinitgroupsX.
74533         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
74534         (prune_cache): Keep track of timeout value of re-added entries.
74535         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
74536         * nscd/nscd.h: Adjust prototypes of readd* functions.
74538 2011-02-04  Roland McGrath  <roland@redhat.com>
74540         * nis/nis_server.c (nis_servstate): Use the right name for 0.
74541         (nis_stats): Likewise.
74542         * nis/nis_modify.c (nis_modify): Likewise.
74543         * nis/nis_remove.c (nis_remove): Likewise.
74544         * nis/nis_add.c (nis_add): Likewise.
74546         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
74548         * posix/fnmatch_loop.c: Add some consts.
74550         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
74552 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
74554         [BZ #12460]
74555         * config.make.in (config-cflags-novzeroupper): Define.
74556         * configure.in: Substitute libc_cv_cc_novzeroupper.
74557         * elf/Makefile (AVX-CFLAGS): Define.
74558         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
74559         (CFLAGS-tst-auditmod4a.c): Likewise.
74560         (CFLAGS-tst-auditmod4b.c): Likewise.
74561         (CFLAGS-tst-auditmod6b.c): Likewise.
74562         (CFLAGS-tst-auditmod6c.c): Likewise.
74563         (CFLAGS-tst-auditmod7b.c): Likewise.
74564         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
74566 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
74568         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
74569         function to the callback.
74570         Patch partly by Jiri Olsa <jolsa@redhat.com>.
74572 2011-02-02  Andreas Schwab  <schwab@redhat.com>
74574         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
74575         of errno.
74577 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
74579         [BZ #11724]
74580         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
74581         of constructors.
74582         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
74583         of destructors.
74584         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
74586         [BZ #11724]
74587         * elf/Makefile: Add rules to build and run new test.
74588         * elf/tst-initorder.c: New file.
74589         * elf/tst-initorder.exp: New file.
74590         * elf/tst-initordera1.c: New file.
74591         * elf/tst-initordera2.c: New file.
74592         * elf/tst-initordera3.c: New file.
74593         * elf/tst-initordera4.c: New file.
74594         * elf/tst-initorderb1.c: New file.
74595         * elf/tst-initorderb2.c: New file.
74596         * elf/tst-order-a1.c: New file.
74597         * elf/tst-order-a2.c: New file.
74598         * elf/tst-order-a3.c: New file.
74599         * elf/tst-order-a4.c: New file.
74600         * elf/tst-order-b1.c: New file.
74601         * elf/tst-order-b2.c: New file.
74602         * elf/tst-order-main.c: New file.
74603         New test case by George Gensure <werkt0@gmail.com>.
74605 2010-10-01  Andreas Schwab  <schwab@redhat.com>
74607         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74608         decoding ACE if AI_CANONIDN.
74610 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
74612         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
74614 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
74616         * version.h (RELEASE): Bump for 2.13 release.
74617         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
74619         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
74621         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
74622         MADV_NOHUGEPAGE.
74623         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
74624         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
74625         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74626         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74627         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74628         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74630         * posix/getconf.c: Update copyright year.
74631         * catgets/gencat.c: Likewise.
74632         * csu/version.c: Likewise.
74633         * debug/catchsegv.sh: Likewise.
74634         * debug/xtrace.sh: Likewise.
74635         * elf/ldconfig.c: Likewise.
74636         * elf/ldd.bash.in: Likewise.
74637         * elf/sprof.c (print_version): Likewise.
74638         * iconv/iconv_prog.c: Likewise.
74639         * iconv/iconvconfig.c: Likewise.
74640         * locale/programs/locale.c: Likewise.
74641         * locale/programs/localedef.c: Likewise.
74642         * malloc/memusage.sh: Likewise.
74643         * malloc/mtrace.pl: Likewise.
74644         * nscd/nscd.c (print_version): Likewise.
74645         * nss/getent.c: Likewise.
74647         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
74648         PF_CAIF, and PF_ALG.
74649         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74651 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
74653         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
74654         (modules-names): Use them.
74655         (ifunc-test-modules, ifunc-pie-tests): Define.
74656         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
74657         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
74658         (test-extras): Likewise.
74659         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
74660         $(compile-command.c).
74661         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
74662         (all-built-dso): Define.
74663         (check-textrel.out, check-execstack.out): Depend on it.
74665         * configure.in: Don't override --enable-multi-arch.
74667 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
74669         [BZ #6812]
74670         * nscd/hstcache.c (tryagain): Define.
74671         (cache_addhst): Return tryagain not notfound for temporary errors.
74672         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
74673         failed.
74675 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
74677         [BZ #10563]
74678         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
74679         to make the syscall.
74680         * sysdeps/unix/sysv/linux/setgroups.c: New file.
74682         [BZ #12378]
74683         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
74684         and fall back to matching as normal character if the string ends before
74685         the matching ']' is found.  This is what POSIX requires.
74686         * posix/testfnm.c: Adjust test result.
74687         * posix/globtest.sh: Adjust test result.  Add new test.
74688         * posix/tst-fnmatch.input: Likewise.
74689         * posix/tst-fnmatch2.c: Add new test.
74691 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
74693         * elf/Makefile (check-execstack): Revert last change.  Depend on
74694         check-execstack.h.
74695         (check-execstack.h): New target.
74696         (generated): Add check-execstack.h.
74697         * elf/check-execstack.c: Include "check-execstack.h".
74698         (main): Revert last change.
74699         (handle_file): Return zero if GNU_STACK is absent and
74700         DEFAULT_STACK_PERMS doesn't include PF_X.
74702 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
74704         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
74705         in child fails because the descriptor is already closed.
74706         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
74707         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
74708         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
74710         [BZ #12397]
74711         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
74712         syscall.
74714         [BZ #10484]
74715         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
74716         temporary buffer used to handle multi lookups locally.
74717         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
74719 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
74721         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
74722         loader is ld.so.
74724 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
74726         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
74727         alignment for SSE2.
74729 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
74731         [BZ #12394]
74732         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
74733         characters.  When rounding increased number of integer digits recompute
74734         number of groups.
74735         * stdio-common/tst-grouping.c: New file.
74736         * stdio-common/Makefile: Add rules to build and run tst-grouping.
74738 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
74740         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
74741         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
74743         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
74744         void.
74745         * bits/select.h: Likewise.
74747 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
74749         * po/ja.po: Update from translation team.
74751 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
74753         [BZ #11155]
74754         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
74755         implementation just like for lxstat, fxstatat, et al.
74757 2010-12-27  Jim Meyering  <meyering@redhat.com>
74759         [BZ #12348]
74760         * posix/regexec.c (build_trtable): Return failure indication upon
74761         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
74763 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
74765         [BZ #12201]
74766         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
74767         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
74768         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
74769         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
74771         [BZ #12207]
74772         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
74774         [BZ #12204]
74775         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
74776         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
74778 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
74780         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
74781         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
74782         script has SORT_BY_INIT_PRIORITY.
74783         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
74784         NO_CTORS_DTORS_SECTIONS is defined.
74785         * elf/soinit.c: Likewise.
74786         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
74787         NO_CTORS_DTORS_SECTIONS is defined.
74788         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
74789         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
74790         * sysdeps/sh/init-first.c: Likewise.
74791         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
74793 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
74795         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
74796         always use the slow path.
74798 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
74800         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
74801         similar rule which adds the sysdep directories to the header search in
74802         order to pick up the correct platform stackinfo.h.
74803         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
74804         perform test if it is, otherwise return successfully without testing.
74805         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
74806         DEFAULT_STACK_PERMS define in stackinfo.h.
74807         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
74808         defined in stackinfo.h.
74809         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
74810         DEFAULT_STACK_PERMS defined in stackinfo.h.
74811         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
74812         * sysdeps/ia64/stackinfo.h: Likewise.
74813         * sysdeps/s390/stackinfo.h: Likewise.
74814         * sysdeps/sh/stackinfo.h: Likewise.
74815         * sysdeps/sparc/stackinfo.h: Likewise.
74816         * sysdeps/x86_64/stackinfo.h: Likewise.
74817         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
74818         PF_X for powerpc64.  Retain PF_X for powerpc32.
74820 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
74822         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
74823         accurately.
74824         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
74825         GETDENTS_64BIT_ALIGNED.
74827 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
74829         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
74831 2010-12-10  Andreas Schwab  <schwab@redhat.com>
74833         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
74834         _GNU_SOURCE.
74836         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
74837         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
74838         Remove __restrict.
74839         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
74840         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
74842 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
74844         [BZ #11655]
74845         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
74846         are initialized.
74848 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
74850         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
74852 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
74854         * po/it.po: Update from translation team.
74856 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
74858         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
74859         unused codes.
74861 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
74863         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
74865 2010-11-24  Andreas Schwab  <schwab@redhat.com>
74867         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
74868         specially.
74869         (gaih_getanswer_slice): Likewise.
74871 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
74873         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
74875 2010-05-31  Petr Baudis  <pasky@suse.cz>
74877         [BZ #11149]
74878         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
74879         silently even in the chroot mode.
74881 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
74883         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
74884         last patch a bit.  Pretty printing
74886 2010-05-31  Petr Baudis <pasky@suse.cz>
74888         [BZ #10085]
74889         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
74890         initialization of skip_initgroups_dyn.
74892 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
74894         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
74895         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74897 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
74899         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
74901 2010-11-11  Andreas Schwab  <schwab@redhat.com>
74903         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
74904         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
74905         (tst-fnmatch-ENV): Set MALLOC_TRACE.
74906         ($(objpfx)tst-fnmatch-mem): New rule.
74907         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
74908         * posix/tst-fnmatch.c (main): Call mtrace.
74910 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
74912         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74913         Support Intel processor model 6 and model 0x2c.
74915 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
74917         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
74918           signed comparison.
74920 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
74922         [BZ #12205]
74923         * string/test-strncasecmp.c (check_result): New function.
74924         (do_one_test): Use it.
74925         (check1): New function.
74926         (test_main): Use it.
74927         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
74928         Support strcasecmp and strncasecmp.
74930 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
74932         [BZ #12194]
74933         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
74934         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74936 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
74938         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
74939         IFUNC support.
74940         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74941         memset-x86-64.
74942         * sysdeps/x86_64/multiarch/bzero.S: New file.
74943         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
74944         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
74945         * sysdeps/x86_64/multiarch/memset.S: New file.
74946         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
74947         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74948         Set bit_Prefer_SSE_for_memop for Intel processors.
74949         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
74950         Define.
74951         (index_Prefer_SSE_for_memop): Define.
74952         (HAS_PREFER_SSE_FOR_MEMOP): Define.
74954 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
74956         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
74957         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
74959 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
74961         [BZ #12191]
74962         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
74963         (__x86_64_raw_data_cache_size_half): Likewise.
74964         (__x86_64_raw_shared_cache_size): Likewise.
74965         (__x86_64_raw_shared_cache_size_half): Likewise.
74967         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
74968         (__x86_64_raw_data_cache_size_half): Likewise.
74969         (__x86_64_raw_shared_cache_size): Likewise.
74970         (__x86_64_raw_shared_cache_size_half): Likewise.
74971         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
74972         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
74973         and __x86_64_raw_shared_cache_size_half.  Round
74974         __x86_64_data_cache_size_half, __x86_64_data_cache_size
74975         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
74976         to multiple of 256 bytes.
74978 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
74980         [BZ #12167]
74981         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
74982         of inacessible symlinks.  Verify result of symlink before returning it.
74983         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
74984         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
74986 2010-10-28  Erich Ritz  <erichritz@gmail.com>
74988         * math/math.h (isinf): Fix typo in comment.
74990 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
74992         * po/da.po: Update from translation team.
74994 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
74996         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
74997         is added to the list.
74999 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75000             Ulrich Drepper  <drepper@gmail.com>
75002         * elf/dl-object.c (_dl_new_object): Don't append the new object to
75003         the global list here.  Move code to...
75004         (_dl_add_to_namespace_list): ...here.  New function.
75005         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
75006         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
75007         * elf/dl-load.c (lose): Don't remove the element from the list.
75008         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
75009         (_dl_map_object): Likewise.
75011 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
75013         [BZ #12159]
75014         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
75015         into all bytes of SSE register.
75016         Patch by Richard Li <richardpku@gmail.com>.
75018 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
75020         [BZ #12140]
75021         * malloc/malloc.c (_int_free): Fill correct number of bytes when
75022         perturbing.
75024 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
75026         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
75027         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
75028         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
75029         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
75030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
75031         submachine.
75032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
75034 2010-10-22  Andreas Schwab  <schwab@redhat.com>
75036         * include/dlfcn.h (__RTLD_SECURE): Define.
75037         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
75038         mode & __RTLD_SECURE instead.
75039         (open_path): Rename preloaded parameter to secure.
75040         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
75041         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
75042         * elf/dl-deps.c (openaux): Likewise.
75043         * elf/rtld.c (struct map_args): Remove is_preloaded.
75044         (map_doit): Don't use it.
75045         (dl_main): Likewise.
75046         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
75047         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
75049 2010-09-09  Andreas Schwab  <schwab@redhat.com>
75051         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
75052         (sysd-rules-targets): Remove duplicates.
75053         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
75054         rtld-%.$o dependency.
75056 2010-10-18  Andreas Schwab  <schwab@redhat.com>
75058         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
75059         _dl_map_object do it.
75061 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
75063         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
75064         fast fma builtins, define the macros in the C99 standard.
75065         (FP_FAST_FMAF): Likewise.
75066         (FP_FAST_FMAL): Likewise.
75067         * sysdeps/x86_64/bits/mathdef.h: Likewise.
75069         * bits/mathdef.h: Update copyright year.
75070         * sysdeps/powerpc/bits/mathdef.h: Likewise.
75072 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
75074         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
75075         builtins, define the macros in the C99 standard.
75076         (FP_FAST_FMAF): Likewise.
75077         (FP_FAST_FMAL): Likewise.
75078         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
75079         multiply/add.
75080         (FP_FAST_FMAF): Likewise.
75082 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
75084         [BZ #3268]
75085         * math/libm-test.inc (fma_test): Some new testcases.
75086         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
75087         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
75088         y and infinite z.  Do multiplication by C already in long double.
75089         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
75090         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
75091         y and infinite z.  Do bitwise or of inexact bit into u.d.
75092         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
75093         * sysdeps/i386/fpu/s_fmaf.S: Removed.
75094         * sysdeps/i386/fpu/s_fma.S: Removed.
75095         * sysdeps/i386/fpu/s_fmal.S: Removed.
75097 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
75099         [BZ #3268]
75100         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
75101         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
75102         computation is not scheduled after fetestexcept.  Fix value
75103         of minimum denormal long double.
75105 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
75107         [BZ #3268]
75108         * math/libm-test.inc (fma_test): Add some more tests.
75109         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
75110         correctly.
75112 2010-10-15  Andreas Schwab  <schwab@redhat.com>
75114         * scripts/data/localplt-s390-linux-gnu.data: New file.
75115         * scripts/data/localplt-s390x-linux-gnu.data: New file.
75117 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
75119         [BZ #3268]
75120         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
75121         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
75122         instead of dbl-64.
75123         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
75124         inlines.
75125         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
75126         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
75127         if one of x and y is very large and the other is subnormal.
75128         * sysdeps/s390/fpu/s_fmaf.c: New file.
75129         * sysdeps/s390/fpu/s_fma.c: New file.
75130         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
75131         * sysdeps/powerpc/fpu/s_fma.S: New file.
75132         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
75133         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
75134         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
75136 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
75138         [BZ #3268]
75139         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
75140         fma tests.
75141         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
75142         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
75143         * sysdeps/i386/i686/multiarch/s_fma.c: Include
75144         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
75145         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
75146         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
75147         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
75149 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
75151         [BZ #12078]
75152         * posix/regcomp.c (parse_branch): One more memory leak plugged.
75153         * posix/bug-regex31.input: Add test case.
75155 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
75157         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
75158         * posix/bug-regex31.input: New file.
75160         [BZ #12078]
75161         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
75162         (parse_sub_exp): Fix last change, use postorder.
75164         * posix/bug-regex31.c: New file.
75165         * posix/Makefile: Add rules to build and run bug-regex31.
75167         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
75169         [BZ #12078]
75170         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
75172         [BZ #12108]
75173         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
75174         to have entries in sys_siglist.
75176         [BZ #12093]
75177         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
75178         be NULL.
75180 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
75182         [BZ #3268]
75183         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
75184         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
75185         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
75186         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
75187         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
75188         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
75189         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
75190         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
75191         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
75192         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
75193         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
75194         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
75195         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
75196         * math/ftestexcept.c (fetestexcept): Likewise.
75197         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
75198         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
75199         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
75200         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
75201         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
75202         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
75203         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
75205 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
75207         [BZ #12107]
75208         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
75209         newline.
75211 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
75213         * string/bug-strstr1.c: New file.
75214         * string/Makefile: Add rules to build and run bug-strstr1.
75216 2010-10-05  Eric Blake  <eblake@redhat.com>
75218         [BZ #12092]
75219         * string/str-two-way.h (two_way_long_needle): Always clear memory
75220         when skipping input due to the shift table.
75222 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
75224         [BZ #12005]
75225         * malloc/mcheck.c: Handle large requests.
75227         [BZ #12077]
75228         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
75229         for strncmp and strncasecmp.
75230         * string/stratcliff.c: Add tests for strcmp and strncmp.
75231         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
75233 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75235         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
75236         __set_fpscr.
75238 2010-09-30  Andreas Jaeger  <aj@suse.de>
75240         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
75241         (CGROUP_SUPER_MAGIC): Define.
75242         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75243         Handle btrfs and cgroup file systems.
75244         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
75245         Likewise.
75247 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
75249         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
75250         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
75252 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75254         [BZ #12067]
75255         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
75256         trying to locate the ELF header.
75258 2010-09-27  Andreas Schwab  <schwab@redhat.com>
75260         [BZ #11611]
75261         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
75262         Mask out sign-bit copies when constructing f_fsid.
75264 2010-09-24  Petr Baudis <pasky@suse.cz>
75266         * debug/stack_chk_fail_local.c: Add missing licence exception.
75267         * debug/warning-nop.c: Likewise.
75269 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
75271         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
75272         implementing getdents64 using getdents syscall, set d_type if
75273         __ASSUME_GETDENTS32_D_TYPE.
75275 2010-09-16  Andreas Schwab  <schwab@redhat.com>
75277         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
75278         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
75280 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
75282         [BZ #12037]
75283         * posix/unistd.h: Undo change of feature selection for ftruncate from
75284         2010-01-11.
75286 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
75288         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
75289         detection.
75291 2010-09-20  Andreas Schwab  <schwab@redhat.com>
75293         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
75294         fanotify_mark.
75295         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
75297 2010-09-14  Andreas Schwab  <schwab@redhat.com>
75299         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
75300         variables after CHECK_SP call.
75301         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
75303 2010-09-13  Andreas Schwab  <schwab@redhat.com>
75304             Ulrich Drepper  <drepper@redhat.com>
75306         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
75307         re-relocationg ld.so.
75308         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
75309         _dl_init_paths call.
75310         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
75311         here anymore.
75313 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
75315         * resolv/res_init.c (__res_vinit): Count the default server we added.
75317 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
75318             Ulrich Drepper  <drepper@redhat.com>
75320         [BZ #11968]
75321         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75322         (____longjmp_chk): Use %ebx for saving value across system call.
75323         Add unwind info.
75325 2010-09-06  Andreas Schwab  <schwab@redhat.com>
75327         * manual/Makefile: Don't mix pattern rules with normal rules.
75329 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
75331         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
75332         operation.
75333         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
75334         * libio/iofopncook.c (_IO_cookie_init): Likewise.
75335         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
75336         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
75337         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75338         Likewise.
75340 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
75342         [BZ #11979]
75343         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
75344         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
75346 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
75348         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
75349         * sysdeps/x86_64/addmul_1.S: Likewise.
75350         * sysdeps/x86_64/lshift.S: Likewise.
75351         * sysdeps/x86_64/mul_1.S: Likewise.
75352         * sysdeps/x86_64/rshift.S: Likewise.
75353         * sysdeps/x86_64/sub_n.S: Likewise.
75354         * sysdeps/x86_64/submul_1.S: Likewise.
75356 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75358         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
75359         Define __sched_param instead of SCHED_* and sched_param when
75360         <bits/sched.h> is included with __need_schedparam defined.
75361         * bits/sched.h [__need_schedparam]
75362         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
75363         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
75364         (__defined_schedparam): Define to 1.
75365         (__sched_param): New structure, identical to sched_param.
75366         (__need_schedparam): Undefine.
75368 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
75370         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
75371         (epoll_create1): Declare.
75373         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
75375 2010-08-31  Andreas Schwab  <schwab@redhat.com>
75377         [BZ #7066]
75378         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
75379         shifting retval into place.
75381 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
75383         * nis/rpcsvc/nis.h: Update copyright notice.
75384         * nis/rpcsvc/nis.x: Likewise.
75385         * nis/rpcsvc/nis_callback.h: Likewise.
75386         * nis/rpcsvc/nis_callback.x: Likewise.
75387         * nis/rpcsvc/nis_object.x: Likewise.
75388         * nis/rpcsvc/nis_tags.h: Likewise.
75389         * nis/rpcsvc/yp.h: Likewise.
75390         * nis/rpcsvc/yp.x: Likewise.
75391         * nis/rpcsvc/ypupd.h: Likewise.
75392         * nis/yp_xdr.c: Likewise.
75393         * nis/ypupdate_xdr.c: Likewise.
75395         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
75396         mainly the body of pmap_getport.  Add parameters to specify timeouts.
75397         (pmap_getport): Use __libc_rpc_getport.
75398         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
75399         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
75400         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
75402 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
75404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
75405         fanotify_mark.
75407 2010-08-27  Roland McGrath  <roland@redhat.com>
75409         * sysdeps/i386/i686/multiarch/Makefile
75410         (CFLAGS-varshift.c): New variable.
75412 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
75414         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
75415         * sysdeps/i386/i686/multiarch/varshift.c: New file.
75417         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
75419         * sysdeps/x86_64/strlen.S: Minimal code improvement.
75421 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
75423         * sysdeps/x86_64/strlen.S: Unroll the loop.
75424         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75425         strlen-sse2 strlen-sse2-bsf.
75426         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
75427         __strlen_no_bsf if bit_Slow_BSF is set.
75428         (__strlen_sse42): Removed.
75429         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
75430         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
75432 2010-08-25  Roland McGrath  <roland@redhat.com>
75434         * sysdeps/x86_64/multiarch/varshift.S: File removed.
75435         * sysdeps/x86_64/multiarch/varshift.c: New file.
75436         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
75437         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
75438         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
75439         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
75441 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
75443         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75444         strlen-sse2 strlen-sse2-bsf.
75445         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
75446         __strlen_sse2_bsf if bit_Slow_BSF is unset.
75447         (__strlen_sse2): Removed.
75448         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
75449         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
75450         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
75451         bit_Slow_BSF for Atom.
75452         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
75453         (index_Slow_BSF): Define.
75454         (HAS_SLOW_BSF): Define.
75456 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
75458         [BZ #10851]
75459         * resolv/res_init.c (__res_vinit): When no server address at all
75460         is given default to loopback.
75462 2010-08-24  Roland McGrath  <roland@redhat.com>
75464         * configure.in: Remove config-name.h generation.
75465         * configure: Regenerated.
75466         * config-name.in: File removed.
75467         * scripts/config-uname.sh: New file.
75468         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
75469         ($(objdir)config-name.h): New target.
75471         * sunrpc/rpc_parse.h: Avoid nested comment.
75473 2010-08-24  Richard Henderson  <rth@redhat.com>
75474             Ulrich Drepper  <drepper@redhat.com>
75475             H.J. Lu  <hongjiu.lu@intel.com>
75477         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
75478         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
75479         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
75480         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
75481         _mm_alignr_epi8 with _mm_loadu_si128.
75482         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
75483         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
75484         (__m128i_shift_right): Removed.
75485         * sysdeps/i386/i686/multiarch/varshift.h: New file.
75486         * sysdeps/i386/i686/multiarch/varshift.S: New file.
75487         * sysdeps/x86_64/multiarch/varshift.h: New file.
75488         * sysdeps/x86_64/multiarch/varshift.S: New file.
75490 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
75492         * configure.in: Move assembler checks to before sysdep dir checking.
75494 2010-08-20  Petr Baudis  <pasky@suse.cz>
75496         * LICENSES: Sync the sunrpc license.
75498 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
75500         * sunrpc/auth_des.c: Update copyright notice once again.
75501         * sunrpc/auth_none.c: Likewise.
75502         * sunrpc/auth_unix.c: Likewise.
75503         * sunrpc/authdes_prot.c: Likewise.
75504         * sunrpc/authuxprot.c: Likewise.
75505         * sunrpc/bindrsvprt.c: Likewise.
75506         * sunrpc/clnt_gen.c: Likewise.
75507         * sunrpc/clnt_perr.c: Likewise.
75508         * sunrpc/clnt_raw.c: Likewise.
75509         * sunrpc/clnt_simp.c: Likewise.
75510         * sunrpc/clnt_tcp.c: Likewise.
75511         * sunrpc/clnt_udp.c: Likewise.
75512         * sunrpc/clnt_unix.c: Likewise.
75513         * sunrpc/des_crypt.c: Likewise.
75514         * sunrpc/des_soft.c: Likewise.
75515         * sunrpc/get_myaddr.c: Likewise.
75516         * sunrpc/getrpcport.c: Likewise.
75517         * sunrpc/key_call.c: Likewise.
75518         * sunrpc/key_prot.c: Likewise.
75519         * sunrpc/openchild.c: Likewise.
75520         * sunrpc/pm_getmaps.c: Likewise.
75521         * sunrpc/pm_getport.c: Likewise.
75522         * sunrpc/pmap_clnt.c: Likewise.
75523         * sunrpc/pmap_prot.c: Likewise.
75524         * sunrpc/pmap_prot2.c: Likewise.
75525         * sunrpc/pmap_rmt.c: Likewise.
75526         * sunrpc/rpc/auth.h: Likewise.
75527         * sunrpc/rpc/auth_unix.h: Likewise.
75528         * sunrpc/rpc/clnt.h: Likewise.
75529         * sunrpc/rpc/des_crypt.h: Likewise.
75530         * sunrpc/rpc/key_prot.h: Likewise.
75531         * sunrpc/rpc/netdb.h: Likewise.
75532         * sunrpc/rpc/pmap_clnt.h: Likewise.
75533         * sunrpc/rpc/pmap_prot.h: Likewise.
75534         * sunrpc/rpc/pmap_rmt.h: Likewise.
75535         * sunrpc/rpc/rpc.h: Likewise.
75536         * sunrpc/rpc/rpc_des.h: Likewise.
75537         * sunrpc/rpc/rpc_msg.h: Likewise.
75538         * sunrpc/rpc/svc.h: Likewise.
75539         * sunrpc/rpc/svc_auth.h: Likewise.
75540         * sunrpc/rpc/types.h: Likewise.
75541         * sunrpc/rpc/xdr.h: Likewise.
75542         * sunrpc/rpc_clntout.c: Likewise.
75543         * sunrpc/rpc_cmsg.c: Likewise.
75544         * sunrpc/rpc_common.c: Likewise.
75545         * sunrpc/rpc_cout.c: Likewise.
75546         * sunrpc/rpc_dtable.c: Likewise.
75547         * sunrpc/rpc_hout.c: Likewise.
75548         * sunrpc/rpc_main.c: Likewise.
75549         * sunrpc/rpc_parse.c: Likewise.
75550         * sunrpc/rpc_parse.h: Likewise.
75551         * sunrpc/rpc_prot.c: Likewise.
75552         * sunrpc/rpc_sample.c: Likewise.
75553         * sunrpc/rpc_scan.c: Likewise.
75554         * sunrpc/rpc_scan.h: Likewise.
75555         * sunrpc/rpc_svcout.c: Likewise.
75556         * sunrpc/rpc_tblout.c: Likewise.
75557         * sunrpc/rpc_util.c: Likewise.
75558         * sunrpc/rpc_util.h: Likewise.
75559         * sunrpc/rpcinfo.c: Likewise.
75560         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
75561         * sunrpc/rpcsvc/key_prot.x: Likewise.
75562         * sunrpc/rpcsvc/klm_prot.x: Likewise.
75563         * sunrpc/rpcsvc/mount.x: Likewise.
75564         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
75565         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
75566         * sunrpc/rpcsvc/rex.x: Likewise.
75567         * sunrpc/rpcsvc/rstat.x: Likewise.
75568         * sunrpc/rpcsvc/rusers.x: Likewise.
75569         * sunrpc/rpcsvc/sm_inter.x: Likewise.
75570         * sunrpc/rpcsvc/spray.x: Likewise.
75571         * sunrpc/rpcsvc/yppasswd.x: Likewise.
75572         * sunrpc/rtime.c: Likewise.
75573         * sunrpc/svc.c: Likewise.
75574         * sunrpc/svc_auth.c: Likewise.
75575         * sunrpc/svc_authux.c: Likewise.
75576         * sunrpc/svc_raw.c: Likewise.
75577         * sunrpc/svc_run.c: Likewise.
75578         * sunrpc/svc_simple.c: Likewise.
75579         * sunrpc/svc_tcp.c: Likewise.
75580         * sunrpc/svc_udp.c: Likewise.
75581         * sunrpc/svc_unix.c: Likewise.
75582         * sunrpc/svcauth_des.c: Likewise.
75583         * sunrpc/xcrypt.c: Likewise.
75584         * sunrpc/xdr.c: Likewise.
75585         * sunrpc/xdr_array.c: Likewise.
75586         * sunrpc/xdr_float.c: Likewise.
75587         * sunrpc/xdr_mem.c: Likewise.
75588         * sunrpc/xdr_rec.c: Likewise.
75589         * sunrpc/xdr_ref.c: Likewise.
75590         * sunrpc/xdr_sizeof.c: Likewise.
75591         * sunrpc/xdr_stdio.c: Likewise.
75593         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
75594         handling.
75596 2010-08-19  Andreas Schwab  <schwab@redhat.com>
75598         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
75600 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
75602         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
75603         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
75604         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
75605         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
75606         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
75607         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
75608         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
75609         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
75610         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
75611         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
75612         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
75613         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
75614         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
75615         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
75617 2010-07-26  Anton Blanchard  <anton@samba.org>
75619         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
75620         * malloc/arena.c (heap_trim): Likewise.
75622 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
75624         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
75625         here.  Not...
75626         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
75627         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
75629 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
75631         * sysdeps/i386/elf/Makefile: New file.
75633 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75635         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
75636         from fanotify_init.
75637         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
75638         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75640 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
75642         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
75643         of strncasecmp_l.
75644         * sysdeps/multiarch/strcmp.S: Likewise.
75646 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
75648         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
75649         strncase_l-nonascii.
75650         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
75651         Add strncase_l-ssse3.
75652         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
75653         * sysdeps/x86_64/strcmp.S: Likewise.
75654         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
75655         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
75656         * sysdeps/x86_64/strncase.S: New file.
75657         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
75658         * sysdeps/x86_64/strncase_l.S: New file.
75659         * string/Makefile (strop-tests): Add strncasecmp.
75660         * string/test-strncasecmp.c: New file.
75662         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
75663         warning.
75665         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
75666         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
75668 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75670         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
75672 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
75674         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
75675         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
75676         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
75678 2010-05-01  Alan Modra  <amodra@gmail.com>
75680         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
75681         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
75682         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
75683         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
75684         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
75685         tidying.  Don't tail-call __sigjmp_save for static lib.
75686         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
75687         save location.
75688         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
75689         (CALL_MCOUNT): Add eh info, and nop after bl.
75690         (TAIL_CALL_SYSCALL_ERROR): New macro.
75691         (PSEUDO_RET): Use it.
75692         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
75693         Correct save location of integer regs and cr.
75694         (_dl_profile_resolve): Correct cr save location.  Delete nops
75695         after bl when SHARED.  Reduce cfi size a little by better
75696         placement of cfi directives.
75697         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
75698         make a stack frame.  Instead use parm save area as a temp.
75699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
75700         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
75701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
75702         Don't make a stack frame for parent, use parm save area.
75703         Increase child stack frame to 112 bytes.  Don't save unused reg,
75704         and adjust reg usage.  Set up cfi on error recovery and
75705         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
75706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
75707         (__makecontext): Add dummy nop after jump to exit.
75708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
75709         Use correct parm save area and cr save, reduce stack frame.
75710         Correct cfi for possible PSEUDO_RET frame setup.
75711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
75712         Branch to local label emitted by PSEUDO_RET rather than
75713         __syscall_error.
75715 2010-08-12  Andreas Schwab  <schwab@redhat.com>
75717         [BZ #11904]
75718         * locale/programs/locale.c (print_assignment): New function.
75719         (show_locale_vars): Use it.
75721 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
75723         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
75724         field.
75725         (struct statfs64): Likewise.
75726         (_STATFS_F_FLAGS): Define.
75727         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
75728         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75729         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
75730         (ST_VALID): Define locally.
75731         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
75732         __statvfs_getflags, use the provided value.
75733         * sysdeps/unix/sysv/linux/kernel-features.h: Define
75734         __ASSUME_STATFS_F_FLAGS.
75736         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
75738         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
75739         Add sys/fanotify.h.
75740         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
75741         fanotify_mask for GLIBC_2.13.
75742         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
75743         fanotify_init and fanotify_mark.
75744         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75745         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
75747         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
75748         Add prlimit.
75749         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
75750         prlimit64 for GLIBC_2.13.
75751         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
75752         prlimit64.
75753         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
75754         syscall.
75755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
75756         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
75757         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
75758         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
75759         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
75760         add prlimit alias.
75761         * sysdeps/unix/sysv/linux/prlimit.c: New file.
75763         [BZ #11903]
75764         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
75765         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
75767         * nss/Makefile: Add rules to build and run tst-nss-test1.
75768         * shlib-versions: Add entry for libnss_test1.
75769         * nss/nss_test1.c: New file.
75770         * nss/tst-nss-test1.c: New file.
75772         * nss/nsswitch.c (__nss_database_custom): Define new variable.
75773         (__nss_configure_lookup): Set appropriate entry in
75774         __nss_configure_lookup to true.
75775         * nss/nsswitch.h: Define enum with indeces of databases in
75776         databases and __nss_database_custom arrays.  Declare
75777         __nss_database_custom.
75778         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
75779         to avoid using nscd when custom rules are installed.
75780         * nss/getXXbyYY_r.c: Likewise.
75781         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
75783         * nss/nss_files/files-parse.c: Whitespace fixes.
75785 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
75787         [BZ #11883]
75788         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
75789         * posix/fnmatch_loop.c: Likewise.
75791 2010-07-17  Andi Kleen  <ak@linux.intel.com>
75793         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
75794         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
75795         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
75796         * Versions.def [GLIBC_2.13]: Add.
75798 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
75800         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
75801         Also fail if tpwd after pwuid call is NULL.
75803 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75805         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
75806         when converting to ms.
75808 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75810         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
75811         EOPNOTSUPP errors with ENOTTY.
75812         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
75813         EOPNOTSUPP errors with ENOTTY.
75815 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
75817         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
75818         Add strcasecmp_l-ssse3.
75819         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
75820         strcasecmp.
75821         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
75822         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
75823         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
75825 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
75827         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
75829         * string/Makefile (strop-tests): Add strcasecmp.
75830         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
75831         strcasecmp_l-nonascii.
75832         (gen-as-const-headers): Add locale-defines.sym.
75833         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
75834         * sysdeps/x86_64/strcasecmp.S: New file.
75835         * sysdeps/x86_64/strcasecmp_l.S: New file.
75836         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
75837         * sysdeps/x86_64/locale-defines.sym: New file.
75838         * string/test-strcasecmp.c: New file.
75840         * string/test-strcasestr.c: Test both ends of the range of characters.
75841         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
75843 2010-07-29  Roland McGrath  <roland@redhat.com>
75845         [BZ #11856]
75846         * manual/locale.texi (Yes-or-No Questions): Fix example code.
75848 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
75850         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
75851         for ld.so.
75853 2010-07-27  Andreas Schwab  <schwab@redhat.com>
75855         * manual/memory.texi (Malloc Tunable Parameters): Document
75856         M_PERTURB.
75858 2010-07-26  Roland McGrath  <roland@redhat.com>
75860         [BZ #11840]
75861         * configure.in (-fgnu89-inline check): Set and substitute
75862         gnu89_inline, not libc_cv_gnu89_inline.
75863         * configure: Regenerated.
75864         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
75866 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
75868         * string/test-strnlen.c: New file.
75869         * string/Makefile (strop-tests): Add strnlen.
75870         * string/tester.c (test_strnlen): Add a few more test cases.
75871         * string/tst-strlen.c: Better error reporting.
75873         * sysdeps/x86_64/strnlen.S: New file.
75875 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
75877         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
75878         lower-latency instructions.
75880 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
75882         * string/test-strcasestr.c: New file.
75883         * string/test-strstr.c: New file.
75884         * string/Makefile (strop-tests): Add strstr and strcasestr.
75885         * string/str-two-way.h: Don't undefine MAX.
75886         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
75888 2010-07-21  Andreas Schwab  <schwab@redhat.com>
75890         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75891         strcasestr-nonascii.
75892         (CFLAGS-strcasestr-nonascii.c): Define.
75893         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
75894         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
75895         Remove unused attribute.
75897 2010-07-20  Roland McGrath  <roland@redhat.com>
75899         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
75900         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
75901         ld.so.cache was broken.  With it, there is no way to disable dsocaps
75902         like LD_HWCAP_MASK can disable hwcaps.
75904 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
75906         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
75908 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
75910         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
75911         call in strcasestr.
75912         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
75913         __strcasestr_sse42_nonascii.
75914         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
75915         strcasestr-nonascii.c.
75916         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
75918 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
75920         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
75921         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
75922         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
75923         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
75925 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
75927         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
75928         fcntl.
75930 2010-07-06  Andreas Schwab  <schwab@redhat.com>
75932         [BZ #11577]
75933         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
75934         dl_signal_cerror.
75936 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
75938         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
75939         _PC_PIPE_BUF using F_GETPIPE_SZ.
75941 2010-07-05  Roland McGrath  <roland@redhat.com>
75943         * manual/arith.texi (Rounding Functions): Fix rint description
75944         implicit in round description.
75946 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
75948         * elf/Makefile: Fix linking for a few tests to make recent linker
75949         happy.
75951 2010-06-30  Andreas Schwab  <schwab@redhat.com>
75953         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
75954         $(common-objpfx)libc_nonshared.a.
75956 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
75958         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
75959         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
75960         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
75961         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
75962         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
75963         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
75964         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
75965         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
75966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
75967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
75968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
75969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
75970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
75971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
75972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
75973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
75974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
75975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
75976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
75977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
75978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
75979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
75980         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
75981         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
75982         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
75983         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
75984         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
75985         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
75986         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
75987         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
75988         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
75989         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
75990         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
75991         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
75992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
75993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
75994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
75995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
75996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
75997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
75998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
75999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
76000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
76001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
76002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
76003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
76004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
76005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
76007 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
76009         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
76010         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
76011         * string/memmove.c (memmove): Renamed to ...
76012         (MEMMOVE): ...this.  Default to memmove.
76013         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
76014         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
76015         (END_CHK): Define.
76016         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76017         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
76018         mempcpy-ssse3-back memmove-ssse3-back.
76019         * sysdeps/x86_64/multiarch/bcopy.S: New file .
76020         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
76021         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
76022         * sysdeps/x86_64/multiarch/memcpy.S: New file.
76023         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
76024         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
76025         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
76026         * sysdeps/x86_64/multiarch/memmove.c: New file.
76027         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
76028         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
76029         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
76030         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
76031         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
76032         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
76033         Define.
76034         (index_Fast_Copy_Backward): Define.
76035         (HAS_ARCH_FEATURE): Define.
76036         (HAS_FAST_REP_STRING): Define.
76037         (HAS_FAST_COPY_BACKWARD): Define.
76039 2010-06-21  Andreas Schwab  <schwab@redhat.com>
76041         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76042         Restore proper fallback handling.
76044 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
76046         [BZ #11701]
76047         * posix/group_member.c (__group_member): Correct checking loop.
76049         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
76050         OOM in getpwuid_r correctly.  Return error number when the caller
76051         should return, otherwise -1.
76052         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
76053         call returning > 0 value.
76054         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
76056 2010-06-07  Andreas Schwab  <schwab@redhat.com>
76058         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
76059         libc_nonshared.a from targets in modules-names.
76061 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
76063         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
76064         requires it.
76066 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
76068         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
76069         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
76070         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
76071         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
76073 2010-06-02  Andreas Schwab  <schwab@redhat.com>
76075         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
76077 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
76079         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
76080         and F_GETPIPE_SZ.
76081         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
76082         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76083         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76084         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76085         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76086         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76088 2010-06-14  Roland McGrath  <roland@redhat.com>
76090         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
76092 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
76094         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
76095         __REDIRECT followed by __THROW.
76096         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
76097         * posix/getopt.h (getopt): Likewise.
76099 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
76101         * hurd/lookup-at.c (__file_name_lookup_at): Accept
76102         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
76103         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
76104         in AT_FLAGS.
76105         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
76106         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
76108 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
76110         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
76112 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
76114         [BZ #11640]
76115         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76116         Properly check family and model.
76118 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
76120         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
76122 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
76124         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
76126 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
76128         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
76129         symbol reference.
76131 2010-05-19  Andreas Schwab  <schwab@redhat.com>
76133         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
76134         symbol reference.
76136 2010-05-21  Andreas Schwab  <schwab@redhat.com>
76138         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
76139         and internal_recvmmsg.
76140         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
76141         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
76142         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
76143         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
76145         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
76146         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
76147         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
76149 2010-05-20  Andreas Schwab  <schwab@redhat.com>
76151         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
76153 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
76155         POWER7 optimizations.
76156         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
76157         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
76159 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
76161         * version.h: Update for 2.13 development version.
76163 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
76165         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
76166         exceptions.  Return 0.
76168 2010-05-07  Roland McGrath  <roland@redhat.com>
76170         * elf/ldconfig.c (main): Add a const.
76172 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
76174         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
76175         (args_options): Add no-idn option.
76176         (ahosts_keys_int): Add idn_flags to ai_flags.
76177         (parse_option): Handle 'i' option to clear idn_flags.
76179         * malloc/malloc.c (_int_free): Possible race in the most recently
76180         added check.  Only act on the data if no current modification
76181         happened.
76183 See ChangeLog.17 for earlier changes.